Difference between revisions of "Template:Set-Details-Compact"

From mtgpq wiki
Jump to: navigation, search
Line 23: Line 23:
 
{{!}} {{Card rarity counts|set={{Card set data: {{{1}}}|3}}|total={{Card set data: {{{1}}}|8}}|c={{Card set data: {{{1}}}|9}}|u={{Card set data: {{{1}}}|10}}|r={{Card set data: {{{1}}}|11}}|m={{Card set data: {{{1}}}|12}}|mp={{Card set data: {{{1}}}|13}}}}
 
{{!}} {{Card rarity counts|set={{Card set data: {{{1}}}|3}}|total={{Card set data: {{{1}}}|8}}|c={{Card set data: {{{1}}}|9}}|u={{Card set data: {{{1}}}|10}}|r={{Card set data: {{{1}}}|11}}|m={{Card set data: {{{1}}}|12}}|mp={{Card set data: {{{1}}}|13}}}}
 
{{!}}-
 
{{!}}-
{{!}} {{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|0}} | '''New mechanics:''' <small>&nbsp; [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|0}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|0}}]]<!--
+
{{!}} {{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|0}} | '''New mechanics:''' <small>&nbsp; {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|0}}}}<!--
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|1}} |&nbsp;'''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|1}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|1}}]]}}<!--
+
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|1}} |&nbsp;'''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|1}}}}}}<!--
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|2}} |&nbsp;'''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|2}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|2}}]]}}<!--
+
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|2}} |&nbsp;'''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|2}}}}}}<!--
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|3}} |&nbsp;'''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|3}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|3}}]]}}<!--
+
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|3}} |&nbsp;'''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|3}}}}}}<!--
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|4}} |&nbsp;'''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|4}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|4}}]]}}<!--
+
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|4}} |&nbsp;'''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|4}}}}}}<!--
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|5}} |&nbsp;'''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|5}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|5}}]]}}<!--
+
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|5}} |&nbsp;'''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|5}}}}}}<!--
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|6}} |&nbsp;'''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|6}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|6}}]]}}<!--
+
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|6}} |&nbsp;'''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|6}}}}}}<!--
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|7}} |&nbsp;'''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|7}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|7}}]]}}<!--
+
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|7}} |&nbsp;'''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|7}}}}}}<!--
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|8}} |&nbsp;'''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|8}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|8}}]]}}<!--
+
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|8}} |&nbsp;'''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|8}}}}}}<!--
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|9}} |&nbsp;'''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|9}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|9}}]]}}<!--
+
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|9}} |&nbsp;'''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|9}}}}}}<!--
 
-->|<small>''(No new mechanics added)''
 
-->|<small>''(No new mechanics added)''
 
}}</small>}}</includeonly>
 
}}</small>}}</includeonly>

Revision as of 11:41, 23 August 2020

Usage

Shorthand for creating a row of a table containing set details for a given card set.

The only parameter is the three-letter abbreviation of the card set. The other data is pulled from the corresponding card set data template. If the parameter is empty or not present, no output is produced.

Example

The following shorthand:

{| class="wikitable" {{Set-Details-Compact|DOM}}
|}

Produces:

Dominaria Dominaria (DOM)

May 2018 (version 2.7)

Cards: 192  (Common60 · Uncommon55 · Rare41 · Mythic26 · Masterpiece10)

New mechanics:   Historic · LeaderLeader · Saga