Template:subtitles
From Homestar Runner Wiki
(Difference between revisions)
It's dot com (Talk | contribs) m (space) |
It's dot com (Talk | contribs) (fix) |
||
Line 9: | Line 9: | ||
| <includeonly>{{#if:{{#var:sb-lang}} | | <includeonly>{{#if:{{#var:sb-lang}} | ||
| <!--if language enabled--> '''These are the [[Wikipedia:{{#var:sb-lang}} language|{{#var:sb-lang}}]] subtitles for {{#var:sb-pagelink}}.''' <span class="hovul" style="font-size:smaller;background:#EEE;border:1px #999 solid;padding:2px;margin-left:6px;white-space:nowrap">{{#switch:{{{type|{{{mirror}}}}}} | | <!--if language enabled--> '''These are the [[Wikipedia:{{#var:sb-lang}} language|{{#var:sb-lang}}]] subtitles for {{#var:sb-pagelink}}.''' <span class="hovul" style="font-size:smaller;background:#EEE;border:1px #999 solid;padding:2px;margin-left:6px;white-space:nowrap">{{#switch:{{{type|{{{mirror}}}}}} | ||
- | | mirror = | + | | mirror = [[Mirror:{{{mirrorpagename}}}.html |watch this toon]] |
- | | yes <!--BC--> = {{ | + | | yes <!--BC--> = [[Mirror:{{{mirrorpagename}}}.html |watch this toon]] <!--for backward compatibility--> |
| game = [[HR:{{BASEPAGENAME}}.html |play this game]] | | game = [[HR:{{BASEPAGENAME}}.html |play this game]] | ||
| Videlectrix = [[Videlectrix:{{BASEPAGENAME}}.html |play this game]] | | Videlectrix = [[Videlectrix:{{BASEPAGENAME}}.html |play this game]] |
Revision as of 22:55, 2 April 2009
![]() | This template is placed at the top of subtitles pages to automatically create links to the article for the corresponding toon or game, various available viewing options, and language resources. It also lets a user know that a language is not enabled if that is the case. |
Usage Parameters:
{{ subtitles | toon name [ | anchor=anchor name ] [ | type=mirror, game, Videlectrix ] [ | mirrorpagename=mirror page name ] }}
- toon name — the wiki article name for the translated toon.
- anchor (optonal) — if necessary, the anchor in the article where the original text can be found (if it's not in the Transcript).
- type (optional) — "mirror" if this toon is mirrored, "game" if it is a game located at homestarrunner.com, and "Videlectrix" if it is a game located at www.videlectrix.com
- mirrorpagename (optional) — if you have specified "type=mirror", store the filename for this toon's mirror in this variable.