Difference between revisions of "Template:Crossover"
From LGPedia
					
										
					
					 (New base to test from.)  | 
				 (Fixed documentation, added category)  | 
				||
| Line 3: | Line 3: | ||
|km = {{EpHeader|{{{epnum}}}|{{{epname|{{PAGENAME}}}}}|KM=yes}}[[Category:KateModern videos]]{{#if: {{{eplength|}}}|[[Category:KateModern videos by length|{{{eplength}}}]]}}{{#if: {{{epdate|}}}|[[Category:KateModern videos by date| {{{epdate}}}]]}}  | |km = {{EpHeader|{{{epnum}}}|{{{epname|{{PAGENAME}}}}}|KM=yes}}[[Category:KateModern videos]]{{#if: {{{eplength|}}}|[[Category:KateModern videos by length|{{{eplength}}}]]}}{{#if: {{{epdate|}}}|[[Category:KateModern videos by date| {{{epdate}}}]]}}  | ||
| '''No series selected.'''  | | '''No series selected.'''  | ||
| − | }}</includeonly><noinclude>  | + | }}[[Category:Crossover videos]]</includeonly><noinclude>  | 
This template includes a prepared set of categories and the episode header for a select series, in case they need to be included on an episode page that was attributed to a different series (e.g. in case of a crossover).  | This template includes a prepared set of categories and the episode header for a select series, in case they need to be included on an episode page that was attributed to a different series (e.g. in case of a crossover).  | ||
==Usage==  | ==Usage==  | ||
<pre>{{Crossover  | <pre>{{Crossover  | ||
| − | |epnum =  | + | |series   =  | 
| − | |epname =  | + | |epnum    =  | 
| + | |epname   =  | ||
|eplength =  | |eplength =  | ||
| − | |epdate =  | + | |epdate   =  | 
}}</pre>  | }}</pre>  | ||
where  | where  | ||
| + | *'''series''' is the other series's abbreviation ("lg15" or "km" so far)  | ||
*'''epnum''' is the episode number in the other series's continuity  | *'''epnum''' is the episode number in the other series's continuity  | ||
*'''epname''' is the episode name (defaults to page name)  | *'''epname''' is the episode name (defaults to page name)  | ||
*'''eplength''' is the episode length  | *'''eplength''' is the episode length  | ||
*'''epdate''' is the date the episode was posted, in YYYYMMDD format.</noinclude>  | *'''epdate''' is the date the episode was posted, in YYYYMMDD format.</noinclude>  | ||
Revision as of 14:40, 21 April 2008
This template includes a prepared set of categories and the episode header for a select series, in case they need to be included on an episode page that was attributed to a different series (e.g. in case of a crossover).
Usage
{{Crossover
|series   =
|epnum    =
|epname   =
|eplength =
|epdate   =
}}
where
- series is the other series's abbreviation ("lg15" or "km" so far)
 - epnum is the episode number in the other series's continuity
 - epname is the episode name (defaults to page name)
 - eplength is the episode length
 - epdate is the date the episode was posted, in YYYYMMDD format.