Template:CardSetLegality: Difference between revisions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<onlyinclude>{{#switch:{{{type|constructed}}} | <onlyinclude>{{#switch:{{{type|constructed}}} | ||
|constructed={{#ifcategory:Storyteller-Exclusive Cards|<span style="background:#FFEB9C">Storyteller-exclusive</span>|{{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} <= {{SetsInfo|type=currentwave}} and {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} >= {{#expr:{{SetsInfo|type=currentwave}}-2}} | <span style="background:#C6EFCE;">Legal</span> | |constructed={{#ifcategory:Storyteller-Exclusive Cards|<span style="background:#FFEB9C">Storyteller-exclusive</span>|{{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} = 0 | Indeterminate | {{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} <= {{SetsInfo|type=currentwave}} and {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} >= {{#expr:{{SetsInfo|type=currentwave}}-2}} | <span style="background:#C6EFCE;">Legal</span> | ||
| {{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} > {{SetsInfo|type=currentwave}} | <span style="background:#D9D9D9;">Not released yet</span> | | {{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} > {{SetsInfo|type=currentwave}} | <span style="background:#D9D9D9;">Not released yet</span> | ||
| {{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} < {{#expr:{{SetsInfo|type=currentwave}}-2}} | <span style="background:#FFC7CE;">Not legal</span> | Indeterminate }} }} }} |{{{page|{{PAGENAME}}}}}}} | | {{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} < {{#expr:{{SetsInfo|type=currentwave}}-2}} | <span style="background:#FFC7CE;">Not legal</span> | Indeterminate }} }} }} }}|{{{page|{{PAGENAME}}}}}}} | ||
|storyteller=TEST}}</onlyinclude> | |storyteller=TEST}}</onlyinclude> | ||
<!-- need to add override function to set to Legal/Not legal manually. | <!-- need to add override function to set to Legal/Not legal manually. | ||
| Line 10: | Line 10: | ||
* Current wave: {{SetsInfo|type=currentwave}} | * Current wave: {{SetsInfo|type=currentwave}} | ||
Arguments are: | Arguments are: | ||
<code>type=constructed</code>: Constructed status (by set, most recent main set reprint, between {{SetsInfo|type=currentwave}} and {{#expr:{{SetsInfo|type=currentwave}}-2}} is legal. Earlier is not. Later isn't out yet. Storyteller-exclusive also caught. | *<code>type=constructed</code> (default if empty): Constructed status (by set, most recent main set reprint, between {{SetsInfo|type=currentwave}} and {{#expr:{{SetsInfo|type=currentwave}}-2}} is legal. Earlier is not. Later isn't out yet. Storyteller-exclusive also caught. | ||
<code>type=storyteller</code>: In progress. | *<code>type=storyteller</code>: In progress. | ||
*<code>page</code>: Name of page (default is current page) | |||
*This page: {{CardSetLegality}} ({{SetsInfo|type=mostrecentreprint|pagename={{PAGENAME}}}}) | *This page: {{CardSetLegality}} ({{SetsInfo|type=mostrecentreprint|pagename={{PAGENAME}}}}) | ||
*[[Mute Button]]: {{CardSetLegality|page=Mute Button}} ({{SetsInfo|type=mostrecentreprint|pagename=Mute Button}}) | *[[Mute Button]]: {{CardSetLegality|page=Mute Button}} ({{SetsInfo|type=mostrecentreprint|pagename=Mute Button}}) | ||
Latest revision as of 17:47, 18 August 2026
Indeterminate
- Current wave: 4
Arguments are:
type=constructed(default if empty): Constructed status (by set, most recent main set reprint, between 4 and 2 is legal. Earlier is not. Later isn't out yet. Storyteller-exclusive also caught.type=storyteller: In progress.page: Name of page (default is current page)
- This page: Indeterminate (0)
- Mute Button: Not legal (1)
- 101 Textbook: Legal (4)
- Don't Get Caught: Storyteller-exclusive (4)
- This page's most recent main set reprint is in Set 0.
- Legal
- Legal
- TEST