Template:CardSetLegality: Difference between revisions
No edit summary |
No edit summary |
||
| 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. | ||
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