Template:subtitlesLinks

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(Actually, it appears it shouldn't be used for anything. Don't worry, I won't flood recent changes removing them all right now...)
(quick test)
Line 1: Line 1:
-
{{#ifexist:Subtitles:{{{1}}}/en|[[en: {{{1}}}]]|}}{{
+
{{#if:{{#var:alreadyIncluded}}|yes||{{
 +
  #setvar:alreadyIncluded|yes}}{{
 +
  #ifexist:Subtitles:{{{1}}}/en|[[en: {{{1}}}]]|}}{{
   #ifexist:Subtitles:{{{1}}}/fr|[[fr: {{{1}}}]]|}}{{
   #ifexist:Subtitles:{{{1}}}/fr|[[fr: {{{1}}}]]|}}{{
   #ifexist:Subtitles:{{{1}}}/de|[[de: {{{1}}}]]|}}{{
   #ifexist:Subtitles:{{{1}}}/de|[[de: {{{1}}}]]|}}{{
Line 8: Line 10:
   #ifexist:Subtitles:{{{1}}}/pl|[[pl: {{{1}}}]]|}}{{
   #ifexist:Subtitles:{{{1}}}/pl|[[pl: {{{1}}}]]|}}{{
   #ifexist:Subtitles:{{{1}}}/pt-br|[[pt-br: {{{1}}}]]|}}{{
   #ifexist:Subtitles:{{{1}}}/pt-br|[[pt-br: {{{1}}}]]|}}{{
-
   #ifexist:Subtitles:{{{1}}}/tr|[[tr: {{{1}}}]]|}}<noinclude>This template automatically adds links to the subtitles pages for a given toon as they become available. In the MonoBook skin, the links appear beneath the search box, toolbox, and external links over on the lefthand side of the screen.
+
   #ifexist:Subtitles:{{{1}}}/tr|[[tr: {{{1}}}]]|}}}}<noinclude>This template automatically adds links to the subtitles pages for a given toon as they become available. In the MonoBook skin, the links appear beneath the search box, toolbox, and external links over on the lefthand side of the screen.
===Instuctions for use===
===Instuctions for use===

Revision as of 13:52, 22 April 2009

This template automatically adds links to the subtitles pages for a given toon as they become available. In the MonoBook skin, the links appear beneath the search box, toolbox, and external links over on the lefthand side of the screen.

Instuctions for use

It is not necessary to put this template on individual toon articles, as it is already included within the standard navigation templates.

In the rare case that it must be used directly, place the following code anywhere on the toon's article page (customarily toward the bottom):

{{subtitlesLinks|filename}}

where filename is the HTML filename found on homestarrunner.com (minus the extension).

For example, the template on Shopping for Danger is {{subtitlesLinks|commandos3}}.

Personal tools