Open main menu

mtgpq wiki β

Changes

Template:Infobox event series

955 bytes added, 09:50, 28 November 2019
no edit summary
* Label4: An additional label for the 4th event in the series.
* Label5: An additional label for the 5th event in the series.
* Text1: Optional text to use for the 5th event in the series. If not supplied, uses the full event name.* Text2: Optional text to use for the 5th event in the series. If not supplied, uses the full event name.* Text3: Optional text to use for the 5th event in the series. If not supplied, uses the full event name.* Text4: Optional text to use for the 5th event in the series. If not supplied, uses the full event name.* Text5: Optional text to use for the 5th event in the series. If not supplied, uses the full event name.
All other parameters are the names of each part of the event series, in order.
<pre>
{{Infobox event series
|Name=Ravnica at WarChallenge of the Courts|Part=Part
|Label1={{G}}
|Label2={{W}}
|Label4={{U}}
|Label5={{B}}
|Ravnica at War: DevastationChallenge of the Courts - Ardenvale|Ravnica at War: GloryChallenge of the Courts - Vantress|Ravnica at War: PromiseChallenge of the Courts - Lochtwain|Ravnica at War: RevelationChallenge of the Courts - Embereth|Ravnica at War: EternityChallenge of the Courts - Garenbrig
}}
</pre>
Produces:
{{Infobox event series
|Name=Ravnica at WarChallenge of the Courts
|Part=Part
|Label1={{G}}
|Label4={{U}}
|Label5={{B}}
|Ravnica at War: DevastationText1=CotC - Ardenvale|Ravnica at War: GloryText2=CotC - Vantress|Ravnica at War: PromiseText3=CotC - Lochtwain|Ravnica at War: RevelationText4=CotC - Embereth|Ravnica at War: EternityText5=CotC - Garenbrig|Challenge of the Courts - Ardenvale|Challenge of the Courts - Vantress|Challenge of the Courts - Lochtwain|Challenge of the Courts - Embereth|Challenge of the Courts - Garenbrig
}}
| data1 = '''[[{{{Name}}}]]'''
| label2 = {{#if:{{{1|}}}|{{{Part}}} 1{{#if:{{{Label1|}}}|&nbsp;({{{Label1}}})}}}}
| data2 = {{#if:{{{1|}}}|[[{{Trim|{{{1}}}}}{{#if:{{{Text1|}}}|{{!}}{{{Text1}}}}}]]}}
| label3 = {{#if:{{{2|}}}|{{{Part}}} 2{{#if:{{{Label2|}}}|&nbsp;({{{Label2}}})}}}}
| data3 = {{#if:{{{2|}}}|[[{{Trim|{{{2}}}}}{{#if:{{{Text2|}}}|{{!}}{{{Text2}}}}}]]}}
| label4 = {{#if:{{{3|}}}|{{{Part}}} 3{{#if:{{{Label3|}}}|&nbsp;({{{Label3}}})}}}}
| data4 = {{#if:{{{3|}}}|[[{{Trim|{{{3}}}}}{{#if:{{{Text3|}}}|{{!}}{{{Text3}}}}}]]}}
| label5 = {{#if:{{{4|}}}|{{{Part}}} 4{{#if:{{{Label4|}}}|&nbsp;({{{Label4}}})}}}}
| data5 = {{#if:{{{4|}}}|[[{{Trim|{{{4}}}}}{{#if:{{{Text4|}}}|{{!}}{{{Text4}}}}}]]}}
| label6 = {{#if:{{{5|}}}|{{{Part}}} 5{{#if:{{{Label5|}}}|&nbsp;({{{Label5}}})}}}}
| data6 = {{#if:{{{5|}}}|[[{{Trim|{{{5}}}}}{{#if:{{{Text5|}}}|{{!}}{{{Text5}}}}}]]}}
}}</includeonly>