Difference between revisions of "Template:EpHeader"

From LGPedia
Jump to: navigation, search
m (Why, exactly, were we linking to the KM page, but not lg15?)
m
Line 1: Line 1:
<includeonly>{{ #if: {{{1|}}}<!-- -->| {{ #ifeq: {{{KM}}} | yes <!-- -->| '''{{{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}}}}. |}}| '''{{{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|}}}<!-- -->| {{ #ifeq: {{{KM}}} | yes <!-- -->| '''{{{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: {{{RES}}} | yes <!-- -->| '''{{{2|{{PAGENAME}}}}}''' is the {{numtext|{{{1}}}}} webisode in the [[LG15: The Resistance]] [[List of LG15: The Resistance videos|video series]]. <!-- -->{{#ifexpr: {{RESEpcode|{{{1}}}|season}} > 1| It is also the {{numtext|{{RESEpcode|{{{1}}}|raw}}}} video of season {{numtext/single|{{RESEpcode|{{{1}}}|season}}}}. |}}| '''{{{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.
 
==Usage==
 
==Usage==
 
<pre>{{EpHeader|EPISODE NUMBER}}</pre>
 
<pre>{{EpHeader|EPISODE NUMBER}}</pre>

Revision as of 03:19, 29 August 2008

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