Template:Clickable button: Difference between revisions

From TwentyOneWiki
Jump to navigation Jump to search
Template:Clickable button>Krinkle
(support named parameter)
 
m (1 revision imported)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-progressive | white = | blue = mw-ui-progressive}}" role="button" aria-disabled="false">{{{text|{{{1|Button text}}}}}}</span><noinclude>{{Documentation}}
<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-progressive | white = | blue = mw-ui-progressive}}" role="button" aria-disabled="false">{{{text|{{{1|Button text}}}}}}</span><noinclude>{{Documentation}}
</noinclude>
<templatedata>
{
"params": {
"1": {},
"color": {},
"text": {},
"link": {
"type": "wiki-page-name"
}
}
}
</templatedata></noinclude>

Latest revision as of 20:28, 31 January 2024

Button textLua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. <templatedata> { "params": { "1": {}, "color": {}, "text": {}, "link": { "type": "wiki-page-name" } } } </templatedata>