Difference between revisions of "Template:Infobox event"
(9 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
This shorthand: | This shorthand: | ||
<pre> | <pre> | ||
− | {{Infobox event| | + | {{Infobox event|Ravnica at War: Eternity}} |
</pre> | </pre> | ||
Produces: | Produces: | ||
− | |||
{{Infobox event|Ravnica at War: Eternity}} | {{Infobox event|Ravnica at War: Eternity}} | ||
Line 32: | Line 31: | ||
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|standard}}|<!-- | -->{{#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}}|coalition}}|<!-- | ||
− | [[File:pvp-sta-coa.png|x24px|PvP Standard Coalition|link=#Icon descriptions]] PvP Standard 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-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}}|pve}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|legacy}}|<!-- | ||
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|<!-- | -->{{#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-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>}} }} }}<!-- | -->[[File:pve-leg.png|x24px|PvE Legacy|link=Portal:Events#Icon descriptions]] PvE Legacy<br>}} }} }}<!-- | ||
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 | + | -->[[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< | + | -->[[File:Spacing-horz.png|23px]]Block <small>[{{Block restrict icons|{{{1}}}}}]</small>|<!-- |
+ | -->[[File:pvp-sta.png|x24px|PvP Block|link=Portal:Events#Icon descriptions]] PvP<br><!-- | ||
+ | -->[[File:Spacing-horz.png|23px]]Block <small>[{{Block restrict icons|{{{1}}}}}]</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 | + | -->[[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< | + | -->[[File:Spacing-horz.png|23px]]Block <small>[{{Block restrict icons|{{{1}}}}}]</small> |<!-- |
+ | -->[[File:pve-sta.png|x24px|PvE Block|link=Portal:Events#Icon descriptions]] PvE<br><!-- | ||
+ | -->[[File:Spacing-horz.png|23px]]Block <small>[{{Block restrict icons|{{{1}}}}}]</small>}} }} }} | ||
}} | }} | ||
Line 70: | Line 73: | ||
| data5 = {{#if:{{Event data: {{{1}}}|8}}|'''{{Event data: {{{1}}}|8}}''' initial charges}}<!-- | | data5 = {{#if:{{Event data: {{{1}}}|8}}|'''{{Event data: {{{1}}}|8}}''' initial charges}}<!-- | ||
-->{{#if:{{Event data: {{{1}}}|9}}|<br>'''{{Event data: {{{1}}}|9}}''' maximum charges}}<!-- | -->{{#if:{{Event data: {{{1}}}|9}}|<br>'''{{Event data: {{{1}}}|9}}''' maximum charges}}<!-- | ||
+ | -->{{#if:{{Event data: {{{1}}}|19}}|{{#if:{{#pos:{{Event data: {{{1}}}|19}}|19}}||<br>'''+{{Event data: {{{1}}}|19}}''' charges per recharge }}}}<!-- | ||
-->{{#if:{{Event data: {{{1}}}|10}}|<br>'''{{Event data: {{{1}}}|10}}''' recharge time}} | -->{{#if:{{Event data: {{{1}}}|10}}|<br>'''{{Event data: {{{1}}}|10}}''' recharge time}} | ||
| label6 = {{#if:{{Event data: {{{1}}}|11}}|Specials}} | | label6 = {{#if:{{Event data: {{{1}}}|11}}|Specials}} | ||
Line 85: | Line 89: | ||
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|supercharged}}|{{Event Icon|supercharged}} Supercharged (x2 mana)<br>}}<!-- | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|supercharged}}|{{Event Icon|supercharged}} Supercharged (x2 mana)<br>}}<!-- | ||
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|legendary}}|{{Event Icon|legendary}} Legendary (x2 both)<br>}}}} | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|legendary}}|{{Event Icon|legendary}} Legendary (x2 both)<br>}}}} | ||
− | | label7 = {{#if:{{Event data: {{{1}}}|12}}|Introduced | + | | label7 = {{#if:{{Event data: {{{1}}}|16}}|Card XP gain}} |
− | | | + | | data7 = {{#if:{{Event data: {{{1}}}|16}}|{{#ifeq:{{Event data: {{{1}}}|16}}|{{Event data: {{{1}}}|17}}|'''{{Event data: {{{1}}}|16}}''' XP ''<small>(all wins on a node)</small>''|'''{{Event data: {{{1}}}|16}}''' XP ''<small>(first win on node)</small>''<br>'''{{Event data: {{{1}}}|17}}''' XP ''<small>(subsequent wins on node)</small>''}}}} |
+ | | label8 = {{#if:{{Event data: {{{1}}}|12}}|Introduced}} | ||
+ | | data8 = <!-- | ||
-->{{#if:{{Event data: {{{1}}}|14}}|{{SetSymbol|{{Event data: {{{1}}}|14}}}} [[{{Event data: {{{1}}}|14}}]] '''·''' }}<!-- | -->{{#if:{{Event data: {{{1}}}|14}}|{{SetSymbol|{{Event data: {{{1}}}|14}}}} [[{{Event data: {{{1}}}|14}}]] '''·''' }}<!-- | ||
-->''{{#if:{{Event data: {{{1}}}|12}}|{{Event data: {{{1}}}|12}}}}<!-- | -->''{{#if:{{Event data: {{{1}}}|12}}|{{Event data: {{{1}}}|12}}}}<!-- |
Latest revision as of 11:50, 9 October 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) | |
---|---|
Type |
PvP Coalition Block [] |
Rewards |
Progression Individual placement Coalition placement |
Nodes | 3 |
Charges |
1 initial charges 4 maximum charges 6h recharge time |
Specials |
PW color-restricted PW choice locked Perma-support in play |
Card XP gain | 20 XP (all wins on a node) |
Introduced | WAR · Jun 2019 · v3.5 |
Portal:Events (Infobox · Data) |