Template:Ep/OrderSwitcher

This template is used by Infobox Episode to automatically select the previous and next episodes based on the episode code provided. This method is preferred over manually providing episode titles, such as "Arrival at Kraghammer", or episode numbers, such as "1x01", because any changes to the way episodes are titled or chapters are divided will require changes throughout the wiki that would be tedious and prone to errors if performed manually. By using this episode code scheme, however, we can quickly set the order of episodes based on story order and airdate order, then quickly rearrange or insert episodes anywhere in this template whenever needed, automatically updating episode infoboxes throughout the wiki.

The data in this template can also be called by Ep/CodeSwitcher to produce the Geek & Sundry-like episode number in the series, which can be used in various places around this wiki, including the list of episodes and Infobox Episode.

Bear in mind that LUA modules would probably do all of this more efficiently, but we don't have any LUA coders on the wiki at the moment.

Creating New Episode Codes
To create an episode code, use the following format:
 * 1) On a new line in the correct episode order, start with a plus sign ( + ).  The plus sign tells the infobox template where each episode begins in this list.
 * 2) Type the date the episode aired, according to the Los Angeles timezone, in the format YYYYMMDD.  For Thursday, July 14th, 2016, the date would be formatted as 20160714.
 * 3) Type a standard keyboard hyphen:  -
 * 4) Type the time the episode aired, according to the Los Angeles timezone, in the twenty-four hour format of HHMM.  For 7pm in LA, the time would be formatted as 1900.
 * 5) Type a space, followed by the episode using ep.  You can use any of the formats that ep accepts, such as   ,   , or   .  See the documentation on that template for more formats.
 * 6) Type a space, followed by the episode number in the series.  For example, the number would be 43b.
 * 7) * This number in the series helps us integrate Geek & Sundry's numbering scheme (which doesn't always make sense) with this wiki's tracking schemes.  See, for example, the list of episodes and note the numbers in the series for the special episodes.  To determine what this number should be for a new episode, use the number provided from Geek & Sundry (or, if not provided, then the previous episode's number).  If an episode already exists with that number, then append the next available letter from the alphabet.  The alphabetized numbers should correspond to the release order, so please adjust them if a new episode or video is going to inserted into the list of episodes.

Invoking an Episode Code on Other Pages

 * To use one of the episode codes (listed below) in the episode infobox, just copy and paste the number part without the plus sign or the episode title.
 * For example, in the episode infobox:  | EpCode = 20160225-1900
 * To use one of the episode codes elsewhere on the wiki, use, where is either name (produces the episode name from ep) or gns (produces the episode number in the series based on Geek & Sundry's numbering).
 * For example, invoked elsewhere:   yields 43b

Story Order
§ +20160121-1900 39 +20160128-1900 40 +20160204-1900 41 +20160211-1900 42 +20160218-1900 43 +20160310-1900 44 +20160317-1900 45 +20160220-1445 43a +20160225-1900 43b +

Airdate Order
§ +20160121-1900 39 +20160128-1900 40 +20160204-1900 41 +20160211-1900 42 +20160218-1900 43 +20160220-1445 43a +20160225-1900 43b +20160310-1900 44 +20160317-1900 45 +