Template:Special Moves: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(fix tidy error (table cannot be nested in small), mark up caption and headers, style instead of obsolete width attribute)
m (navigation markup (new 1.27 feature))
Line 1: Line 1:
<includeonly>{| class="wikitable" style="width:450px; text-align:center; margin:0 auto; font-size: 80%;"
<includeonly><div role="navigation" aria-labelledby="{{anchorencode:{{{char|Character}}}}}-special-moves">
|+ style="border-top:1px solid #aaa; border-left:1px solid #aaa; border-right:1px solid #aaa; padding:0.2em 0 0.1em; background:#f2f2f2; text-align:center;" | [[{{{char|Character}}}|{{{char|Character}}}'s]] [[special move]]s
{| class="wikitable" style="width:450px; text-align:center; margin:0 auto; font-size: 80%;"
|+ id="{{anchorencode:{{{char|Character}}}}}-special-moves" style="border-top:1px solid #aaa; border-left:1px solid #aaa; border-right:1px solid #aaa; padding:0.2em 0 0.1em; background:#f2f2f2; text-align:center;" | [[{{{char|Character}}}|{{{char|Character}}}'s]] [[special move]]s
{{#switch:{{{char|Xx}}}
{{#switch:{{{char|Xx}}}
<!--64,M,B,4-->|Mario|Luigi|Yoshi|Donkey Kong|DK|Link|Samus|Kirby|Fox|Pikachu|Captain Falcon|Jigglypuff|Ness=
<!--64,M,B,4-->|Mario|Luigi|Yoshi|Donkey Kong|DK|Link|Samus|Kirby|Fox|Pikachu|Captain Falcon|Jigglypuff|Ness=
Line 373: Line 374:
|Bayonetta={{Special Moves/smartcols|[[Infernal Climax]]}}
|Bayonetta={{Special Moves/smartcols|[[Infernal Climax]]}}
|{{Special Moves/smartcols|&mdash;}}}}}}
|{{Special Moves/smartcols|&mdash;}}}}}}
|}</includeonly><noinclude>
|}
</div></includeonly><noinclude>
{{documentation}}[[Category:Templates]]</noinclude>
{{documentation}}[[Category:Templates]]</noinclude>

Revision as of 08:00, July 8, 2016

Code

|char = The character's name.
|game = The game you're talking about - the table will hide the appropriate rows. SSB, SSBM, SSBB, SSB4, SSBU.
        If not given, shows all moves for all games.

Example:

{{Special Moves|char=Mario}}
(Transcluded documentation: view)