Difference between revisions of "Template:Infobox event series"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> ==Template usage== An infobox listing each part of a multi-part event series, for quick navigation. * Name: The name of the event series. * Part: A word describ...")
 
Line 25: Line 25:
 
Produces:
 
Produces:
 
{{Infobox event series
 
{{Infobox event series
|A Journey Through History
+
|Name=A Journey Through History
|Chapter
+
|Part=Chapter
 
|A Nightmare of War
 
|A Nightmare of War
 
|The Long Cold Darkness
 
|The Long Cold Darkness
Line 41: Line 41:
 
| above  = Event Series
 
| above  = Event Series
 
| data1  = '''[[{{{Name}}}]]'''
 
| data1  = '''[[{{{Name}}}]]'''
| label2  = {{#if:{{{1|}}}|{{{Type}}} 1}}
+
| label2  = {{#if:{{{1|}}}|{{{Part}}} 1}}
| data2  = {{#if:{{{1|}}}|[[{{{1}}}]]
+
| data2  = {{#if:{{{1|}}}|[[{{Trim|{{{1}}}}}]]}}
| label3  = {{#if:{{{2|}}}|{{{Type}}} 2}}
+
| label3  = {{#if:{{{2|}}}|{{{Part}}} 2}}
| data3  = {{#if:{{{2|}}}|[[{{{2}}}]]
+
| data3  = {{#if:{{{2|}}}|[[{{Trim|{{{2}}}}}]]}}
| label4  = {{#if:{{{3|}}}|{{{Type}}} 3}}
+
| label4  = {{#if:{{{3|}}}|{{{Part}}} 3}}
| data4  = {{#if:{{{3|}}}|[[{{{3}}}]]
+
| data4  = {{#if:{{{3|}}}|[[{{Trim|{{{3}}}}}]]}}
| label5  = {{#if:{{{4|}}}|{{{Type}}} 4}}
+
| label5  = {{#if:{{{4|}}}|{{{Part}}} 4}}
| data5  = {{#if:{{{4|}}}|[[{{{4}}}]]
+
| data5  = {{#if:{{{4|}}}|[[{{Trim|{{{4}}}}}]]}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 05:24, 20 February 2019

Template usage

An infobox listing each part of a multi-part event series, for quick navigation.

  • Name: The name of the event series.
  • Part: A word describing the event parts, such as "Part" or "Chapter".

All other parameters are the names of each part of the event series, in order.

Example

This shorthand:

{{Infobox event series
|Name=A Journey Through History
|Part=Chapter
|A Nightmare of War
|The Long Cold Darkness
|The Phyrexian Compleation
|The Space-Time Catastrophe
}}

Produces:

Event Series
A Journey Through History
Chapter 1 A Nightmare of War
Chapter 2 The Long Cold Darkness
Chapter 3 The Phyrexian Compleation
Chapter 4 The Space-Time Catastrophe