Jump to content

User:Deliriousandlost/playpen/0/doc

From Wikipedia, the free encyclopedia

For lists that include only air dates, guests, etc, with no summary, remove |Sketches=, which removes cell and line separator colouring.

Parameters

[edit]
Episode list parameters (and basic guidelines)
EpisodeNumber
(optional)
A number representing the episode's order in the series. For example, the first episode would be 1 or 01, and so on. When defined, this parameter also creates a link anchor, prefixed by "ep"; for example, "[[List of episodes#ep01]]".
EpisodeNumber2
(optional)
A second episode number column. Useful for when a series aired in a different order, or only included certain episodes, etc.
OriginalAirDate This is the date the episode first aired on TV. Use {{start date}}.
RDate
(optional)
Unformatted parameter that can be used to add a reference after Original Air Date.
GuestHost
(optional)
Use if the regular host of the show has been replaced by a guest host for this episode.
Guests
(optional)
This is the guests who appeared in the episode.
MusicalGuests
(optional)
This is the band, musician, comedian/comedienne or other performance guest.
Aux1(optional) Optional parameter. The meaning is specified by the table header.
Aux2
Aux3(optional)
Optional parameters. The meaning is specified by the table header.
Sketches
(optional)
A short 100-300 summary of the sketches in the episode. Make summaries specific to that episode (as in, a description that would normally not be confused with another episode). They must not be copied from other sources, as this violates WP:COPYRIGHT.
LineColor
(optional)
Hex codes for the separator line between episode entries. Use code without the #. #00ff00 would be entered as 00ff00. When none is defined the color defaults to "#cc99ff".
TopColor
(optional)
Colors the main row of information (that is, not the ShortSummary row). When not defined, if ShortSummary is defined, this defaults to #F2F2F2; otherwise, it defaults to the table default.


This is where information from the template is placed when rendered ({{{LineColor}}} not shown, since there's no text to display, just a color):

EpisodeNumber{{{EpisodeNumber2}}} {{{OriginalAirDate}}}{{{RDate}}}
"{{{AltDate}}}"
{{{GuestHost}}}{{{Guests}}}{{{MusicalGuests}}}{{{Aux1}}}{{{Aux2}}}{{{Aux3}}}
{{{Sketches}}} 

Using the template

[edit]

When using optional parameters (such as Aux1, AltDate, etc) only list the parameters that are being used, and adjust the table headers accordingly. This will help avoid confusion when one entry has a parameter filled out and another does not. A table cell will be open for a listed parameter, whether it is filled out or not.

To apply an entry to an episode listing add the following where the episode would go in the List of episodes.

{{lnep
 |-
 |EpisodeNumber= 
 |EpisodeNumber2= 
 |OriginalAirDate= 
 |AltDate= 
 |RDate= 
 |GuestHost=
 |Guests= 
 |MusicalGuests=
 |Aux1=
 |Aux2=
 |Aux3=
 |Sketches=
 |LineColor=
}}

Because this is only part of a WikiTable, you first need to open the WikiTable. You need to edit this example according to the optional parameters that you want to show in your table. For example to create a list with only EpisodeNumber, Title, OriginalAirDate, ProdCode, and ShortSummary parameters:

{| class="wikitable" style="width:100%; margin:auto; background:#FFFFFF;"
|-
! width="20"|# !! Title !! width="120"|Original air date !! width="120"|Production code

The Television episode template(s) would the follow here

{{User:Deliriousandlost/playpen/0
 |EpisodeNumber= 12
 |EpisodeNumber2= 
 |OriginalAirDate={{Startdate|2009|06|01}}
 |AltDate= 
 |RDate= 
 |GuestHost=
 |Guests= [[Will Farrell]]
 |MusicalGuests=[[Pearl Jam]]
 |Aux1=
 |Aux2=
 |Aux3=
 |Sketches=Move to [[Los Angeles|LA]], Greetings from [[Hillary Clinton]], the letter "D" from the [[Hollywood Sign]], Universal Studios tour tram, Conan's Ford Taurus
 |LineColor=112266
}}

After the final episode entry/template you will need to close the WikiTable with:

 |}

Example

[edit]

This entry:

{{lnep
 |EpisodeNumber= 1
 |OriginalAirDate={{Startdate|2009|06|01}}
 |Guests= [[Will Farrell]]
 |MusicalGuests=[[Pearl Jam]]
 |Sketches=Move to [[Los Angeles|LA]], Greetings from [[Hillary Clinton]], the letter "D" from the [[Hollywood Sign]], Universal Studios tour tram, Conan's Ford Taurus
 |LineColor=112266
}}

Would appear as follows (shown without table headers):

# Original air date Guest(s) Musical Guest(s)
1 June 1, 2009 (2009-06-01) Will FarrellPearl Jam
Move to LA, Greetings from Hillary Clinton, the letter "D" from the Hollywood Sign, Universal Studios tour tram, Conan's Ford Taurus 

Tips

[edit]

It may be helpful to include a hidden message that will appear when someone edits the article. Placed above the table headers and under the article section, such as:

==Episodes==
<!-- For help with this template see http://wiki.riteme.site/wiki/User:Deliriousandlost/playpen/0 -->

This message won't be visible when normally viewing the article. A message such as this notes where one can get help for the template.

Episode list templates

[edit]

Microformat

[edit]

The HTML markup produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project.

Dates will only be included if you use {{Start date}} or {{End date}} (use the former for single dates). As an alternative, you may use {{Start-date}} and {{End-date}}.

hCalendar uses HTML classes including:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • vevent

Please do not rename or remove these classes; nor collapse nested elements which use them.

Pages which use multiple instances of this template can also use {{UF-timeline}}, in their external links section, to generate a SIMILE timeline. It renders as:


For shows where each episode is from a different, single, specific place (for example, Time Team, one of the Aux fields can contain the coordinates, applied using {{coord}}.