[dismiss]
Welcome to SmashWiki! Log in or create an account and join the community, and don't forget to read this first! |
Notices |
---|
The Skill parameter has been removed from Smasher infoboxes, and in its place are the new "Best historical ranking" and "Best tournament result" parameters. SmashWiki needs help adding these new parameters to Smasher infoboxes, refer to the guidelines here for what should be included in these new parameters. |
When adding results to Smasher pages, include each tournament's entrant number in addition to the player's placement, and use the {{Trn}} template with the matching game specified. Please also fix old results on Smasher pages that do not abide to this standard. Refer to our Smasher article guidelines to see how results tables should be formatted. |
Check out our project page for ongoing projects that SmashWiki needs help with. |
Template:Button: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(argh) |
mNo edit summary |
||
(8 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly | <includeonly>[[File:ButtonIcon-{{{1}}}-{{{2}}}{{#if:{{{3|}}}|-{{{3}}}}}.{{#switch:{{{1}}}|N64|GCN=svg|#default=png}}|{{{s|20px}}}|class={{#ifeq:{{{1}}}|Switch|invert-dark}}|link={{#if:{{{l|}}}|{{{l}}}|{{{2}}}{{#ifeq:{{lc:{{#sub:{{{2}}}|-3}}}}|pad||{{#ifeq:{{lc:{{#sub:{{{2}}}|-5}}}}|stick|| button}}}}}}|{{{2}}}]]</includeonly><noinclude>This template displays a button and links to its page. Examples: | ||
*<code><nowiki>{{Button|N64|A}}</nowiki></code> = {{Button|N64|A}} | *<code><nowiki>{{Button|N64|A}}</nowiki></code> = {{Button|N64|A}} | ||
*<code><nowiki>{{Button|GCN|Control Stick|R-S|s=32px}}</nowiki></code> = {{Button|GCN|Control Stick|R-S|s=32px}} | |||
*<code><nowiki>{{Button|Wii|2}}</nowiki></code> = {{Button|Wii|2}} | |||
*<code><nowiki>{{Button|WCC|ZL|l=Z button}}</nowiki></code> = {{Button|WCC|ZL|l=Z button}} | *<code><nowiki>{{Button|WCC|ZL|l=Z button}}</nowiki></code> = {{Button|WCC|ZL|l=Z button}} | ||
*<code><nowiki>{{Button| | *<code><nowiki>{{Button|3DS|Circle Pad}}</nowiki></code> = {{Button|3DS|Circle Pad}} | ||
A slow .png to .svg conversion is in progress. This template assumes .png but will switch to .svg for these consoles: | |||
* N64 | |||
* GCN | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 15:41, May 20, 2024
This template displays a button and links to its page. Examples:
{{Button|N64|A}}
={{Button|GCN|Control Stick|R-S|s=32px}}
={{Button|Wii|2}}
={{Button|WCC|ZL|l=Z button}}
={{Button|3DS|Circle Pad}}
=
A slow .png to .svg conversion is in progress. This template assumes .png but will switch to .svg for these consoles:
- N64
- GCN