Difference between revisions of "Template:Infobox card set series"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> ==Template usage== An infobox listing each part of a card set series, for quick navigation. * Name: The name of the card set series. * Part: A word describing th...")
 
Line 20: Line 20:
  
 
Produces:
 
Produces:
<pre>
 
 
{{Infobox card set series
 
{{Infobox card set series
 
|Name=From the Vault
 
|Name=From the Vault
Line 32: Line 31:
 
| abovestyle  = {{Infobox sec|above}}
 
| abovestyle  = {{Infobox sec|above}}
 
| headerstyle  = {{Infobox sec|header}}
 
| headerstyle  = {{Infobox sec|header}}
| labelstyle  = {{Infobox sec|label|width=30%}}
+
| labelstyle  = {{Infobox sec|label|width=25%}}
 
| above  = Card Set Series
 
| above  = Card Set Series
 
| data1  = '''{{{Name}}}'''
 
| data1  = '''{{{Name}}}'''
 
| label2  = {{#if:{{{1|}}}|{{Trim|{{{1}}}}} {{SetSymbol|{{Trim|{{{1}}}}}}}}}
 
| label2  = {{#if:{{{1|}}}|{{Trim|{{{1}}}}} {{SetSymbol|{{Trim|{{{1}}}}}}}}}
 
| data2  = {{#if:{{{1|}}}|[[{{Set expand|{{{1}}}}}]]}}
 
| data2  = {{#if:{{{1|}}}|[[{{Set expand|{{{1}}}}}]]}}
| label3  = {{#if:{{{2|}}}|{{Trim|{{{1}}}}} {{SetSymbol|{{Trim|{{{2}}}}}}}}}
+
| label3  = {{#if:{{{2|}}}|{{Trim|{{{2}}}}} {{SetSymbol|{{Trim|{{{2}}}}}}}}}
 
| data3  = {{#if:{{{2|}}}|[[{{Set expand|{{{2}}}}}]]}}
 
| data3  = {{#if:{{{2|}}}|[[{{Set expand|{{{2}}}}}]]}}
| label4  = {{#if:{{{3|}}}|{{Trim|{{{1}}}}} {{SetSymbol|{{Trim|{{{3}}}}}}}}}
+
| label4  = {{#if:{{{3|}}}|{{Trim|{{{3}}}}} {{SetSymbol|{{Trim|{{{3}}}}}}}}}
 
| data4  = {{#if:{{{3|}}}|[[{{Set expand|{{{3}}}}}]]}}
 
| data4  = {{#if:{{{3|}}}|[[{{Set expand|{{{3}}}}}]]}}
| label5  = {{#if:{{{4|}}}|{{Trim|{{{1}}}}} {{SetSymbol|{{Trim|{{{4}}}}}}}}}
+
| label5  = {{#if:{{{4|}}}|{{Trim|{{{4}}}}} {{SetSymbol|{{Trim|{{{4}}}}}}}}}
 
| data5  = {{#if:{{{4|}}}|[[{{Set expand|{{{4}}}}}]]}}
 
| data5  = {{#if:{{{4|}}}|[[{{Set expand|{{{4}}}}}]]}}
| label6  = {{#if:{{{5|}}}|{{Trim|{{{1}}}}} {{SetSymbol|{{Trim|{{{5}}}}}}}}}
+
| label6  = {{#if:{{{5|}}}|{{Trim|{{{5}}}}} {{SetSymbol|{{Trim|{{{5}}}}}}}}}
 
| data6  = {{#if:{{{5|}}}|[[{{Set expand|{{{5}}}}}]]}}
 
| data6  = {{#if:{{{5|}}}|[[{{Set expand|{{{5}}}}}]]}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 12:18, 29 May 2020

Template usage

An infobox listing each part of a card set series, for quick navigation.

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

All other parameters are the three-letter abbreviations of each part of the card set series, in order.

Example

This shorthand:

{{Infobox card set series
|Name=From the Vault
|Odyssey
|Torment
}}

Produces:

Card Set Series
Card sets: From the Vault
ODY From the Vault: Odyssey From the Vault: Odyssey 
TOR From the Vault: Torment From the Vault: Torment