Template:External Link
From Homestar Runner Wiki
(Difference between revisions)
(new helper template) |
It's dot com (Talk | contribs) (remove obsolete oldhr and ytbl parameters) |
||
| (includes 1 intermediate revision) | |||
| Line 1: | Line 1: | ||
{{#switch:{{{3}}} | {{#switch:{{{3}}} | ||
|fullurl={{p|l={{{1}}} {{{2|{{{1}}}}}}}} | |fullurl={{p|l={{{1}}} {{{2|{{{1}}}}}}}} | ||
| - | |||
| - | |||
|#default=[[{{{3|HR}}}:{{{1}}}|{{{2|{{{1}}}}}}]] | |#default=[[{{{3|HR}}}:{{{1}}}|{{{2|{{{1}}}}}}]] | ||
}}<noinclude> | }}<noinclude> | ||
| Line 8: | Line 6: | ||
This is a helper template to format various kinds of external links... | This is a helper template to format various kinds of external links... | ||
| - | Usage | + | ====Usage==== |
| + | :<code><nowiki>{{</nowiki>el|</code>''linked page/url''<code>|</code>''alternate link text''<code>|</code>''link type or link prefix''<code>}}</code> | ||
[[Category:Internal link templates|{{PAGENAME}}]] | [[Category:Internal link templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Current revision as of 01:34, 27 January 2021
[[HR:{{{1}}}|{{{1}}}]]
This is a helper template to format various kinds of external links...
[edit] Usage
{{el|linked page/url|alternate link text|link type or link prefix}}
