Difference between revisions of "Template:EpHeader"

From LGPedia
Jump to: navigation, search
m
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{ #if: {{{1|}}}<!-- -->| {{ #ifeq: {{{series|KM}}} <!-- -->| '''{{{2|{{PAGENAME}}}}}''' is the {{numtext|{{{1}}}}} webisode in the [[KateModern]] [[List of KateModern videos|video series]]. <!-- -->{{#ifexpr: {{KMEpcode|{{{1}}}|season}} > 1| It is also the {{numtext|{{KMEpcode|{{{1}}}|raw}}}} video of season {{numtext/single|{{KMEpcode|{{{1}}}|season}}}}. |}}<!-- -->|{{ #ifeq: {{{series|RES}}} <!-- -->| '''{{{2|{{PAGENAME}}}}}''' is the {{numtext|{{{1}}}}} blog in the [[LG15: The Resistance]] [[List of LG15: The Resistance blogs|blog series]].<!-- -->|{{ #ifeq: {{{N1}}} | yes <!-- -->| '''{{{2|{{PAGENAME}}}}}''' is the {{numtext|{{{1}}}}} video in the [[N1ckola]] [[List of N1ckola videos|video series]].<!-- -->|{{ #ifeq: {{{series|LAST}}} <!-- -->| '''{{{2|{{PAGENAME}}}}}''' is the {{numtext|{{{1}}}} video in the [[LG15: The Last]] [[List of LG15: The Last videos|video series]].<!-- -->|'''{{{2|{{PAGENAME}}}}}''' is the {{numtext|{{{1}}}}} video in the [[lonelygirl15]] [[List of lonelygirl15 videos|video series]]. <!-- -->{{#ifexpr: {{epcode|{{{1}}}|season}} > 1| It is also the {{numtext|{{epcode|{{{1}}}|raw}}}} video of season {{numtext/single|{{epcode|{{{1}}}|season}}}}. |}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->}}<!-- -->| '''Episode number not set in Template:EpHeader!''' }}</includeonly><noinclude>This template creates the standard episode header for video pages; basing on the provided episode number, it automatically calculates, converts and displays the correct wording for textual episode number and season.
+
<includeonly>{{ #if: {{{1|}}}
 +
| '''{{{2|{{PAGENAME}}}}}''' is the {{numtext|{{{1}}}}} {{#switch: {{lc:{{{3|}}}}}
 +
| op      = video in the [[OpAphid ARG|OpAphid]] [[Portal:OpAphid ARG|video series]].
 +
| km      = webisode in the [[KateModern]] [[List of KateModern videos|video series]]. {{#ifexpr: {{KMEpcode|{{{1}}}|season}} > 1| It is also the {{numtext|{{KMEpcode|{{{1}}}|raw}}}} video of season {{numtext/single|{{KMEpcode|{{{1}}}|season}}}}. |}}
 +
| nbr      = video in the [[lonelygirl15]] mini-series [[Nikki Bower Report]].
 +
| wyj      = video in the [[lonelygirl15]] mini-series [[Watchyourjack]].
 +
| res      = blog in the [[LG15: The Resistance]] [[List of LG15: The Resistance blogs|blog series]].
 +
| n1      = video in the [[N1ckola]] [[List of N1ckola videos|video series]].
 +
| last    = video in the [[LG15: The Last]] [[List of LG15: The Last videos|video series]].
 +
| ob      = video in the [[LG15: Outbreak]] [[List of LG15: Outbreak videos|video series]].
 +
| mih      = video in the [[Masonishappy]] [[List of Masonishappy videos|video series]].
 +
| lg2016  = video in the [[LG15: Anchor Cove]] [[List of LG15: Anchor Cove videos|video series]].
 +
| video in the [[lonelygirl15]] [[List of lonelygirl15 videos|video series]]. {{#ifexpr: {{epcode|{{{1}}}|season}} > 1| It is also the {{numtext|{{epcode|{{{1}}}|raw}}}} video of season {{numtext/single|{{epcode|{{{1}}}|season}}}}. |}}
 +
}}
 +
| '''Episode number not set in [[Template:EpHeader]]! (Or number= in [[Template:Blog]] not set.)'''  
 +
}}</includeonly><noinclude>This template creates the standard episode header for video pages; basing on the provided episode number, it automatically calculates, converts and displays the correct wording for textual episode number and season.
 
==Usage==
 
==Usage==
 
<pre>{{EpHeader|EPISODE NUMBER}}</pre>
 
<pre>{{EpHeader|EPISODE NUMBER}}</pre>

Latest revision as of 01:45, 24 July 2016

This template creates the standard episode header for video pages; basing on the provided episode number, it automatically calculates, converts and displays the correct wording for textual episode number and season.

Usage

{{EpHeader|EPISODE NUMBER}}

If the episode's name differs from the page name, the correct name can be added as a second parameter:

{{EpHeader|EPISODE NUMBER|EPISODE TITLE}}