Pojdi na vsebino

Predloga:CTA-gumb/en: Razlika med redakcijama

Iz Center Rog
nova stran z vsebino: »<div style=" margin:16px 0; text-align:center; ">[[{{{url|Glavna stran}}}| <span style=" display:inline-block; background:#2c3e50; color:white; padding:10px 18px; border-radius:8px; font-weight:600; font-size:14px; "> {{{text|Open}}} </span> ]] </div>«
 
Brez povzetka urejanja
 
(10 vmesnih redakcij istega uporabnika ni prikazanih)
Vrstica 11: Vrstica 11:
font-weight:600;
font-weight:600;
font-size:14px;
font-size:14px;
">
">{{{text|Open}}}</span>]]
{{{text|Open}}}
</span>
]]
</div>
</div>
<noinclude>
----
'''Documentation:''' [[Template:CTA-gumb/en/doc|View template documentation]]
<templatedata>
{
"params": {
"url": {
"label": "Target page",
"description": "Name of the wiki page the button links to.",
"type": "wiki-page-name",
"required": true
},
"text": {
"label": "Button text",
"description": "Text displayed on the button.",
"type": "string",
"required": true
}
},
"description": "Call to Action button linking to another wiki page."
}
</templatedata>
</noinclude>

Trenutna redakcija s časom 15:23, 31. avgust 2026



Documentation: View template documentation

Call to Action button linking to another wiki page.

Parametri predloge[Urejanje podatkov predloge]

ParameterOpisVrstaStanje
Target pageurl

Name of the wiki page the button links to.

Ime stranizahtevano
Button texttext

Text displayed on the button.

Nizzahtevano