FANDOM



Template documentation (for the above template, sometimes hidden or invisible)[view] [edit] [history] [refresh]

Description

This template is used to automate the Airdate Order of episodes in Template:Infobox episode.

Dependencies

  • Module:AirdateOrder: contains the actual code and lists every episode in order by airdate. Must be updated regularly.
  • Module:Ep/Switcher: accepts the ep parameter, matches it with an episode, and returns the CxEE code to Module:AirdateOrder. Must be updated regularly.

Usage

{{AirdateOrder|<ep>|<order=next or prev>}}

The ep parameter can be any of the same values used for Template:Ep and Template:Ep ref: the episode's name, the Geek & Sundry number (eg. 68), the CxEE code (eg. 5x12), etc.

When used in an episode infobox, the ep parameter can be left as {{PAGENAME}} for simplicity's sake.

The order parameter must be set to either order=next or order=prev. next will cause the template to display the episode that aired next in order; prev will display the previous episode.

If the given combination of ep and order does not produce a result (eg. "Arrival at Kraghammer" and "order=prev"; or "order=next" with the most recent episode), then the template will display N/A.

ExampleResult
{{AirdateOrder|Trial of the Take: Part 2|order=next}}"Trial of the Take: Part 3" (1x20)


{{AirdateOrder|6x01|order=prev}}"Passed Through Fire" (1x69)


{{AirdateOrder|92|order=next}}"Talks Machina Answers Your Questions Live at WonderCon" (TMx19)


{{AirdateOrder|Episode 1|order=prev}}N/A


See Also

The above text is transcluded from Template:AirdateOrder/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to Template:AirdateOrder/doc. (View all subpages of this page.)
Community content is available under CC-BY-SA unless otherwise noted.