Difference between revisions of "Template:Infobox event"

From mtgpq wiki
Jump to: navigation, search
Line 12: Line 12:
 
Produces:
 
Produces:
 
{{Infobox event|A World Reborn}}
 
{{Infobox event|A World Reborn}}
 +
{{Infobox event|Ravnica at War: Eternity}}
  
 
[[Category:Infobox templates]]
 
[[Category:Infobox templates]]
Line 24: Line 25:
 
| label1  = {{#if:{{Event data: {{{1}}}|3}}|Type}}
 
| label1  = {{#if:{{Event data: {{{1}}}|3}}|Type}}
 
| 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}}|<!--
[[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}}|coalition}}|<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|standard}}|{{#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-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-leg.png|x24px|PvP Legacy|link=Portal:Events#Icon descriptions]] PvP Legacy<br>}} }} }}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pve}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|legacy}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
+
 
[[File:pve-leg-coa.png|x24px|PvE Legacy Coalition|link=#Icon descriptions]] PvE Legacy Coalition<br>| [[File:pve-leg.png|x24px|PvE Legacy|link=Portal:Events#Icon descriptions]] PvE Legacy<br>}} }} }}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|standard}}|<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pve}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|standard}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|<!--
[[File:pve-sta-coa.png|x24px|PvE Standard Coalition|link=#Icon descriptions]] PvE Standard Coalition<br>| [[File:pve-sta.png|x24px|PvE Standard|link=Portal:Events#Icon descriptions]] PvE 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>}} }} }}<!--
 +
 
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pve}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|legacy}}|<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|<!--
 +
[[File:pve-leg-coa.png|x24px|PvE Legacy Coalition|link=#Icon descriptions]] PvE Legacy Coalition<br>|<!--
 +
-->[[File:pve-leg.png|x24px|PvE Legacy|link=Portal:Events#Icon descriptions]] PvE Legacy<br>}} }} }}<!--
 +
 
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pve}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|standard}}|<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|<!--
 +
-->[[File:pve-sta-coa.png|x24px|PvE Standard Coalition|link=#Icon descriptions]] PvE Standard Coalition<br>|<!--
 +
-->[[File:pve-sta.png|x24px|PvE Standard|link=Portal:Events#Icon descriptions]] PvE Standard<br>}} }} }}<!--
 +
 
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|block}}|<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|<!--
 +
-->[[File:pvp-sta-coa.png|x24px|PvP Block Coalition|link=#Icon descriptions]] PvP Block Coalition<br>|<!--
 +
-->[[File:pvp-sta.png|x24px|PvP Block|link=Portal:Events#Icon descriptions]] PvP Block<br>}} }} }}<!--
 +
 
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pve}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|block}}|<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|<!--
 +
[[File:pve-sta-coa.png|x24px|PvE BlockCoalition|link=#Icon descriptions]] PvE Block Coalition<br>|<!--
 +
-->[[File:pve-sta.png|x24px|PvE Block|link=Portal:Events#Icon descriptions]] PvE Block<br>}} }} }}<!--
 +
 
 
}}
 
}}
 
| label2  = {{#if:{{Event data: {{{1}}}|4}}|Rewards}}
 
| label2  = {{#if:{{Event data: {{{1}}}|4}}|Rewards}}

Revision as of 03:38, 22 March 2020

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)
Ravnica at War: Eternity (RaW:E)
EventsStoryPlaneswalkersCardsGuides
RaW-Eternity.png
Type PvP Block Coalition PvP Coalition
Spacing-horz.pngBlock [OriginsGuilds of RavnicaRavnica AllegianceWar of the SparkCore Set 2020Core Set 2021]
Rewards Progression rewards Progression
Placement rewards Individual placement
Coalition rewards Coalition placement
Nodes 3
Charges 1 initial charges
4 maximum charges
6h recharge time
Specials Color restriction  PW color-restricted
Locked nodes    PW choice locked
Permanent support  Perma-support in play
Card XP gain 20 XP (all wins on a node)
Introduced War of the Spark WAR · Jun 2019 · v3.5
Portal:Events   (Infobox · Data)