Template:extlinks: Difference between revisions
imported>HRWikiMirrorBot Reimported from hrwiki.org Wayback HTML→wikitext (full reconvert) |
imported>HRWikiMirrorBot Reimported from hrwiki.org Wayback HTML→wikitext (full reconvert) |
||
| Line 1: | Line 1: | ||
<!-- | <!-- Wayback HTML body (hrwiki.org); RawHtml --> | ||
<br /> | <html> | ||
<p><br/> | |||
</p> | |||
<a id="Basic_usage" name="Basic_usage"></a><h2> <span class="mw-headline">Basic usage</span></h2> | |||
<ul><li><code>{{extlinks|</code><i>filename</i><code>|</code><i>forum thread id</i><code>}}</code> | |||
<ul><li>The forum thread id can be left out, if the toon doesn't have a forum thread. | |||
</li></ul> | |||
</li></ul> | |||
<a id="Other_parameters_that_can_be_used" name="Other_parameters_that_can_be_used"></a><h2> <span class="mw-headline">Other parameters that can be used</span></h2> | |||
<table class="wikitable"> | |||
<tr> | |||
<th> Parameter </th><th> Description </th><th> Example | |||
</th></tr> | |||
<tr> | |||
<td> | |||
<p><code>{{extlinks|</code><i>filename</i><code>|</code><i>forum thread id</i><code>|site=Mirror}}</code> | |||
</p> | |||
</td><td>For pages on the HRWiki mirror (any other <a href="/index.php?title=Help:Namespaces" title="Help:Namespaces">interwiki prefix</a> can also be used, as long as the URL ends in .html or .swf) | |||
</td><td> | |||
<ul><li><a class="extiw" href="http://www.hrwiki.org/mirror/filename.html" title="mirror:filename.html">watch "extlinks"</a> (mirror) | |||
</li><li><a class="extiw" href="http://www.hrwiki.org/mirror/filename.swf" title="mirror:filename.swf">view the Flash file for "extlinks"</a> | |||
</li><li><a class="extiw" href="http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id" title="forum:forum thread id">forum thread re: "extlinks"</a> | |||
</li></ul> | |||
</td></tr> | |||
<tr> | |||
<td> | |||
<p><code>{{extlinks|</code><i>html filename</i><code>|</code><i>forum thread id</i><code>|swf=</code><i>swf filename</i><code>}}</code> | |||
</p> | |||
</td><td>For pages where the Flash file has a different name to the HTML file | |||
</td><td> | |||
<ul><li><a class="extiw" href="https://old.homestarrunner.com/html_filename.html" title="oldhr:html filename.html">watch "extlinks"</a> on the old <a href="/index.php?title=Flash" title="Flash">Flash</a> site | |||
</li><li><a class="extiw" href="https://old.homestarrunner.com/swf_filename.swf" title="oldhr:swf filename.swf">view the Flash file for "extlinks"</a> | |||
</li><li><a class="extiw" href="http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id" title="forum:forum thread id">forum thread re: "extlinks"</a> | |||
</li></ul> | |||
</td></tr> | |||
<tr> | |||
<td> | |||
<p><code>{{extlinks|</code><i>swf filename</i><code>|</code><i>forum thread id</i><code>|nohtml=true}}</code> | |||
</p> | |||
</td><td>For pages where the Flash file has no HTML file | |||
</td><td> | |||
<ul><li><a class="extiw" href="https://old.homestarrunner.com/swf_filename.swf" title="oldhr:swf filename.swf">view the Flash file for "extlinks"</a> | |||
</li><li><a class="extiw" href="http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id" title="forum:forum thread id">forum thread re: "extlinks"</a> | |||
</li></ul> | |||
</td></tr> | |||
<tr> | |||
<td> | |||
<p><code>{{extlinks|</code><i>html filename</i><code>|</code><i>forum thread id</i><code>|noswf=true}}</code> | |||
</p> | |||
</td><td>For pages where the HTML file has no Flash file | |||
</td><td> | |||
<ul><li><a class="extiw" href="https://old.homestarrunner.com/html_filename.html" title="oldhr:html filename.html">watch "extlinks"</a> on the old <a href="/index.php?title=Flash" title="Flash">Flash</a> site | |||
</li><li><a class="extiw" href="http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id" title="forum:forum thread id">forum thread re: "extlinks"</a> | |||
</li></ul> | |||
</td></tr> | |||
<tr> | |||
<td> | |||
<p><code>{{extlinks|forum=</code><i>forum thread id</i><code>}}</code> | |||
</p> | |||
</td><td>For pages with no HTML file or Flash file | |||
</td><td> | |||
<ul><li><a class="extiw" href="http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id" title="forum:forum thread id">forum thread re: "extlinks"</a> | |||
</li></ul> | |||
</td></tr> | |||
<tr> | |||
<td> | |||
<p><code>{{extlinks|</code><i>filename</i><code>|</code><i>forum thread id</i><code>|title=</code><i>title</i><code>}}</code> | |||
</p> | |||
</td><td>For pages where the toon's name doesn't match the wiki page name | |||
</td><td> | |||
<ul><li><a class="extiw" href="https://old.homestarrunner.com/filename.html" title="oldhr:filename.html">watch "title"</a> on the old <a href="/index.php?title=Flash" title="Flash">Flash</a> site | |||
</li><li><a class="extiw" href="https://old.homestarrunner.com/filename.swf" title="oldhr:filename.swf">view the Flash file for "title"</a> | |||
</li><li><a class="extiw" href="http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id" title="forum:forum thread id">forum thread re: "title"</a> | |||
</li></ul> | |||
</td></tr> | |||
<tr> | |||
<td> | |||
<p><code>{{extlinks|</code><i>filename</i><code>|</code><i>forum thread id</i><code>|title=</code><i>title</i><code>|noquotes=true}}</code> | |||
</p> | |||
</td><td>For pages where the toon's name doesn't match the wiki page name and we don't want to add double quotes | |||
</td><td> | |||
<ul><li><a class="extiw" href="https://old.homestarrunner.com/filename.html" title="oldhr:filename.html">watch title</a> on the old <a href="/index.php?title=Flash" title="Flash">Flash</a> site | |||
</li><li><a class="extiw" href="https://old.homestarrunner.com/filename.swf" title="oldhr:filename.swf">view the Flash file for title</a> | |||
</li><li><a class="extiw" href="http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id" title="forum:forum thread id">forum thread re: title</a> | |||
</li></ul> | |||
</td></tr> | |||
<tr> | |||
<td> | |||
<p><code>{{extlinks|</code><i>filename</i><code>|</code><i>forum thread id</i><code>|youtube=</code><i>YouTube id</i><code>}}</code> | |||
</p> | |||
</td><td>For <a href="/index.php?title=YouTube" title="YouTube">YouTube</a> videos | |||
</td><td> | |||
<ul><li><a class="extiw" href="https://old.homestarrunner.com/filename.html" title="oldhr:filename.html">watch "extlinks"</a> on the old <a href="/index.php?title=Flash" title="Flash">Flash</a> site | |||
</li><li><a class="extiw" href="https://old.homestarrunner.com/filename.swf" title="oldhr:filename.swf">view the Flash file for "extlinks"</a> | |||
</li><li><a class="extiw" href="https://www.youtube.com/watch?v=YouTube_id" title="youtube:YouTube id">watch "extlinks"</a> on <a href="/index.php?title=YouTube" title="YouTube">YouTube</a> | |||
</li><li><a class="extiw" href="http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id" title="forum:forum thread id">forum thread re: "extlinks"</a> | |||
</li></ul> | |||
</td></tr> | |||
<tr> | |||
<td> | |||
<p><code>{{extlinks|</code><i>filename</i><code>|</code><i>forum thread id</i><code>|twitter=</code><i>Twitter id</i><code>|d=</code><i>day</i><code>|m=</code><i>month</i><code>|y=</code><i>year</i><code>}}</code> | |||
</p> | |||
</td><td>For <a href="/index.php?title=%40StrongBadActual" title="@StrongBadActual">Twitter</a> links<br/>If the date parameters are filled in, it will automatically link to the specific Tweet on the wiki | |||
</td><td> | |||
<ul><li><a class="extiw" href="https://old.homestarrunner.com/filename.html" title="oldhr:filename.html">watch "extlinks"</a> on the old <a href="/index.php?title=Flash" title="Flash">Flash</a> site | |||
</li><li><a class="extiw" href="https://old.homestarrunner.com/filename.swf" title="oldhr:filename.swf">view the Flash file for "extlinks"</a> | |||
</li><li><a class="extiw" href="https://twitter.com/StrongBadActual/status/Twitter_id" title="twitter:StrongBadActual/status/Twitter id">watch "extlinks"</a> on <a class="new" href="/index.php?title=%40StrongBadActual_Tweets_year" title="@StrongBadActual Tweets year (page does not exist)">Twitter</a> | |||
</li><li><a class="extiw" href="http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id" title="forum:forum thread id">forum thread re: "extlinks"</a> | |||
</li></ul> | |||
</td></tr> | |||
<tr> | |||
<td> | |||
<p><code>{{extlinks|</code><i>filename</i><code>|</code><i>forum thread id</i><code>|action=</code><i>action</i><code>}}</code> | |||
</p> | |||
</td><td>For pages that you don't watch | |||
</td><td> | |||
<ul><li><a class="extiw" href="https://old.homestarrunner.com/filename.html" title="oldhr:filename.html">play "extlinks"</a> on the old <a href="/index.php?title=Flash" title="Flash">Flash</a> site | |||
</li><li><a class="extiw" href="https://old.homestarrunner.com/filename.swf" title="oldhr:filename.swf">view the Flash file for "extlinks"</a> | |||
</li><li><a class="extiw" href="http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id" title="forum:forum thread id">forum thread re: "extlinks"</a> | |||
</li></ul> | |||
</td></tr> | |||
<tr> | |||
<td> | |||
<p><code>{{extlinks|</code><i>filename</i><code>|</code><i>forum thread id</i><code>|youtube=</code><i>YouTube id</i><code>|ytaction=</code><i>YouTube action</i><code>}}</code> | |||
</p> | |||
</td><td>For pages where the YouTube action is different from the main action (or different from the default "watch" if <code>action</code> is not set) | |||
</td><td> | |||
<ul><li><a class="extiw" href="https://old.homestarrunner.com/filename.html" title="oldhr:filename.html">watch "extlinks"</a> on the old <a href="/index.php?title=Flash" title="Flash">Flash</a> site | |||
</li><li><a class="extiw" href="https://old.homestarrunner.com/filename.swf" title="oldhr:filename.swf">view the Flash file for "extlinks"</a> | |||
</li><li><a class="extiw" href="https://www.youtube.com/watch?v=YouTube_id" title="youtube:YouTube id">check out "extlinks"</a> on <a href="/index.php?title=YouTube" title="YouTube">YouTube</a> | |||
</li><li><a class="extiw" href="http://forum.hrwiki.org/viewtopic.php?t=forum_thread_id" title="forum:forum thread id">forum thread re: "extlinks"</a> | |||
</li></ul> | |||
</td></tr></table> | |||
<a id="See_Also" name="See_Also"></a><h2> <span class="mw-headline">See Also</span></h2> | |||
<ul><li>{{<a href="/index.php?title=Template:nextlinks" title="Template:nextlinks">nextlinks</a>}} | |||
</li><li>{{<a href="/index.php?title=Template:sbemailextlinks" title="Template:sbemailextlinks">sbemailextlinks</a>}} | |||
</li></ul> | |||
<div class="visualClear"></div> | |||
</html> | |||
Latest revision as of 21:00, 18 July 2026
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
| Parameter | Description | Example |
|---|---|---|
|
| For pages on the HRWiki mirror (any other interwiki prefix can also be used, as long as the URL ends in .html or .swf) | |
|
| For pages where the Flash file has a different name to the HTML file | |
|
| For pages where the Flash file has no HTML file | |
|
| For pages where the HTML file has no Flash file |
|
|
| For pages with no HTML file or Flash file | |
|
| 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 and we don't want to add double quotes |
|
|
| For YouTube videos | |
|
| For Twitter links If the date parameters are filled in, it will automatically link to the specific Tweet on the wiki | |
|
| For pages that you don't watch | |
|
| 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
- {{nextlinks}}
- {{sbemailextlinks}}