Difference between revisions of "Template:EpHeader"

From LGPedia
Jump to: navigation, search
(This had turned horribly convoluted and inefficient, and didn't scale well (it we never supposed to).)
Line 8: Line 8:
 
| last    = video in the [[LG15: The Last]] [[List of LG15: The Last 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]].
 
| ob      = video in the [[LG15: Outbreak]] [[List of LG15: Outbreak videos|video series]].
 +
| mih      = video in the [[Masonishappy]] [[List of Masonishappy 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}}}}. |}}
 
| 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}}}}. |}}
 
}}
 
}}

Revision as of 06:56, 12 February 2010

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}}