Template:extlinks
From Homestar Runner Wiki
(Difference between revisions)
(add a couple more options, and quick-and-dirty documentation) |
m (whitespace, separated sections in documentation) |
||
| Line 1: | Line 1: | ||
| - | {{#if:{{{nohtml|}}}||*[[{{{site|HR}}}:{{{1}}}.html|watch "{{{title|{{PAGENAME}}}}}"]]}} | + | {{#if:{{{nohtml|}}}<!-- |
| - | *[[{{{site|HR}}}:{{{swf|{{{1}}}}}}.swf|view the Flash file for "{{{title|{{PAGENAME}}}}}"]] | + | -->|<!-- |
| - | {{#if:{{{2|}}}|*[[Forum:{{{2}}}|forum thread re: "{{{title|{{PAGENAME}}}}}"]]}}<noinclude> | + | -->|*[[{{{site|HR}}}:{{{1}}}.html|watch "{{{title|{{PAGENAME}}}}}"]]<!-- |
| - | + | -->}}<!-- | |
| - | Basic usage | + | |
| + | --> | ||
| + | *[[{{{site|HR}}}:{{{swf|{{{1}}}}}}.swf|view the Flash file for "{{{title|{{PAGENAME}}}}}"]]<!-- | ||
| + | |||
| + | --> | ||
| + | {{#if:{{{2|}}}<!-- | ||
| + | -->|*[[Forum:{{{2}}}|forum thread re: "{{{title|{{PAGENAME}}}}}"]]}}<noinclude> | ||
| + | |||
| + | ==Basic usage== | ||
*<code>{{extlinks|</code>''filename''<code>|</code>''forum thread id''<code>}}</code> | *<code>{{extlinks|</code>''filename''<code>|</code>''forum thread id''<code>}}</code> | ||
**The forum thread id can be left out, if the toon doesn't have a forum thread. | **The forum thread id can be left out, if the toon doesn't have a forum thread. | ||
| - | Other parameters that can be used | + | ==Other parameters that can be used== |
*<code>{{extlinks|</code>''filename''<code>|</code>''forum thread id''<code>|site=Mirror}}</code> | *<code>{{extlinks|</code>''filename''<code>|</code>''forum thread id''<code>|site=Mirror}}</code> | ||
**For pages on the HRWiki mirror (any other [[Help:Namespaces#Interwiki Links|interwiki prefix]] can also be used) | **For pages on the HRWiki mirror (any other [[Help:Namespaces#Interwiki Links|interwiki prefix]] can also be used) | ||
Revision as of 23:59, 10 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
