Difference between revisions of "Template:Set-Details-Compact"
Anarchangel (talk | contribs) |
|||
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
The following shorthand: | The following shorthand: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | {| class="wikitable" {{Set-Details-Compact|DOM}} | + | {| class="wikitable" |
+ | {{Set-Details-Compact|DOM}} | ||
+ | {{Set-Details-Compact|M19}} | ||
|} | |} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 17: | Line 19: | ||
{{Set-Details-Compact|M19}} | {{Set-Details-Compact|M19}} | ||
|} | |} | ||
+ | [[Category:Templates]] | ||
+ | |||
</noinclude><includeonly>{{#if:{{{1|}}}|<br> | </noinclude><includeonly>{{#if:{{{1|}}}|<br> | ||
Line 34: | Line 38: | ||
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|8}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|8}}}}}}<!-- | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|8}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|8}}}}}}<!-- | ||
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|9}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|9}}}}}}<!-- | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|9}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|9}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|10}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|10}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|11}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|11}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|12}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|12}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|13}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|13}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|14}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|14}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|15}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|15}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|16}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|16}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|17}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|17}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|18}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|18}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|19}} | '''·''' {{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|19}}}}}}<!-- | ||
-->|<small>''(No new mechanics added)'' | -->|<small>''(No new mechanics added)'' | ||
}}</small>}}</includeonly> | }}</small>}}</includeonly> |
Latest revision as of 02:42, 14 December 2024
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}} {{Set-Details-Compact|M19}} |}
Produces:
![]() |
Dominaria (DOM) | Cards: 192 (![]() ![]() ![]() ![]() ![]() |
---|---|---|
![]() |
Core Set 2019 (M19) | Cards: 190 (![]() ![]() ![]() ![]() ![]() New mechanics: Flash |