Difference between revisions of "Template:Set-Details-Compact"
Line 1: | Line 1: | ||
− | <noinclude>Shorthand for creating | + | <noinclude> |
+ | ==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. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Example == | == Example == | ||
− | + | The following shorthand: | |
<pre><nowiki> | <pre><nowiki> | ||
− | {{Set-Details-Compact | + | {| class="wikitable" |
− | | | + | {{Set-Details-Compact|DOM}} |
− | + | |}</nowiki></pre> | |
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Produces: | Produces: | ||
{| class="wikitable" | {| class="wikitable" | ||
− | {{Set-Details-Compact | + | {{Set-Details-Compact|DOM}} |
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
|} | |} | ||
+ | |||
</noinclude><includeonly>|- | </noinclude><includeonly>|- | ||
− | ! rowspan="2" | {{SetSymbol|{{{ | + | ! rowspan="2" | {{SetSymbol|{{{1}}}|48}} |
− | ! rowspan="2" style="text-align: left;" | {{nowrap|[[{{{ | + | ! rowspan="2" style="text-align: left;" | {{nowrap|[[{{Card set data: {{{1}}}|1}}]] ({{{1}}})}} |
− | <small>''[{{{ | + | <small>''[{{Card set data: {{{1}}}|6}} {{Card set data: {{{1}}}|4}} (version {{Card set data: {{{1}}}|5}})]''</small> |
− | | {{Card rarity counts|set={{{ | + | | {{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:{{{ | + | | {{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|0}} | '''New mechanics:''' <small> [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|0}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|0}}]]<!-- |
− | -->{{#if: {{#explode:{{{ | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|1}} | '''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|1}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|1}}]]}}<!-- |
− | -->{{#if: {{#explode:{{{ | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|2}} | '''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|2}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|2}}]]}}<!-- |
− | -->{{#if: {{#explode:{{{ | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|3}} | '''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|3}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|3}}]]}}<!-- |
− | -->{{#if: {{#explode:{{{ | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|4}} | '''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|4}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|4}}]]}}<!-- |
− | -->{{#if: {{#explode:{{{ | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|5}} | '''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|5}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|5}}]]}}<!-- |
− | -->{{#if: {{#explode:{{{ | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|6}} | '''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|6}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|6}}]]}}<!-- |
− | -->{{#if: {{#explode:{{{ | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|7}} | '''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|7}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|7}}]]}}<!-- |
− | -->{{#if: {{#explode:{{{ | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|8}} | '''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|8}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|8}}]]}}<!-- |
− | -->{{#if: {{#explode:{{{ | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|9}} | '''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|9}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|9}}]]}}<!-- |
-->| <small>''(No new mechanics added)'' | -->| <small>''(No new mechanics added)'' | ||
}}</small></includeonly> | }}</small></includeonly> |
Revision as of 05:49, 25 February 2019
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.
Example
The following shorthand:
{| class="wikitable" {{Set-Details-Compact|DOM}} |}
Produces:
Dominaria (DOM) | Cards: 192 (60 · 55 · 41 · 26 · 10) |
---|