Difference between revisions of "Template:Button"

1,991 bytes added ,  16:38, March 2, 2020
using mariowiki design for flexibility because im tired of these red links for gba buttons
(using mariowiki design for flexibility because im tired of these red links for gba buttons)
Line 1: Line 1:
<includeonly>[[File:Button-{{{1}}}-{{{2}}}{{#if:{{{3|}}}|-{{{3}}}}}.svg|{{{s|20px}}}|{{{2}}}|link=]]</includeonly><noinclude>
<span style=cursor:help>{{#switch:{{lc:{{{1}}}}}-{{lc:{{{2}}}}}
|n64-a=<span title="A Button">[[File:Button-N64-A.svg|{{{size|13x13px}}}|link=|A Button]]</span>
|n64-b=<span title="B Button">[[File:Button-N64-B.svg|{{{size|13x13px}}}|link=|B Button]]</span>
|n64-l=<span title="L Button">[[File:Button-N64-L.svg|{{{size|x16px}}}|link=|L Button]]</span>
|n64-r=<span title="R Button">[[File:Button-N64-R.svg|{{{size|x16px}}}|link=|R Button]]</span>
|n64-z=<span title="Z Button">[[File:Button-N64-Z.svg|{{{size|12x12px}}}|link=|Z Button]]</span>
|n64-stick=<span title="Control Stick">[[File:Button-N64-Control Stick.svg|{{{size|x16px}}}|link=|Control Stick]]</span>
|n64-cup=<span title="Camera up Button">[[File:Button-N64-C-Up.svg|{{{size|13x13px}}}|link=|Camera up Button]]</span>
|n64-cright=<span title="Camera right Button">[[File:Button-N64-C-Right.svg|{{{size|13x13px}}}|link=|Camera right Button]]</span>
|n64-cdown=<span title="Camera down Button">[[File:Button-N64-C-Down.svg|{{{size|13x13px}}}|link=|Camera down Button]]</span>
|n64-cleft=<span title="Camera left Button">[[File:Button-N64-C-Left.svg|{{{size|13x13px}}}|link=|Camera left Button]]</span>
|n64-start=<span title="START Button">[[File:Button-N64-Start.svg|{{{size|16x13px}}}|link=|START Button]]</span>
|gba-a=<span title="A Button">[[File:GBA A.png|{{{size|16x16px}}}|link=|A Button]]</span>
|gba-b=<span title="B Button">[[File:GBA B.png|{{{size|16x16px}}}|link=|B Button]]</span>
|gba-start=<span title="Start Button">[[File:GBA Start.PNG|{{{size|x21px}}}|link=|Start Button]]</span>
|gba-select=<span title="Select Button">[[File:GBA Select.PNG|{{{size|x24px}}}|link=|Select Button]]</span>
|gba-pad=<span title="+Control Pad">[[File:GBA Pad.png|{{{size|16x16px}}}|link=|+Control Pad]]</span>
|gba-r=<span title="R Button">[[File:GBA R.png|{{{size|24x16px}}}|link=|R Button]]</span>
|gba-l=<span title="L Button">[[File:GBA L.png|{{{size|24x16px}}}|link=|L Button]]</span>
|#default=<span class=button title="{{{2|{{{1}}}}}} Button" style="padding:0px 4px">{{{2|{{{1}}}}}}</span>}}</span><noinclude>
This template displays a picture of a button from a game controller. For example:
This template displays a picture of a button from a game controller. For example:


Line 6: Line 25:
*<code><nowiki>{{Button|360|Control Stick|R-S|s=32px}}</nowiki></code> = {{Button|360|Control Stick|R-S|s=32px}}
*<code><nowiki>{{Button|360|Control Stick|R-S|s=32px}}</nowiki></code> = {{Button|360|Control Stick|R-S|s=32px}}


Sourced from SmashWiki.
Sourced from [[mariowiki:Template:Button|Super Mario Wiki]].
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>
15,584

edits