Template:S: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
m (Protected "Template:S": Protecting high-use templates ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[:{{{1}}}:{{{2}}}{{#if:{{{3|}}}|_({{{3}}})}}|{{{2}}}]]<noinclude>
[[:{{{1}}}:{{{2}}}|{{{2}}}]]<noinclude>


A namespace-linking simplifier. Put in <code><nowiki>{{S|X|Y}}</nowiki></code> for a shortcut of <code><nowiki>[[X:Y|Y]]</nowiki></code>.
A namespace-linking simplifier. Put in <code><nowiki>{{S|X|Y}}</nowiki></code> for a shortcut of <code><nowiki>[[X:Y|Y]]</nowiki></code>.
Line 5: Line 5:
For example, <code><nowiki>{{S|Special|RecentChanges}}</nowiki></code> results in {{S|Special|RecentChanges}}.
For example, <code><nowiki>{{S|Special|RecentChanges}}</nowiki></code> results in {{S|Special|RecentChanges}}.


Since the syntax used here is fundamentally similar to the interwiki syntax, you can use this to link to an interwiki page as well; {{t|IW}} is an alternative for such linking that is capable of proper linking to pages with (parentheses) on the end.
Since the syntax used here is fundamentally similar to the interwiki syntax, you can use this to link to an interwiki page as well; however {{t|iw}} is preferred for such linking, as it is capable of proper linking to pages with (parentheses) on the end.
 
 
[[Category:Shortcut templates]]</noinclude>
[[Category:Shortcut templates]]</noinclude>

Latest revision as of 22:19, August 26, 2021

[[:{{{1}}}:{{{2}}}|{{{2}}}]]

A namespace-linking simplifier. Put in {{S|X|Y}} for a shortcut of [[X:Y|Y]].

For example, {{S|Special|RecentChanges}} results in RecentChanges.

Since the syntax used here is fundamentally similar to the interwiki syntax, you can use this to link to an interwiki page as well; however {{iw}} is preferred for such linking, as it is capable of proper linking to pages with (parentheses) on the end.