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