Difference between revisions of "Template:Crossover"

From LGPedia
Jump to: navigation, search
m
m (Changing so it'll check to see if blogger2 is filled in)
Line 4: Line 4:
 
| '''No series selected.'''
 
| '''No series selected.'''
 
}}[[Category:Crossover videos]]
 
}}[[Category:Crossover videos]]
{{#ifeq: {{{blogger2}}} | OpAphid | [[Category:OpAphid videos]] | [[Category:{{{blogger2}}}'s blogs|{{#ifeq: {{#ifexpr: {{{epnum}}} |true|true}} | true |&#32; {{ #ifexpr: {{{epnum}}} < 100 |0|}}{{ #ifexpr: {{{epnum}}} < 10 |0|}}{{{epnum}}}|* {{{epnum}}}}}]]}}</includeonly><noinclude>
+
{{#if: {{{blogger2|}}}|{{#ifeq: {{{blogger2}}} | OpAphid | [[Category:OpAphid videos]] | [[Category:{{{blogger2}}}'s blogs|{{#ifeq: {{#ifexpr: {{{epnum}}} |true|true}} | true |&#32; {{ #ifexpr: {{{epnum}}} < 100 |0|}}{{ #ifexpr: {{{epnum}}} < 10 |0|}}{{{epnum}}}|* {{{epnum}}}}}]]}}|}}</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==
Line 17: Line 17:
 
where
 
where
 
*'''series''' is the other series's abbreviation ("lg15" or "km" so far)
 
*'''series''' is the other series's abbreviation ("lg15" or "km" so far)
 +
*'''blogger2''' is the other series's blogger, if there are two (can be left blank)
 
*'''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 12:33, 22 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   =
|blogger2 =
|epnum    =
|epname   =
|eplength =
|epdate   =
}}

where

  • series is the other series's abbreviation ("lg15" or "km" so far)
  • blogger2 is the other series's blogger, if there are two (can be left blank)
  • 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.