Template:Clickable button 2: Difference between revisions

m
move the categorization to the end to make sure it isn't interfered with by anything else
(Uploading screenshot to commons in a moment and posting to MediaWiki_talk:Common.js)
m (move the categorization to the end to make sure it isn't interfered with by anything else)
Line 13:
|{{{1}}}
|{{{url}}}
}}{{#switch:{{lc:{{{class}}}}}|ui-button-green|ui-button-blue|ui-button-red=[[Category:Pages using old style ui-button-color]]|#default=}}</span>|{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}</span>]
}}]</span>{{#switch:{{lc:{{{class}}}}}|ui-button-green|ui-button-blue|ui-button-red=[[Category:Pages using old style ui-button-color]]|#default=}}<noinclude>
}}]</span><noinclude>
{{Documentation}}
</noinclude>