Difference between revisions of "Template:Infobox event"

From mtgpq wiki
Jump to: navigation, search
Line 24: Line 24:
 
| data1  = {{#if:{{Event data: {{{1}}}|3}}|<!--
 
| data1  = {{#if:{{Event data: {{{1}}}|3}}|<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|legacy}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|legacy}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
[[File:pvp-leg-coa.png|x24px|PvP Legacy Coalition|link=#Icon descriptions]] PvP Legacy Coalition<br>| [[File:pvp-leg.png|x24px|PvP Legacy|link=#Icon descriptions]] PvP Legacy<br>}} }} }}<!--
+
[[File:pvp-leg-coa.png|x24px|PvP Legacy Coalition|link=#Icon descriptions]] PvP Legacy Coalition<br>| [[File:pvp-leg.png|x24px|PvP Legacy|link=Portal:Events#Icon descriptions]] PvP Legacy<br>}} }} }}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|standard}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|standard}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
 
[[File:pvp-sta-coa.png|x24px|PvP Standard Coalition|link=#Icon descriptions]] PvP Standard Coalition<br>| [[File:pvp-sta.png|x24px|PvP Standard|link=Portal:Events#Icon descriptions]] PvP Standard<br>}} }} }}<!--
 
[[File:pvp-sta-coa.png|x24px|PvP Standard Coalition|link=#Icon descriptions]] PvP Standard Coalition<br>| [[File:pvp-sta.png|x24px|PvP Standard|link=Portal:Events#Icon descriptions]] PvP Standard<br>}} }} }}<!--
Line 34: Line 34:
 
| label2  = {{#if:{{Event data: {{{1}}}|4}}|Rewards}}
 
| label2  = {{#if:{{Event data: {{{1}}}|4}}|Rewards}}
 
| data2  = {{#if:{{Event data: {{{1}}}|4}}|<!--
 
| data2  = {{#if:{{Event data: {{{1}}}|4}}|<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|progression}}|[[File:reward-progression.png|x24px|Progression rewards|link=#Icon descriptions]] Progression<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|progression}}|[[File:reward-progression.png|x24px|Progression rewards|link=Portal:Events#Icon descriptions]] Progression<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|placement}}|[[File:reward-placement.png|x24px|Placement rewards|link=#Icon descriptions]] Individual placement<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|placement}}|[[File:reward-placement.png|x24px|Placement rewards|link=Portal:Events#Icon descriptions]] Individual placement<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|coalition}}|[[File:reward-coalition.png|x24px|Coalition rewards|link=#Icon descriptions]] Coalition placement<br>}}}}
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|coalition}}|[[File:reward-coalition.png|x24px|Coalition rewards|link=Portal:Events#Icon descriptions]] Coalition placement<br>}}}}
 
| label3  = {{#if:{{Event data: {{{1}}}|5}}|Entry fee}}
 
| label3  = {{#if:{{Event data: {{{1}}}|5}}|Entry fee}}
 
| data3  = {{#if:{{Event data: {{{1}}}|5}}|'''{{crystals|{{Event data: {{{1}}}|5}}}}'''}}
 
| data3  = {{#if:{{Event data: {{{1}}}|5}}|'''{{crystals|{{Event data: {{{1}}}|5}}}}'''}}

Revision as of 07:52, 2 March 2019

Template usage

The only parameter is the event name. The event data is pulled from the associated event data template.

Example

This shorthand:

{{Infobox event|A World Reborn}}

Produces:

A World Reborn (AWR)
EventsStoryPlaneswalkersCardsGuides
AWorldReborn.png
Type PvE Legacy Coalition PvE Legacy Coalition
Rewards Progression rewards Progression
Coalition rewards Coalition placement
Nodes 2 (x3 sub-nodes)
Charges 2 initial charges
5 maximum charges
8h recharge time
Specials Permanent support  Perma-support in play
Bonus cards Bonus cards in hand
Introduced Dominaria DOM · May 2018 · v2.7
Portal:Events   (Infobox · Data)