Template:Sm: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(fixing so both head image width and height are restricted to 20px, as SSB64 heads aren't square)
mNo edit summary
Line 7: Line 7:
Additional parameters can be used to display up to three character [[Template:Head|heads]] for a given game. For example, <code><nowiki>{{Sm|Mew2King|c1=Sheik|c2=Marth|c3=Fox|g=SSBM}}</nowiki></code> results in {{Sm|Mew2King|c1=Sheik|c2=Marth|c3=Fox|g=SSBM}}.
Additional parameters can be used to display up to three character [[Template:Head|heads]] for a given game. For example, <code><nowiki>{{Sm|Mew2King|c1=Sheik|c2=Marth|c3=Fox|g=SSBM}}</nowiki></code> results in {{Sm|Mew2King|c1=Sheik|c2=Marth|c3=Fox|g=SSBM}}.


[[Category:Templates]]</noinclude>
[[Category:Shortcut templates]]</noinclude>

Revision as of 10:05, May 1, 2014

[[Smasher:{{{1}}}|{{{1}}}]]

Type {{Sm|Name}} to link to a page in the Smasher namespace. For example, {{Sm|Mew2King}} results in Mew2King.

A second parameter can be given in order to display a flag to the left of the link, so {{Sm|Mew2King|USA}} produces USA Mew2King.

Additional parameters can be used to display up to three character heads for a given game. For example, {{Sm|Mew2King|c1=Sheik|c2=Marth|c3=Fox|g=SSBM}} results in Mew2King Sheik (SSBM)Marth (SSBM)Fox (SSBM).