Template:extlinks
From Homestar Runner Wiki
(Difference between revisions)
m (whitespace, separated sections in documentation) |
m (modified quotation marks to only apply to default PAGENAME parameter) |
||
| Line 1: | Line 1: | ||
{{#if:{{{nohtml|}}}<!-- | {{#if:{{{nohtml|}}}<!-- | ||
-->|<!-- | -->|<!-- | ||
| - | -->|*[[{{{site|HR}}}:{{{1}}}.html|watch | + | -->|*[[{{{site|HR}}}:{{{1}}}.html|watch {{{title|"{{PAGENAME}}"}}}]]<!-- |
-->}}<!-- | -->}}<!-- | ||
--> | --> | ||
| - | *[[{{{site|HR}}}:{{{swf|{{{1}}}}}}.swf|view the Flash file for | + | *[[{{{site|HR}}}:{{{swf|{{{1}}}}}}.swf|view the Flash file for {{{title|"{{PAGENAME}}"}}}]]<!-- |
--> | --> | ||
{{#if:{{{2|}}}<!-- | {{#if:{{{2|}}}<!-- | ||
| - | -->|*[[Forum:{{{2}}}|forum thread re: | + | -->|*[[Forum:{{{2}}}|forum thread re: {{{title|"{{PAGENAME}}"}}}]]}}<noinclude> |
==Basic usage== | ==Basic usage== | ||
Revision as of 01:49, 11 April 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
