Difference between revisions of "Template:series"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(spacing)
Line 19: Line 19:
 
{{!}}}</includeonly><noinclude>This template is used in the [[:Category:April Fools' Day comics|April Fools' Day comics]] such as [[3074: Push Notifications]]. Example:
 
{{!}}}</includeonly><noinclude>This template is used in the [[:Category:April Fools' Day comics|April Fools' Day comics]] such as [[3074: Push Notifications]]. Example:
 
{{series|April|2|April 1, 2007|55|Sunday|Syndication|April 1, 2007|404: Not Found|April 1, 2009|Hello!}}
 
{{series|April|2|April 1, 2007|55|Sunday|Syndication|April 1, 2007|404: Not Found|April 1, 2009|Hello!}}
 
+
This was generated by:
==Usage==
+
<nowiki>{{series|April|2|April 1, 2007|55|Sunday|Syndication|April 1, 2007|404: Not Found|April 1, 2009|Hello!}}</nowiki>
 +
==Documentation==
 
<pre>
 
<pre>
 
{{series
 
{{series
| 1 = Selects the series. For now, only "April", which stands for April Fools' Day comics, is supported.
+
| series        = April
| 2 = Release date of this comic in the series, such as "April 1, 2008" (optional)
+
| date          =
| 5 = Number of this comic in the series above. For example, "4" if it's the fourth comic in the series. Must be a number.
+
| number        =
| 3 = Name of the previous comic in the series, such as "2916: Machine" (optional)
+
| days_late    =  
| 4 = Release date of the previous comic in the series, such as "April 1, 2008" (required if 3 is provided)
+
| day_category  =  
| 5 = Name of the next comic in the series, such as "2916: Machine" (optional)
+
| prev_title    =  
| 6 = Release date of the next comic in the series, such as "April 1, 2008" (required if 5 is provided)
+
| prev_date    =  
| 7 = Optional text, such as "Hello!" in the example above
+
| next_title    =  
 +
| next_date    =  
 +
| extra_text    =  
 
}}
 
}}
 
</pre>
 
</pre>
 +
; series
 +
 +
: Specifies which series this comic belongs to. Currently, only '''<code>April</code>''' is supported, which refers to the [[April Fools' Day comics]] by Randall.
 +
 +
; date
 +
 +
: The release date of this comic, e.g., '''<code>April 1, 2008</code>'''. This is shown after Randall Munroe's name. Optional.
 +
 +
; number
 +
 +
: The ordinal number of this comic in the series. For example, '''<code>4</code>''' if it's the fourth April Fools' Day comic. Must be a number.
 +
 +
; days_late
 +
 +
: The number of days this comic was released after its intended date. If provided alone, the text will say it was released that many days late. Optional.
 +
 +
; day_category
 +
 +
: A category label such as '''<code>Monday</code>''' or '''<code>Friday</code>''' (without the word '''<code>comics</code>''') used to link to a category like [[:Category:Friday comics]]. If given in addition to '''<code>days_late</code>''', it will say the comic was released '''<code>X days late on a Y</code>'''.
 +
 +
; prev_title
 +
 +
: The title of the previous comic in the series, e.g., '''<code>2915: Lab Report</code>'''. This will be linked as the prior entry in the sequence. Optional.
 +
 +
; prev_date
 +
 +
: The release date of the previous comic. Required if '''<code>prev_title</code>''' is provided, to show when it came out.
 +
 +
; next_title
 +
 +
: The title of the next comic in the series, e.g., '''<code>2917: AI Future</code>'''. Optional. Adds a forward navigation link.
 +
 +
; next_date
 +
 +
: The release date of the next comic. Required if '''<code>next_title</code>''' is provided, to show when it came out.
 +
 +
; extra_text
 +
 +
: Any additional sentence or phrase you'd like to display at the end of the main description. Optional.
 +
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 17:48, 11 May 2025

This template is used in the April Fools' Day comics such as 3074: Push Notifications. Example: } This was generated by:

{{series|April|2|April 1, 2007|55|Sunday|Syndication|April 1, 2007|404: Not Found|April 1, 2009|Hello!}}

Documentation

{{series
| series        = April
| date          = 
| number        = 
| days_late     = 
| day_category  = 
| prev_title    = 
| prev_date     = 
| next_title    = 
| next_date     = 
| extra_text    = 
}}
series
Specifies which series this comic belongs to. Currently, only April is supported, which refers to the April Fools' Day comics by Randall.
date
The release date of this comic, e.g., April 1, 2008. This is shown after Randall Munroe's name. Optional.
number
The ordinal number of this comic in the series. For example, 4 if it's the fourth April Fools' Day comic. Must be a number.
days_late
The number of days this comic was released after its intended date. If provided alone, the text will say it was released that many days late. Optional.
day_category
A category label such as Monday or Friday (without the word comics) used to link to a category like Category:Friday comics. If given in addition to days_late, it will say the comic was released X days late on a Y.
prev_title
The title of the previous comic in the series, e.g., 2915: Lab Report. This will be linked as the prior entry in the sequence. Optional.
prev_date
The release date of the previous comic. Required if prev_title is provided, to show when it came out.
next_title
The title of the next comic in the series, e.g., 2917: AI Future. Optional. Adds a forward navigation link.
next_date
The release date of the next comic. Required if next_title is provided, to show when it came out.
extra_text
Any additional sentence or phrase you'd like to display at the end of the main description. Optional.