Difference between revisions of "Template:EventTableRow"
Line 1: | Line 1: | ||
<noinclude>Shorthand for creating a row of a table containing details of an event. | <noinclude>Shorthand for creating a row of a table containing details of an event. | ||
− | + | The only parameter is the event name. The event data is pulled from the associated event data template. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Example == | == Example == | ||
This shorthand within a table | This shorthand within a table | ||
<pre><nowiki> | <pre><nowiki> | ||
− | {{EventTableRow | + | {{EventTableRow|A World Reborn}} |
− | | | + | </nowiki></pre> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Produces: | Produces: | ||
{| class="wikitable" | {| class="wikitable" | ||
− | {{EventTableRow | + | {{EventTableRow|A World Reborn}} |
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
</noinclude><includeonly>|- | </noinclude><includeonly>|- | ||
− | ! style="text-align: left;" | {{nowrap| [[{{{ | + | ! style="text-align: left;" | {{nowrap| [[{{Event data: {{{1}}}|1}}]]<!-- |
− | -->{{#if: {{{ | + | -->{{#if: {{Event data: {{{1}}}|2}} | <small>({{Event data: {{{1}}}|2}})</small>}} }}<!-- |
− | -->{{#if: {{{ | + | -->{{#if: {{Event data: {{{1}}}|5}} | <span style="color:#808080"><small>{{nowrap|''(entry {{Event data: {{{1}}}|5}} [[File:crystal.png|x14px]])''}}</small></span>}} |
− | | [[{{{ | + | | [[{{Event data: {{{1}}}|14}}]] |
− | | style="background:#22354b" | {{#if: {{#pos:{{{ | + | | style="background:#22354b" | {{#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]] | [[File:pvp-leg.png|x24px|PvP Legacy|link=#Icon descriptions]] }} }} }}<!-- | [[File:pvp-leg-coa.png|x24px|PvP Legacy Coalition|link=#Icon descriptions]] | [[File:pvp-leg.png|x24px|PvP Legacy|link=#Icon descriptions]] }} }} }}<!-- | ||
− | -->{{#if: {{#pos:{{{ | + | -->{{#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]] | [[File:pvp-sta.png|x24px|PvP Standard|link=#Icon descriptions]] }} }} }}<!-- | [[File:pvp-sta-coa.png|x24px|PvP Standard Coalition|link=#Icon descriptions]] | [[File:pvp-sta.png|x24px|PvP Standard|link=#Icon descriptions]] }} }} }}<!-- | ||
− | -->{{#if: {{#pos:{{{ | + | -->{{#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]] | [[File:pve-leg.png|x24px|PvE Legacy|link=#Icon descriptions]] }} }} }}<!-- | [[File:pve-leg-coa.png|x24px|PvE Legacy Coalition|link=#Icon descriptions]] | [[File:pve-leg.png|x24px|PvE Legacy|link=#Icon descriptions]] }} }} }}<!-- | ||
− | -->{{#if: {{#pos:{{{ | + | -->{{#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]] | [[File:pve-sta.png|x24px|PvE Standard|link=#Icon descriptions]] }} }} }} | [[File:pve-sta-coa.png|x24px|PvE Standard Coalition|link=#Icon descriptions]] | [[File:pve-sta.png|x24px|PvE Standard|link=#Icon descriptions]] }} }} }} | ||
− | | style="background:#22354b" | {{#if: {{#pos:{{{ | + | | style="background:#22354b" | {{#if: {{#pos:{{Event data: {{{1}}}|4}}|progression}}|[[File:reward-progression.png|x24px|Progression rewards|link=#Icon descriptions]]|[[File:reward-blank.png|x24px]]}}<!-- |
− | -->{{#if: {{#pos:{{{ | + | -->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|placement}}|[[File:reward-placement.png|x24px|Placement rewards|link=#Icon descriptions]]|[[File:reward-blank.png|x24px]]}}<!-- |
− | -->{{#if: {{#pos:{{{ | + | -->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|coalition}}|[[File:reward-coalition.png|x24px|Coalition rewards|link=#Icon descriptions]]|[[File:reward-blank.png|x24px]]}} |
− | | style="text-align:center" | {{ | + | | style="text-align:center" | {{Event data: {{{1}}}|6}}{{#if:{{Event data: {{{1}}}|7}} | <small>x{{Event data: {{{1}}}|7}} }}</small> |
− | | {{#if: {{ | + | | {{#if: {{Event data: {{{1}}}|8}} | {{Event data: {{{1}}}|8}}/{{Event data: {{{1}}}|9}} <small>''++{{Event data: {{{1}}}|10}}''</small> | -}} |
− | | {{#if: {{#pos:{{{ | + | | {{#if: {{#pos:{{Event data: {{{1}}}|11}}|color_restrict}}|[[File:event-color_restrict.png|x24px|Planeswalker choice restricted by color|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{ | + | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|locked_nodes}}|[[File:event-locked_nodes.png|x24px|Planeswalker choice can't be changed once made|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{ | + | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|pw_restrict}}|[[File:event-pw_restrict.png|x24px|A node can only be played by a certain Planeswalker|link=#Icon descriptions]]}} |
− | | {{#if: {{#pos:{{{ | + | | {{#if: {{#pos:{{Event data: {{{1}}}|11}}|boss_hp}}|[[File:event-boss_hp.png|x24px|Boss Health event|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{ | + | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|duel_decks}}|[[File:event-duel_decks.png|x24px|Duel Decks event|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{ | + | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|perm_support}}|[[File:event-perm_support.png|x24px|Permanent support affects play|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{ | + | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|special_rules}}|[[File:event-special_rules.png|x24px|Special rules affect play|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{ | + | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|bonus_cards}}|[[File:event-bonus_cards.png|x24px|Bonus cards are added to hand|link=#Icon descriptions]]}} |
− | | {{#if: {{#pos:{{{ | + | | {{#if: {{#pos:{{Event data: {{{1}}}|11}}|enraged}}|[[File:event-enraged.png|x24px|Enraged (2x damage after 5 turns)|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{ | + | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|supercharged}}|[[File:event-supercharged.png|x24px|Supercharged (2x mana after 5 turns)|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{ | + | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|legendary}}|[[File:event-legendary.png|x24px|Legendary (2x damage and mana after 3 turns)|link=#Icon descriptions]]}}</includeonly> |
Revision as of 09:55, 14 February 2019
Shorthand for creating a row of a table containing details of an event.
The only parameter is the event name. The event data is pulled from the associated event data template.
Example
This shorthand within a table
{{EventTableRow|A World Reborn}}
Produces:
A World Reborn (AWR) | DOM | 2x3 | 2/5 +8h |
---|