Template:shortcut

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(+documentation)
m (Add Navigation Templates cat.)
Line 7: Line 7:
*:or
*:or
*<code><nowiki>{{shortcut|SHORTCUT1|SHORTCUT2|[[HRW:SHORTCUT3]]}}</nowiki></code> &mdash; same as above, except the third parameter requires extra formatting since it's a free-for-all. As shown, it links to HRW:SHORTCUT3, but you could string any number of extra links in the form: <code><nowiki>[[HRW:SHORTCUT3]]<br>[[HRW:SHORTCUT4]]</nowiki></code>.
*<code><nowiki>{{shortcut|SHORTCUT1|SHORTCUT2|[[HRW:SHORTCUT3]]}}</nowiki></code> &mdash; same as above, except the third parameter requires extra formatting since it's a free-for-all. As shown, it links to HRW:SHORTCUT3, but you could string any number of extra links in the form: <code><nowiki>[[HRW:SHORTCUT3]]<br>[[HRW:SHORTCUT4]]</nowiki></code>.
 +
</noinclude><noinclude>
 +
[[Category:Navigation Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 23:47, 2 April 2007

Shortcut:
[[HRW:{{{1}}}]]

Usage:

  • {{shortcut|SHORTCUT1}} — automatically links to HRW:SHORTCUT1
    or
  • {{shortcut|SHORTCUT1|SHORTCUT2}} — automatically links to HRW:SHORTCUT1 and HRW:SHORTCUT2
    or
  • {{shortcut|SHORTCUT1|SHORTCUT2|[[HRW:SHORTCUT3]]}} — same as above, except the third parameter requires extra formatting since it's a free-for-all. As shown, it links to HRW:SHORTCUT3, but you could string any number of extra links in the form: [[HRW:SHORTCUT3]]<br>[[HRW:SHORTCUT4]].
Personal tools