Difference between revisions of "Template:UX"

1,055 bytes added ,  14 days ago
no edit summary
Line 2: Line 2:
| basegame
| basegame
| expansion =
| expansion =
| fan-expansion = {{Category|Fan Expansions}}{{{features}}}X{{{features_template}}}
| fan-expansion = {{Category|Fan Expansions}}
{{#switch:{{{features}}}
{{#switch:{{{features}}}
  | {{{features}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features}}
  | {{{features}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features}}
  | no =
  | no =
  | yes =  
  | yes =  
{{#ifeq:
    {{Category|New features}}
    {{{features|}}}
    {{#switch:{{{features-template}}}
     |
     | {{{features-template}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features-template}}
      yes
    | no
    |
    | yes =
      {{Category|New features}}
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-template}}
      {{#ifeq:
    }}
        {{{features-template|}}}
    {{#switch:{{{features-blackdragon}}}
        |
    | {{{features-blackdragon}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features-blackdragon}}
          yes
    | no =
        |
    | yes = {{Category|Black Dragon - Protected features}}
        |
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-blackdragon}}
          {{Category|Editor Manual - UX - Missing parameter}}
    }}
          {{Category|Editor Manual - UX - Missing parameter - features-template}}
    {{#switch:{{{features-covid}}}
      }}
    | {{{features-covid}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features-covid}}
      {{#ifeq:
    | no =
        {{{features-blackdragon|}}}
    | yes = {{Category|COVID-19 - Infection spread to feature}}
        |
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-covid}}
          yes
    }}
        |
    {{#switch:{{{features-vistas}}}
          {{Category|Black Dragon - Protected features}}
    | {{{features-vistas}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features-vistas}}
        |
    | no =
          {{Category|Editor Manual - UX - Missing parameter}}
    | yes = {{Category|Vistas - Scorable}}
          {{Category|Editor Manual - UX - Missing parameter - features-blackdragon}}
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-vistas}}
      }}
    }}
      {{#ifeq:
| {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features}}
        {{{features-covid|}}}
        |
          yes
        |
          {{Category|COVID-19 - Infection spread to feature}}
        |
          {{Category|Editor Manual - UX - Missing parameter}}
          {{Category|Editor Manual - UX - Missing parameter - features-covid}}
      }}
      {{#ifeq:
        {{{features-vistas|}}}
        |
          yes
        |
          {{Category|Vistas - Scorable}}
        |
          {{Category|Editor Manual - UX - Missing parameter}}
          {{Category|Editor Manual - UX - Missing parameter - features-vistas}}
      }}
  }}
}}
}}
{{#switch:{{{figures}}}
| {{{figures}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures}}
| no =
| yes =
    {{Category|New figures}}
    {{#switch:{{{figures-template}}}
    | {{{figures-template}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures-template}}
    | no
    | yes =
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - figures-template}}
    }}
    {{#switch:{{{figures-blackdragon}}}
    | {{{figures-blackdragon}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures-blackdragon}}
    | no =
    | yes = {{Category|Black Dragon - Eaten figures}}
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - figures-blackdragon}}
    }}
  | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features}}
  | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features}}
}}
}}
{{#if:
{{#switch:{{{pieces}}}
{{{figures|}}}
  | {{{pieces}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces}}
  |
| no =
  {{#ifeq:
| yes =
    {{{figures|}}}
    {{Category|New pieces}}
    |
    {{#switch:{{{pieces-template}}}
      yes
    | {{{pieces-template}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces-template}}
    |
    | no
      {{Category|New figures}}
    | yes =
      {{#ifeq:
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - pieces-template}}
        {{{figures-template|}}}
    }}
        |
    {{#switch:{{{pieces-blackdragon}}}
          yes
    | {{{pieces-blackdragon}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces-blackdragon}}
        |
    | no =
        |
    | yes = {{Category|Black Dragon - Eaten pieces}}
          {{Category|Editor Manual - UX - Missing parameter}}
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-blackdragon}}
          {{Category|Editor Manual - UX - Missing parameter - figures-template}}
    }}
      }}
    {{#switch:{{{pieces-vistas}}}
      {{#ifeq:
    | {{{pieces-vistas}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces-vistas}}
        {{{figures-blackdragon|}}}
    | no =
        |
    | yes = {{Category|Vistas - Scorable}}
          yes
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - pieces-vistas}}
        |
    }}
          {{Category|Black Dragon - Eaten figures}}
  | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - pieces}}
        |
          {{Category|Editor Manual - UX - Missing parameter}}
          {{Category|Editor Manual - UX - Missing parameter - figures-blackdragon}}
      }}
  }}
|
  {{Category|Editor Manual - UX - Missing parameter}}
  {{Category|Editor Manual - UX - Missing parameter - figures}}
}}
{{#if:
{{{pieces|}}}
|
  {{#ifeq:
    {{{pieces|}}}
    |
      yes
    |
      {{Category|New pieces}}
      {{#ifeq:
        {{{pieces-template|}}}
        |
          yes
        |
        |
          {{Category|Editor Manual - UX - Missing parameter}}
          {{Category|Editor Manual - UX - Missing parameter - pieces-template}}
      }}
      {{#ifeq:
        {{{pieces-vistas|}}}
        |
          yes
        |
          {{Category|Vistas - Scorable}}
        |
          {{Category|Editor Manual - UX - Missing parameter}}
          {{Category|Editor Manual - UX - Missing parameter - pieces-vistas}}
      }}
      {{#ifeq:
        {{{pieces-blackdragon|}}}
        |
          yes
        |
          {{Category|Black Dragon - Eaten pieces}}
        |
          {{Category|Editor Manual - UX - Missing parameter}}
          {{Category|Editor Manual - UX - Missing parameter - pieces-blackdragon}}
      }}
  }}
  |
  {{Category|Editor Manual - UX - Missing parameter}}
  {{Category|Editor Manual - UX - Missing parameter - pieces}}
}}
}}
{{#switch:{{{scoringduringturnsequence}}}
{{#switch:{{{scoringduringturnsequence}}}
advancededitor, translator, writer
26,463

edits