Template:Clickable button: Difference between revisions

From TwentyOneWiki
Jump to navigation Jump to search
No edit summary
No edit summary
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">{{{target title|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": "url"
}
}
}
</templatedata></noinclude>

Revision as of 23:38, 23 November 2023

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": "url" } } } </templatedata>