Work in progress — This wiki is an active migration / mirror of Homestar Runner Wiki and is not finished yet. Account registration and public editing are turned off until the migration is further along. For status updates, see the migration thread on the forums.

Template extlinks: Difference between revisions

From HR Wiki Twice
Jump to navigationJump to search
imported>HRWikiMirrorBot
Imported from hrwiki.org via Wayback Machine (HTML→wikitext)
 
imported>HRWikiMirrorBot
Reimported from hrwiki.org Wayback HTML→wikitext (full reconvert)
 
Line 1: Line 1:
<!-- Mirrored from Homestar Runner Wiki (hrwiki.org) via Wayback Machine; HTML converted to wikitext. Formatting may be imperfect. -->
<!-- Mirrored from Homestar Runner Wiki (hrwiki.org) via Wayback Machine -->
<br />
<br />


<span id="basic-usage"></span>
== Basic usage ==
== <span class="mw-headline">Basic usage</span> ==


* <code>{{extlinks|</code>''filename''<code>|</code>''forum thread id''<code>}}</code>
* {{extlinks|''filename''|''forum thread id''}}
** 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.


<span id="other-parameters-that-can-be-used"></span>
== Other parameters that can be used ==
== <span class="mw-headline">Other parameters that can be used</span> ==


{| class="wikitable wikitable"
{| class="wikitable"
|-
|-
! Parameter
! Parameter
Line 17: Line 15:
! Example
! Example
|-
|-
| <code>{{extlinks|</code>''filename''<code>|</code>''forum thread id''<code>|site=Mirror}}</code>
| {{extlinks&#124;''filename''&#124;''forum thread id''&#124;site=Mirror}}
 
| For pages on the HRWiki mirror (any other [[Help:Namespaces|interwiki prefix]] can also be used, as long as the URL ends in .html or .swf)
| For pages on the HRWiki mirror (any other [[Help:Namespaces|interwiki prefix]] can also be used, as long as the URL ends in .html or .swf)
| * [http://www.hrwiki.org/mirror/filename.html watch "extlinks"] (mirror)
|  
* [http://www.hrwiki.org/mirror/filename.swf view the Flash file for "extlinks"]
* [http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id forum thread re: "extlinks"]
 
|-
|-
| <code>{{extlinks|</code>''html filename''<code>|</code>''forum thread id''<code>|swf=</code>''swf filename''<code>}}</code>
| {{extlinks&#124;''html filename''&#124;''forum thread id''&#124;swf=''swf filename''}}
 
| For pages where the Flash file has a different name to the HTML file
| For pages where the Flash file has a different name to the HTML file
| * [https://old.homestarrunner.com/html_filename.html watch "extlinks"] on the old [[Flash]] site
|  
* [https://old.homestarrunner.com/swf_filename.swf view the Flash file for "extlinks"]
* [http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id forum thread re: "extlinks"]
 
|-
|-
| <code>{{extlinks|</code>''swf filename''<code>|</code>''forum thread id''<code>|nohtml=true}}</code>
| {{extlinks&#124;''swf filename''&#124;''forum thread id''&#124;nohtml=true}}
 
| For pages where the Flash file has no HTML file
| For pages where the Flash file has no HTML file
| * [https://old.homestarrunner.com/swf_filename.swf view the Flash file for "extlinks"]
|  
* [http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id forum thread re: "extlinks"]
 
|-
|-
| <code>{{extlinks|</code>''html filename''<code>|</code>''forum thread id''<code>|noswf=true}}</code>
| {{extlinks&#124;''html filename''&#124;''forum thread id''&#124;noswf=true}}
 
| For pages where the HTML file has no Flash file
| For pages where the HTML file has no Flash file
| * [https://old.homestarrunner.com/html_filename.html watch "extlinks"] on the old [[Flash]] site
|  
* [http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id forum thread re: "extlinks"]
 
|-
|-
| <code>{{extlinks|forum=</code>''forum thread id''<code>}}</code>
| {{extlinks&#124;forum=''forum thread id''}}
 
| For pages with no HTML file or Flash file
| For pages with no HTML file or Flash file
| * [http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id forum thread re: "extlinks"]
|  
 
|-
|-
| <code>{{extlinks|</code>''filename''<code>|</code>''forum thread id''<code>|title=</code>''title''<code>}}</code>
| {{extlinks&#124;''filename''&#124;''forum thread id''&#124;title=''title''}}
 
| For pages where the toon's name doesn't match the wiki page name
| For pages where the toon's name doesn't match the wiki page name
| * [https://old.homestarrunner.com/filename.html watch "title"] on the old [[Flash]] site
|  
* [https://old.homestarrunner.com/filename.swf view the Flash file for "title"]
* [http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id forum thread re: "title"]
 
|-
|-
| <code>{{extlinks|</code>''filename''<code>|</code>''forum thread id''<code>|title=</code>''title''<code>|noquotes=true}}</code>
| {{extlinks&#124;''filename''&#124;''forum thread id''&#124;title=''title''&#124;noquotes=true}}
 
| For pages where the toon's name doesn't match the wiki page name and we don't want to add double quotes
| For pages where the toon's name doesn't match the wiki page name and we don't want to add double quotes
| * [https://old.homestarrunner.com/filename.html watch title] on the old [[Flash]] site
|  
* [https://old.homestarrunner.com/filename.swf view the Flash file for title]
* [http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id forum thread re: title]
 
|-
|-
| <code>{{extlinks|</code>''filename''<code>|</code>''forum thread id''<code>|youtube=</code>''YouTube id''<code>}}</code>
| {{extlinks&#124;''filename''&#124;''forum thread id''&#124;youtube=''YouTube id''}}
 
| For [[YouTube]] videos
| For [[YouTube]] videos
| * [https://old.homestarrunner.com/filename.html watch "extlinks"] on the old [[Flash]] site
|  
* [https://old.homestarrunner.com/filename.swf view the Flash file for "extlinks"]
* [https://www.youtube.com/watch?v=YouTube_id watch "extlinks"] on [[YouTube]]
* [http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id forum thread re: "extlinks"]
 
|-
|-
| <code>{{extlinks|</code>''filename''<code>|</code>''forum thread id''<code>|twitter=</code>''Twitter id''<code>|d=</code>''day''<code>|m=</code>''month''<code>|y=</code>''year''<code>}}</code>
| {{extlinks&#124;''filename''&#124;''forum thread id''&#124;twitter=''Twitter id''&#124;d=''day''&#124;m=''month''&#124;y=''year''}}
 
| For [[@StrongBadActual|Twitter]] links<br />If the date parameters are filled in, it will automatically link to the specific Tweet on the wiki
| For [[@StrongBadActual|Twitter]] links<br />
|  
If the date parameters are filled in, it will automatically link to the specific Tweet on the wiki
| * [https://old.homestarrunner.com/filename.html watch "extlinks"] on the old [[Flash]] site
* [https://old.homestarrunner.com/filename.swf view the Flash file for "extlinks"]
* [https://twitter.com/StrongBadActual/status/Twitter_id watch "extlinks"] on [[@StrongBadActual Tweets year|Twitter]]
* [http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id forum thread re: "extlinks"]
 
|-
|-
| <code>{{extlinks|</code>''filename''<code>|</code>''forum thread id''<code>|action=</code>''action''<code>}}</code>
| {{extlinks&#124;''filename''&#124;''forum thread id''&#124;action=''action''}}
 
| For pages that you don't watch
| For pages that you don't watch
| * [https://old.homestarrunner.com/filename.html play "extlinks"] on the old [[Flash]] site
|  
* [https://old.homestarrunner.com/filename.swf view the Flash file for "extlinks"]
* [http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id forum thread re: "extlinks"]
 
|-
|-
| <code>{{extlinks|</code>''filename''<code>|</code>''forum thread id''<code>|youtube=</code>''YouTube id''<code>|ytaction=</code>''YouTube action''<code>}}</code>
| {{extlinks&#124;''filename''&#124;''forum thread id''&#124;youtube=''YouTube id''&#124;ytaction=''YouTube action''}}
 
| For pages where the YouTube action is different from the main action (or different from the default "watch" if action is not set)
| For pages where the YouTube action is different from the main action (or different from the default &quot;watch&quot; if <code>action</code> is not set)
|  
| * [https://old.homestarrunner.com/filename.html watch "extlinks"] on the old [[Flash]] site
* [https://old.homestarrunner.com/filename.swf view the Flash file for "extlinks"]
* [https://www.youtube.com/watch?v=YouTube_id check out "extlinks"] on [[YouTube]]
* [http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id forum thread re: "extlinks"]
 
|}
|}


<span id="see-also"></span>
== See Also ==
== <span class="mw-headline">See Also</span> ==


* {{[[Template:nextlinks|nextlinks]]}}
* {{[[Template:nextlinks|nextlinks]]}}
* {{[[Template:sbemailextlinks|sbemailextlinks]]}}
* {{[[Template:sbemailextlinks|sbemailextlinks]]}}
 
[[Category:Toon Article Formatting Templates]]
<div id="catlinks" class="catlinks">
 
<div id="mw-normal-catlinks">
 
[/wiki/Special:Categories Category]: <span dir="ltr">[[Category:Toon Article Formatting Templates|Toon Article Formatting Templates]]</span>
 
</div>
 
</div>



Latest revision as of 14:24, 14 July 2026


Basic usage

  • Template:Extlinks
    • The forum thread id can be left out, if the toon doesn't have a forum thread.

Other parameters that can be used

Parameter Description Example
{{extlinks|filename|forum thread id|site=Mirror}} For pages on the HRWiki mirror (any other interwiki prefix can also be used, as long as the URL ends in .html or .swf)
{{extlinks|html filename|forum thread id|swf=swf filename}} For pages where the Flash file has a different name to the HTML file
{{extlinks|swf filename|forum thread id|nohtml=true}} For pages where the Flash file has no HTML file
{{extlinks|html filename|forum thread id|noswf=true}} For pages where the HTML file has no Flash file
{{extlinks|forum=forum thread id}} For pages with no HTML file or Flash file
{{extlinks|filename|forum thread id|title=title}} For pages where the toon's name doesn't match the wiki page name
{{extlinks|filename|forum thread id|title=title|noquotes=true}} For pages where the toon's name doesn't match the wiki page name and we don't want to add double quotes
{{extlinks|filename|forum thread id|youtube=YouTube id}} For YouTube videos
{{extlinks|filename|forum thread id|twitter=Twitter id|d=day|m=month|y=year}} For Twitter links
If the date parameters are filled in, it will automatically link to the specific Tweet on the wiki
{{extlinks|filename|forum thread id|action=action}} For pages that you don't watch
{{extlinks|filename|forum thread id|youtube=YouTube id|ytaction=YouTube action}} For pages where the YouTube action is different from the main action (or different from the default "watch" if action is not set)

See Also