Template:Episode Release Date: Difference between revisions

From Battlestar Wiki Media
(New page: {{#switch:{{{type|}}} | NTSC= {{#ifexist:Template:{{{title}}} NTSC broadcast date | {{{{{title}}} NTSC broadcast date}} | <small><div class="plainlinks">[{{fullurl:Template...)
 
No edit summary
 
Line 1: Line 1:
{{#switch:{{{type|}}}
<includeonly>{{#switch:{{{type|}}}
| NTSC= {{#ifexist:Template:{{{title}}} NTSC broadcast date
| NTSC= {{#ifexist:Template:{{{title}}} NTSC {{{countrycode}}} broadcast date
         | {{{{{title}}} NTSC broadcast date}}
         | {{{{{title}}} NTSC {{{countrycode}}} broadcast date}}
         | <small><div class="plainlinks">[{{fullurl:Template:{{{title}}} NTSC broadcast date|action=edit}} TBA]</div></small>
         | <small><div class="plainlinks">[{{fullurl:Template:{{{title}}} NTSC {{{countrycode}}} broadcast date|action=edit}} TBA]</div></small>
         }}
         }}
| PAL= {{#ifexist:Template:{{{title}}} PAL broadcast date
| PAL= {{#ifexist:Template:{{{title}}} PAL {{{countrycode}}} broadcast date
       | {{{{{title}}} PAL broadcast date}}
       | {{{{{title}}} PAL {{{countrycode}}} broadcast date}}
       | <small><div class="plainlinks">[{{fullurl:Template:{{{title}}} PAL broadcast date|action=edit}} TBA]</div></small>
       | <small><div class="plainlinks">[{{fullurl:Template:{{{title}}} PAL {{{countrycode}}} broadcast date|action=edit}} TBA]</div></small>
       }}
       }}
| iTunes= {{#ifexist:Template:{{{title}}} iTunes release date
| iTunes= {{#ifexist:Template:{{{title}}} iTunes {{{countrycode}}} release date
           | {{{{{title}}} iTunes release date}}
           | {{{{{title}}} iTunes {{{countrycode}}} release date}}
           | <small><div class="plainlinks">[{{fullurl:Template:{{{title}}} iTunes release date|action=edit}} TBA]</div></small>
           | <small><div class="plainlinks">[{{fullurl:Template:{{{title}}} iTunes {{{countrycode}}} release date|action=edit}} TBA]</div></small>
           }}
           }}
| HDTV= {{#ifexist:Template:{{{title}}} HDTV broadcast date
| HDTV= {{#ifexist:Template:{{{title}}} HDTV {{{countrycode}}} broadcast date
         | {{{{{title}}} HDTV broadcast date}}
         | {{{{{title}}} HDTV {{{countrycode}}} broadcast date}}
         | <small><div class="plainlinks">[{{fullurl:Template:{{{title}}} HDTV broadcast date|action=edit}} TBA]</div></small>
         | <small><div class="plainlinks">[{{fullurl:Template:{{{title}}} HDTV {{{countrycode}}} broadcast date|action=edit}} TBA]</div></small>
         }}
         }}
| DVD= {{#ifexist:Template:{{{title}}} {{{dvdtype}}} DVD release date
| DVD= {{#ifexist:Template:{{{title}}} {{{dvdtype}}} {{{countrycode}}} DVD release date
         | {{{{{title}}} {{{dvdtype}}} DVD release date}}
         | {{{{{title}}} {{{dvdtype}}} {{{countrycode}}} DVD release date}}
         | <small><div class="plainlinks">[{{fullurl:Template:{{{title}}} {{{dvdtype}}} DVD release date|action=edit}} TBA]</div></small>
         | <small><div class="plainlinks">[{{fullurl:Template:{{{title}}} {{{dvdtype}}} {{{countrycode}}} DVD release date|action=edit}} TBA]</div></small>
         }}
         }}
}}
}}</includeonly><noinclude>
== Documentation ==
Displays the specified episode release date if present, or TBA if not.
=== Usage ===
<pre>{{Episode Release Date|type=|title=|countrycode=}}</pre>
=== Required parameters ===
*'''type''': Specifies the type of the release. Can be <code>NTSC</code>, <code>PAL</code>, <code>iTunes</code>, <code>Unbox</code>, <code>HDTV</code> or <code>DVD</code>.
** If <code>DVD</code> please also indicated the '''dvdtype''' to either <code>NTSC</code>, <code>PAL</code>, <code>HD-DVD</code>, or <code>BluRay</code>
*'''title''': The title of the episode.
*'''countrycode''': Your country code in all capital letters.
**'''If your country does not "air" episodes -- everything will result in an error.''''
 
[[Category:RDM Broadcast Date Templates| ]]
</noinclude>

Latest revision as of 07:51, 25 January 2008

Documentation

Displays the specified episode release date if present, or TBA if not.

Usage

{{Episode Release Date|type=|title=|countrycode=}}

Required parameters

  • type: Specifies the type of the release. Can be NTSC, PAL, iTunes, Unbox, HDTV or DVD.
    • If DVD please also indicated the dvdtype to either NTSC, PAL, HD-DVD, or BluRay
  • title: The title of the episode.
  • countrycode: Your country code in all capital letters.
    • If your country does not "air" episodes -- everything will result in an error.'