Template:Sm: Difference between revisions

m
adding explanation of "p" parameter
(added p parameter for parenthesis links. Should have been done a long time ago)
m (adding explanation of "p" parameter)
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|g=SSBM}}</nowiki></code> results in {{Sm|Mew2King|c1=Sheik|c2=Marth|c3=Fox|g=SSBM}}.
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>
1,156

edits