Template:Button View history

imported>Kentsmith9
m (1 revision)
imported>Wottem
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="nowrap" title="This is not a clickable button; it illustrates the button one should find." style="padding:{{{padTB|.2em}}} {{{padLR|.6em}}}; border:1px solid; border-color:#AAA #555 #555 #AAA; {{border-radius|3px}} background-color: {{{bgcolor|#F2F2F2}}}; {{linear-gradient|top|#FCFCFC, #E0E0E0}} {{#ifeq:{{{format|}}}|bold|font-weight: bold;}} {{{style|}}}">{{{text|{{{1|the button}}}}}}</span><noinclude>
<noinclude>
{{documentation}}
Template for using stylezed buttons for interanl links. Sytax:
<pre>
{{Button|Page name|Button link text}}
</pre>
Result:
 
{{Button|Main page|Link to main page}}
 
</noinclude><includeonly><span class="cta-button">[[{{{1|}}}|{{{1|{{{2|Click here}}}}}}]]</span></includeonly>
<noinclude>
<templatedata>
{
"params": {
"1": {
"label": "Page name",
"description": "The name of the page that will be linked",
"type": "wiki-page-name",
"required": true,
"suggested": true
},
"2": {
"label": "Link text (optional)",
"type": "string",
"suggested": true
}
},
"description": "Template for adding button"
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 09:26, 11 January 2022

Template for using stylezed buttons for interanl links. Sytax:

{{Button|Page name|Button link text}}

Result:

Main page



Template for adding button

Template parameters

ParameterDescriptionTypeStatus
Page name1

The name of the page that will be linked

Page namerequired
Link text (optional)2

no description

Stringsuggested