Difference between revisions of "Template:Infobox event"

From mtgpq wiki
Jump to: navigation, search
Line 7: Line 7:
 
This shorthand:
 
This shorthand:
 
<pre>
 
<pre>
{{Infobox event|A World Reborn}}
+
{{Infobox event|Ravnica at War: Eternity}}
 
</pre>
 
</pre>
  
 
Produces:
 
Produces:
{{Infobox event|A World Reborn}}
 
 
{{Infobox event|Ravnica at War: Eternity}}
 
{{Infobox event|Ravnica at War: Eternity}}
  
Line 47: Line 46:
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|block}}|<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|block}}|<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|<!--
 
-->{{#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-coa.png|x24px|PvP Block Coalition|link=#Icon descriptions]] PvP Coalition<br><!--
-->[[File:pvp-sta.png|x24px|PvP Block|link=Portal:Events#Icon descriptions]] PvP Block<br>}} }} }}<!--
+
-->[[File:Spacing-horz.png|23px]]Block <small>&#91;{{Block restrict icons|{{{1}}}}}&#93;</small>|<!--
 +
-->[[File:pvp-sta.png|x24px|PvP Block|link=Portal:Events#Icon descriptions]] PvP<br><!--
 +
-->[[File:Spacing-horz.png|23px]]Block <small>&#91;{{Block restrict icons|{{{1}}}}}&#93;</small>}} }} }}<!--
  
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pve}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|block}}|<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pve}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|block}}|<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|<!--
 
-->{{#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-coa.png|x24px|PvE BlockCoalition|link=#Icon descriptions]] PvE Coalition<br><!--
-->[[File:pve-sta.png|x24px|PvE Block|link=Portal:Events#Icon descriptions]] PvE Block<br>}} }} }}
+
-->[[File:Spacing-horz.png|23px]]Block <small>&#91;{{Block restrict icons|{{{1}}}}}&#93;</small> |<!--
 +
-->[[File:pve-sta.png|x24px|PvE Block|link=Portal:Events#Icon descriptions]] PvE<br><!--
 +
-->[[File:Spacing-horz.png|23px]]Block <small>&#91;{{Block restrict icons|{{{1}}}}}&#93;</small>}} }} }}
  
 
}}
 
}}

Revision as of 04:15, 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|Ravnica at War: Eternity}}

Produces:

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)