Pojdi na vsebino

Predloga:CTA-gumb/en/doc

Iz Center Rog
Redakcija dne 14:35, 26. avgust 2026 od Lucija (pogovor | prispevki) (nova stran z vsebino: »<div style="margin-bottom:16px;"> <span style=" background:#2c3e50; color:white; padding:6px 12px; border-radius:20px; font-size:13px; font-weight:bold; ">CTA Button</span>  • Back to templates</div> <div style="margin:8px 0 16px 0;"> Call to Action button that directs users to another wiki page. </div> <div style="display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap;"> <!-- EXAMPLE --> <div style="flex:1;min-width:280px;pa...«)
(razl) ← Starejša redakcija | prikaži trenutno redakcijo (razl) | Novejša redakcija → (razl)
CTA Button  • Back to templates

Call to Action button that directs users to another wiki page.

Usage example

{{CTA-gumb/en
|url=Open-source projects
|text=Explore all projects
}}

Parameters

Parameter Description Required
url Target wiki page Yes
text Button text Yes

Notes

  • If the url parameter is not specified, the button links to Main page.
  • If the text parameter is not specified, the button displays Open.
  • The template is used as a final Call to Action on project and material articles.

Template hierarchy

Template:Projekt-članek/en
└─ Template:CTA-gumb/en — final call to action

Template:Material-članek/en
└─ Template:CTA-gumb/en — final call to action


Visual Editor

This template includes TemplateData and supports insertion through the Visual Editor.