Open main menu

mtgpq wiki β

Changes

Template:Infobox event

2,014 bytes added, 02:40, 14 February 2019
no edit summary
{{Infobox
| abovestyle = {{Infobox sec|above}}
| headerstyle = {{Infobox sec|header}}
| labelstyle = {{Infobox sec|label|width=30%}}
| above = {{{name|{{PAGENAME}}}}}
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|250px]]}}
| label1 = Name
| data1 = {{{name|{{PAGENAME}}}}}
| label2 = {{#if:{{{alias|}}}|Abbreviation}}
| data2 = {{#if:{{{alias|}}}|{{{alias}}}}}
| label3 = {{#if:{{{type|}}}|Type}}
| data3 = {{#if:{{{type|}}}|{{{type}}}}}
| belowstyle = background:#ddf;
| below = [[Events]]
}}
 
<noinclude>
==Template usage==
<nowiki>{{{image}}}</nowiki> and <nowiki>{{{aliases}}}</nowiki> - as well as all The only parameter is the lore fields - are hidden, if not specified event name. You can simply copy/paste The event data is pulled from the associated event data template below and fill in data (or remove lines) where necessary.
==Example==
<pre>
{{Infobox event{{Template:Event data|A World Reborn}}}}
</pre>
{{Infobox event{{Template:Event data|A World Reborn}}}}
[[Category:Infobox templates]]
 </noinclude><includeonly>{{Infobox| abovestyle = {{Infobox sec|above}}| headerstyle = {{Infobox sec|header}}| labelstyle = {{Infobox sec|label|width=30%}}| above = {{Event data: {{{1}}}|1}}| image = {{#if:{{{image|}}}|[[File:{{{image}}}|250px]]}}| label1 = {{#if:{{Event data: {{{1}}}|2}}|Abbreviation}}| data1 = {{#if:{{Event data: {{{1}}}|2}}|{{Event data: {{{1}}}|2}}}}| label2 = {{#if:{{Event data: {{{1}}}|3}}|Type}}| data2 = {{#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}}|[[File:pvp-leg-coa.png|x24px|PvP Legacy Coalition|link=#Icon descriptions]] PvP Legacy Coalition | [[File:pvp-leg.png|x24px|PvP Legacy|link=#Icon descriptions]] PvP Legacy}} }} }}<!---->{{#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| [[File:pvp-sta.png|x24px|PvP Standard|link=#Icon descriptions]] PvP Standard}} }} }}<!---->{{#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| [[File:pve-leg.png|x24px|PvE Legacy|link=#Icon descriptions]] PvE Legacy}} }} }}<!---->{{#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| [[File:pve-sta.png|x24px|PvE Standard|link=#Icon descriptions]] PvE Standard}} }} }}}}| label3 = {{#if:{{Event data: {{{1}}}|4}}|Rewards}}| data3 = {{#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}}|placement}}|[[File:reward-placement.png|x24px|Placement rewards|link=#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>}}}}| label4 = {{#if:{{Event data: {{{1}}}|5}}|Nodes}}| data4 = {{#if:{{Event data: {{{1}}}|5}}|{{Event data: {{{1}}}|5}}}}<!---->{{#if: {{Event data: {{{1}}}|6}}|(x{{Event data: {{{1}}}|6}} sub-nodes)}}| belowstyle = background:#ddf;| below = [[Events]]}}</includeonly>