Template:Sm: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary |
m (extending to 10 because someday some guy will have 10 characters listed next to each other for some damn reason (Rizeasu)) |
||
(7 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{2|}}}|{{Flag|{{{2}}}}} }}[[Smasher:{{{1}}}|{{{1}}}]]{{#if:{{{c1|}}}{{{c2|}}}{{{c3|}}}| {{#if:{{{g|}}}|{{#if:{{{c1|}}}|{{Head|c={{{c1}}}|g={{{g}}}|s= | {{#if:{{{2|}}}|{{Flag|{{{2}}}}} }}[[Smasher:{{#if:{{{p|}}}|{{{1}}} ({{{p}}})|{{{1}}}}}|{{{1}}}]]{{#if:{{{c1|}}}{{{c2|}}}{{{c3|}}}| {{#if:{{{g|}}}|{{#if:{{{c1|}}}|{{Head|c={{{c1}}}|g={{{g}}}|s={{{size|20}}}x{{{size|20}}}px|l={{{c1}}} ({{{g}}})}}}}{{#if:{{{c2|}}}|{{Head|c={{{c2}}}|g={{{g}}}|s={{{size|20}}}x{{{size|20}}}px|l={{{c2}}} ({{{g}}})}}}}{{#if:{{{c3|}}}|{{Head|c={{{c3}}}|g={{{g}}}|s={{{size|20}}}x{{{size|20}}}px|l={{{c3}}} ({{{g}}})}}}}{{#if:{{{c4|}}}|{{Head|c={{{c4}}}|g={{{g}}}|s={{{size|20}}}x{{{size|20}}}px|l={{{c4}}} ({{{g}}})}}}}{{#if:{{{c5|}}}|{{Head|c={{{c5}}}|g={{{g}}}|s={{{size|20}}}x{{{size|20}}}px|l={{{c5}}} ({{{g}}})}}}}{{#if:{{{c6|}}}|{{Head|c={{{c6}}}|g={{{g}}}|s={{{size|20}}}x{{{size|20}}}px|l={{{c6}}} ({{{g}}})}}}}{{#if:{{{c7|}}}|{{Head|c={{{c7}}}|g={{{g}}}|s={{{size|20}}}x{{{size|20}}}px|l={{{c7}}} ({{{g}}})}}}}{{#if:{{{c8|}}}|{{Head|c={{{c8}}}|g={{{g}}}|s={{{size|20}}}x{{{size|20}}}px|l={{{c8}}} ({{{g}}})}}}}{{#if:{{{c9|}}}|{{Head|c={{{c9}}}|g={{{g}}}|s={{{size|20}}}x{{{size|20}}}px|l={{{c9}}} ({{{g}}})}}}}{{#if:{{{c10|}}}|{{Head|c={{{c10}}}|g={{{g}}}|s={{{size|20}}}x{{{size|20}}}px|l={{{c10}}} ({{{g}}})}}}}|<span class="error">[Chars but no game specified]</span>}}}}<noinclude> | ||
Type <code><nowiki>{{Sm|Name}}</nowiki></code> to link to a page in the Smasher namespace. For example, <code><nowiki>{{Sm|Mew2King}}</nowiki></code> results in {{Sm|Mew2King}}. | Type <code><nowiki>{{Sm|Name}}</nowiki></code> to link to a page in the Smasher namespace. For example, <code><nowiki>{{Sm|Mew2King}}</nowiki></code> results in {{Sm|Mew2King}}. | ||
Line 5: | Line 5: | ||
A second parameter can be given in order to display a {{s|template|flag}} to the left of the link, so <code><nowiki>{{Sm|Mew2King|USA}}</nowiki></code> produces {{Sm|Mew2King|USA}}. | A second parameter can be given in order to display a {{s|template|flag}} to the left of the link, so <code><nowiki>{{Sm|Mew2King|USA}}</nowiki></code> produces {{Sm|Mew2King|USA}}. | ||
Additional parameters can be used to display up to three character {{s|template|head}}s for a given game. For example, <code><nowiki>{{Sm|Mew2King|c1=Sheik|c2=Marth|c3=Fox | Additional "c" and "g" parameters can be used to display up to three character {{s|template|head}}s 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}}. | ||
The "p" parameter can be used to disambiguate multiple Smashers with the same name. For example, <code><nowiki>{{Sm|Javi|Mexico|p=Melee}}</nowiki></code> results in {{Sm|Javi|Mexico|p=Melee}}. | |||
[[Category:Shortcut templates]]</noinclude> | [[Category:Shortcut templates]]</noinclude> |
Latest revision as of 14:23, March 4, 2024
[[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 Mew2King.
Additional "c" and "g" 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 .
The "p" parameter can be used to disambiguate multiple Smashers with the same name. For example, {{Sm|Javi|Mexico|p=Melee}}
results in Javi.