Open main menu

mtgpq wiki β

Changes

Template:Set-Details-Compact

88 bytes added, 07:54, 30 December 2018
no edit summary
== Example ==
This shorthandwithin a table
<pre><nowiki>
{{Set-Details-Compact
Produces:
{| class="wikitable"
{{Set-Details-Compact
|id = 13
|cards_c = 60
}}
|}</noinclude><includeonly>{| class-! rowspan="wikitable2"|-! style="text-align: left;" | {{nowrap|[[File:{{{abbr}}}_Symbol.png|x24px|{{{title}}} icon]] &nbsp; [[{{{name}}}]] ({{{abbr}}})}}| colspan<div style="2text-align: right; direction: ltr; margin-left: 1em;" ><small>''[{{{notes}}} {{{date}}} (version {{{version}}})]''</small></div>| '''Cards:''' [https://mtgpq.info/cards/search?sets={{{id}}} {{{cards_total}}}] &nbsp;<small><!--
-->C:{{#ifeq: {{{cards_c}}}|0|0|[https://mtgpq.info/cards/search?rarities=5&sets={{{id}}} {{{cards_c}}}]}} <!--
-->U:{{#ifeq: {{{cards_u}}}|0|0|[https://mtgpq.info/cards/search?rarities=4&sets={{{id}}} {{{cards_u}}}]}} <!--
-->MP:{{#ifeq: {{{cards_mp}}}|0|0|[https://mtgpq.info/cards/search?rarities=1&sets={{{id}}} {{{cards_mp}}}]}}</small>
|-
| colspan="2" | [{{{notes}}} {{{date}}} (version {{{version}}})]
| {{#if: {{#explode:{{{mechanics}}}|,|0}} | '''New mechanics:''' <small>[[Abilities#{{#explode:{{{mechanics}}}|,|0}}|{{#explode:{{{mechanics}}}|,|0}}]] <!--
-->{{#if: {{#explode:{{{mechanics}}}|,|1}} | [[Abilities#{{#explode:{{{mechanics}}}|,|1}}|{{#explode:{{{mechanics}}}|,|1}}]] | }} <!--
-->{{#if: {{#explode:{{{mechanics}}}|,|9}} | [[Abilities#{{#explode:{{{mechanics}}}|,|9}}|{{#explode:{{{mechanics}}}|,|9}}]] | }} <!--
-->| <small>''(No new mechanics added)''
}}</small>|}</includeonly>