Template:shortcut
From Homestar Runner Wiki
(Difference between revisions)
m (Add Navigation Templates cat.) |
It's dot com (Talk | contribs) (switch cat) |
||
| Line 8: | Line 8: | ||
*<code><nowiki>{{shortcut|SHORTCUT1|SHORTCUT2|[[HRW:SHORTCUT3]]}}</nowiki></code> — 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> — 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> | </noinclude><noinclude> | ||
| - | [[Category: | + | [[Category:Internal link templates|{{PAGENAME}}]] |
</noinclude> | </noinclude> | ||
Revision as of 23:48, 2 April 2007
Shortcut:
[[HRW:{{{1}}}]]
[[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]].
