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...")
 
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
* Name: The name of the card set series.
 
* Name: The name of the card set series.
 
* Part: A word describing the event parts, such as "Part" or "Chapter".
 
* Part: A word describing the event parts, such as "Part" or "Chapter".
 +
* Extra1: Additional content to show for the 1st card set in the series.
 +
* Extra2: Additional content to show for the 2nd card set in the series.
 +
* Extra3: Additional content to show for the 3rd card set in the series.
 +
* Extra4: Additional content to show for the 4th card set in the series.
 +
* Extra5: Additional content to show for the 5th card set in the series.
  
 
All other parameters are the three-letter abbreviations of each part of the card set series, in order.
 
All other parameters are the three-letter abbreviations of each part of the card set series, in order.
Line 14: Line 19:
 
{{Infobox card set series
 
{{Infobox card set series
 
|Name=From the Vault
 
|Name=From the Vault
|Odyssey
+
|ODY
|Torment
+
|TOR
 +
}}
 +
 
 +
{{Infobox card set series
 +
|Name=Duel Decks
 +
|ZVE
 +
|Extra1=[[Duel Decks: Zendikar vs Eldrazi|<small>[DD:ZVE Event]</small>]]
 +
|DvK
 +
|Extra2=[[Duel Decks: Daxos vs Kalemne|<small>[DD:DvK Event]</small>]]
 
}}
 
}}
 
</pre>
 
</pre>
  
 
Produces:
 
Produces:
<pre>
 
 
{{Infobox card set series
 
{{Infobox card set series
 
|Name=From the Vault
 
|Name=From the Vault
 
|ODY
 
|ODY
 
|TOR
 
|TOR
 +
}}
 +
 +
{{Infobox card set series
 +
|Name=Duel Decks
 +
|ZVE
 +
|Extra1=[[Duel Decks: Zendikar vs Eldrazi|<small>[DD:ZVE Event]</small>]]
 +
|DvK
 +
|Extra2=[[Duel Decks: Daxos vs Kalemne|<small>[DD:DvK Event]</small>]]
 
}}
 
}}
  
Line 32: Line 52:
 
| 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=22%}}
 
| above  = Card Set Series
 
| above  = Card Set Series
| data1  = '''{{{Name}}}'''
+
| data1  = '''Card sets: {{{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}}}}}]]&nbsp; {{{Extra1|}}}}}
| 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}}}}}]]&nbsp; {{{Extra2|}}}}}
| 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}}}}}]]&nbsp; {{{Extra3|}}}}}
| 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}}}}}]]&nbsp; {{{Extra4|}}}}}
| 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}}}}}]]&nbsp; {{{Extra5|}}}}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 06:05, 6 June 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".
  • Extra1: Additional content to show for the 1st card set in the series.
  • Extra2: Additional content to show for the 2nd card set in the series.
  • Extra3: Additional content to show for the 3rd card set in the series.
  • Extra4: Additional content to show for the 4th card set in the series.
  • Extra5: Additional content to show for the 5th card set in the series.

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
|ODY
|TOR
}}

{{Infobox card set series
|Name=Duel Decks
|ZVE
|Extra1=[[Duel Decks: Zendikar vs Eldrazi|<small>[DD:ZVE Event]</small>]]
|DvK
|Extra2=[[Duel Decks: Daxos vs Kalemne|<small>[DD:DvK Event]</small>]]
}}

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 
Card Set Series
Card sets: Duel Decks
ZVE Zendikar vs Eldrazi Zendikar vs Eldrazi  [DD:ZVE Event]
DvK Daxos vs Kalemne Daxos vs Kalemne  [DD:DvK Event]