Template:CardSetLegality: Difference between revisions

From Little Troubles
Chesto (talk | contribs)
Created page with "<onlyinclude>{{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} <= {{SetsInfo|type=currentwave}} and {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} >= {{#expr:{{SetsInfo|type=currentwave}}-2}} | Legal | {{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} > {{SetsInfo|type=currentwave}} | Not released yet | {{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} < {{#..."
 
Chesto (talk | contribs)
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>{{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} <= {{SetsInfo|type=currentwave}} and {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} >= {{#expr:{{SetsInfo|type=currentwave}}-2}} | Legal  
<onlyinclude>{{#switch:{{{type|constructed}}}
| {{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} > {{SetsInfo|type=currentwave}} | Not released yet  
|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}}}}}}} < {{#expr:{{SetsInfo|type=currentwave}}-2}} | Not legal | Indeterminate }} }} }}</onlyinclude>
| {{#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}}}}}}}
|storyteller=TEST}}</onlyinclude>
<!-- need to add override function to set to Legal/Not legal manually.
Also need to set any "Storyteller-exclusive cards" to not legal for constructed
And all PGAs to not legal in online -->
<noinclude>
<noinclude>
* Current wave: {{SetsInfo|type=currentwave}}
Arguments are:
*<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>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}})
*[[101 Textbook]]: {{CardSetLegality|page=101 Textbook}} ({{SetsInfo|type=mostrecentreprint|pagename=101 Textbook}})
*[[Don't Get Caught]]: {{CardSetLegality|page=Don't Get Caught}} ({{SetsInfo|type=mostrecentreprint|pagename=Don't Get Caught}})


[[Mute Button]]: {{CardSetLegality|page=Mute Button}} ({{SetsInfo|type=mostrecentreprint|pagename=Mute Button}})
* This page's most recent main set reprint is in Set {{SetsInfo|type=mostrecentreprint}}.</noinclude>


[[101 Textbook]]: {{CardSetLegality|page=101 Textbook}} ({{SetsInfo|type=mostrecentreprint|pagename=101 Textbook}})
*{{CardSetLegality|page=101 Textbook}}
 
*{{CardSetLegality|page=101 Textbook|type=constructed}}
* Current wave: {{SetsInfo|type=currentwave}}
*{{CardSetLegality|page=101 Textbook|type=storyteller}}
* This page's most recent main set reprint is in Set {{SetsInfo|type=mostrecentreprint}}.</noinclude>

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's most recent main set reprint is in Set 0.
  • Legal
  • Legal
  • TEST