Template:H2: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(New Page: [[{{{1}}}#{{{2}}}|{{{2}}}]]<noinclude> Stuff like <nowiki>Fox</nowiki>'s and such. Category:Shortcut templates</noinclude>)
 
No edit summary
 
Line 1: Line 1:
[[{{{1}}}#{{{2}}}|{{{2}}}]]<noinclude>
[[{{{1}}}#{{{2}}}|{{{2}}}]]<noinclude>


Stuff like <nowiki>[[Landmaster#Fox|Fox]]</nowiki>'s and such.
==Usage==
Simplifies links to sections/anchors, with the linktext being the name of the target section/anchor on the page. An example would be <code><nowiki>{{h2|Landmaster|Fox}}</nowiki></code> to emulate <code><nowiki>[[Landmaster#Fox|Fox]]</nowiki></code>.
 
Note that if the anchor in question has a redirect pointing directly to it (such as [[PK Thunder 2]]), just [[SW:MoS#Internal links|link to the redirect]] instead of using this template. By contrast, don't create such redirects just to avoid using this template.


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

Latest revision as of 00:51, June 18, 2014

[[{{{1}}}#{{{2}}}|{{{2}}}]]

Usage

Simplifies links to sections/anchors, with the linktext being the name of the target section/anchor on the page. An example would be {{h2|Landmaster|Fox}} to emulate [[Landmaster#Fox|Fox]].

Note that if the anchor in question has a redirect pointing directly to it (such as PK Thunder 2), just link to the redirect instead of using this template. By contrast, don't create such redirects just to avoid using this template.