Difference between revisions of "Template:series"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
Line 1: Line 1:
<includeonly> {{#ifexpr: {{{1}}} = april |
+
<includeonly> {{#ifeq: {{{1}}} | april |
 
{{{!}} class="wikitable"
 
{{{!}} class="wikitable"
 
{{!}}-
 
{{!}}-
Line 5: Line 5:
 
  - Video number                                -->This is the '''{{ordinal|{{{2|}}}}}''' April Fools' Day comic released by [[Randall Munroe]].<!--
 
  - Video number                                -->This is the '''{{ordinal|{{{2|}}}}}''' April Fools' Day comic released by [[Randall Munroe]].<!--
 
  - Date YYYY-MM-DD                              --> The {{#if:{{{3|}}}|previous one is {{{3|}}}, released on {{{4|}}}{{#if:{{{5|}}}|, and the|.}}|}} {{#if:{{{5|}}}| next one was {{{5|}}}, released on {{{6|}}}.}}|}}. View all the [[April Fools' Day comics]] here.
 
  - Date YYYY-MM-DD                              --> The {{#if:{{{3|}}}|previous one is {{{3|}}}, released on {{{4|}}}{{#if:{{{5|}}}|, and the|.}}|}} {{#if:{{{5|}}}| next one was {{{5|}}}, released on {{{6|}}}.}}|}}. View all the [[April Fools' Day comics]] here.
{{!}}}}}
+
{{!}}}}}</includeonly><noinclude>
<!--
 
- Hyperlinked YouTube title because provided  --> <span class="plainlinks">'''[https://www.youtube.com/watch?v={{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{5|dQw4w9WgXcQ}}}|youtu.be/}}|youtube.com/watch?v=}}|www.}}|http://}}|https://}} {{{6|}}}]'''</span>|<!--
 
 
 
2ND CASE, NOT APRIL FOOLS'
 
- Start everything hyperlinked when no title  --><span class="plainlinks">[https://www.youtube.com/watch?v={{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{5|dQw4w9WgXcQ}}}|youtu.be/}}|youtube.com/watch?v=}}|www.}}|http://}}|https://}}<!--
 
- Video number                                --> '''{{ordinal|{{{1|}}}}}''' video,<!--
 
- Date YYYY-MM-DD                              --> on {{#time:Y&#8209;m&#8209;d|{{{2|}}}-{{{3|}}}-{{{4|}}}}}]</span>}}<!--
 
 
 
BOOKS          --> |data-sort-value="{{#expr: 10000*{{formatnum:{{{1|0}}}|R}}+{{formatnum:{{{2|0}}}|R}} }}" style={{#switch:{{{1|}}}<!--
 
1st book        -->|1="background-color:#9eff9e;"{{!}}''[[What If? (book)|What&nbsp;If?]]''<!--
 
2nd book        -->|2="background-color:#ffff88;"{{!}}''[[What If? 2|What&nbsp;If?&nbsp;2]]''<!--
 
3rd book        -->|3="background-color:#ffccee;"{{!}}Available '''[[What If? 10th Anniversary Edition|exclusively]]''' on ''[[What If? 10th Anniversary Edition|What&nbsp;If? 10th Anniversary Edition]]''<!--
 
4th book?      -->|4="background-color:#bbffee;"{{!}}''[[What If? Future Edition|What&nbsp;If? Future Edition]]''<!--
 
 
 
ERROR          -->|#default= "background-color:#000000;"{{!}}<span style="color:#FFFFFF; background:#FF0000">'''[[Template:book#Usage|&nbsp;Template used incorrectly. Click here for instructions.&nbsp;]]'''</span>'''}}<!--
 
Chapter nr.    -->{{#if:{{{3|}}}|, with a different title}}, '''Chapter&nbsp;{{{2|unknown}}}{{#if:{{{3|}}}|<nowiki>:</nowiki> {{{3}}}}}'''}}</includeonly><noinclude>
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
{{series|april|Syndication|April 1, 2007|404: Not Found|April 1, 2008}}
 
{{series|april|Syndication|April 1, 2007|404: Not Found|April 1, 2008}}

Revision as of 16:14, 11 May 2025

}