Template:extlinks
From Homestar Runner Wiki
(Difference between revisions)
(undid revision 642716; There is no rationale to only have quotes inside the default title, and the established default behavior is to quote all titles, revert behavior) |
(added Youtube option, though I'd prefer the matter be fully resolved before using.) |
||
Line 9: | Line 9: | ||
--> | --> | ||
{{#if:{{{2|}}}<!-- | {{#if:{{{2|}}}<!-- | ||
- | -->|*[[Forum:{{{2}}}|forum thread re: "{{{title|{{PAGENAME}}}}}"]]}}<noinclude> | + | -->|*[[Forum:{{{2}}}|forum thread re: "{{{title|{{PAGENAME}}}}}"]]}}<!-- |
+ | |||
+ | --> | ||
+ | {{#if:{{{youtube|}}}<!-- | ||
+ | -->|*[[Youtube:{{{youtube}}}|watch "{{{title|{{PAGENAME}}}}}"]] on [[Youtube]]}}<noinclude> | ||
==Basic usage== | ==Basic usage== |
Revision as of 18:38, 5 September 2009
- [[HR:{{{1}}}.html|watch "extlinks"]]
- [[HR:{{{1}}}.swf|view the Flash file for "extlinks"]]
Basic usage
{{extlinks|
filename|
forum thread id}}
- The forum thread id can be left out, if the toon doesn't have a forum thread.
Other parameters that can be used
{{extlinks|
filename|
forum thread id|site=Mirror}}
- For pages on the HRWiki mirror (any other interwiki prefix can also be used)
{{extlinks|
html filename|
forum thread id|swf=
swf filename}}
- For pages where the Flash file has a different name to the HTML file
{{extlinks|
html filename|
forum thread id|nohtml=1}}
- For pages where the Flash file has no HTML file
{{extlinks|
html filename|
forum thread id|title=
title}}
- For pages where the toon's name doesn't match the wiki page name