Difference between revisions of "Template:UX"

From Wikicarpedia
Jump to navigation Jump to search
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
| expansion =
| expansion =
| fan-expansion = {{Category|Fan Expansions}}
| fan-expansion = {{Category|Fan Expansions}}
{{#switch:{{{features}}}
{{#switch:{{{tiles|}}}
  | no =
  | no =
  {{Category|No tiles expansion}}
  | yes =  
  | yes =  
  {{Category|New tiles}}
  {{#switch:{{{features|}}}
  | no =
  | yes =
     {{Category|New features}}
     {{Category|New features}}
     {{#switch:{{{features-template}}}
     {{#switch:{{{features-template|}}
     | no
     | no
     | yes =  
     | yes =  
Line 13: Line 18:
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-template}}
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-template}}
     }}
     }}
     {{#switch:{{{features-blackdragon}}}
     {{#switch:{{{features-blackdragon|}}}
     | no =  
     | no =  
     | yes = {{Category|Black Dragon - Protected features}}
     | yes = {{Category|Black Dragon - Protected features}}
Line 19: Line 24:
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-blackdragon}}
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-blackdragon}}
     }}
     }}
     {{#switch:{{{features-covid}}}
     {{#switch:{{{features-covid|}}}
     | no =  
     | no =  
     | yes = {{Category|COVID-19 - Infection spread to feature}}
     | yes = {{Category|COVID-19 - Infection spread to feature}}
Line 25: Line 30:
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-covid}}
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-covid}}
     }}
     }}
     {{#switch:{{{features-vistas}}}
     {{#switch:{{{features-vistas|}}}
     | no =  
     | no =  
     | yes = {{Category|Vistas - Scorable}}
     | yes = {{Category|Vistas - Scorable}}
Line 31: Line 36:
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-vistas}}
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-vistas}}
     }}
     }}
| = {{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{{{features}}}}}
  | {{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}}
  }}
| = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - tiles}}
  | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - tiles}}
}}
}}
{{#switch:{{{figures}}}
{{#switch:{{{figures}}}
Line 38: Line 46:
  | yes =  
  | yes =  
     {{Category|New figures}}
     {{Category|New figures}}
     {{#switch:{{{figures-template}}}
     {{#switch:{{{figures-template|}}}
     | no
     | no
     | yes =  
     | yes =  
Line 44: Line 52:
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - figures-template}}
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - figures-template}}
     }}
     }}
     {{#switch:{{{figures-blackdragon}}}
    {{#switch:{{{figures-meeple|}}}
    | no =
    | yes = {{Category|New meeple figures}}
    | = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures-meeple}}
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - figures-meeple}}
    }}
    {{#switch:{{{figures-neutral|}}}
    | no =
    | yes = {{Category|New neutral figures}}
    | = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures-neutral}}
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - figures-neutral}}
    }}
    {{#switch:{{{figures-special|}}}
    | no =
    | yes = {{Category|New special figures}}
    | = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures-special}}
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - figures-special}}
    }}
     {{#switch:{{{figures-blackdragon|}}}
     | no =  
     | no =  
     | yes = {{Category|Black Dragon - Eaten figures}}
     | yes = {{Category|Black Dragon - Eaten figures}}
     | = {{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-blackdragon}}
     | {{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 - figures-blackdragon}}
    }}
    {{#switch:{{{figures-dragon|}}}
    | no =
    | yes = {{Category|Black Dragon - Eaten figures}}
    | = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures-dragon}}
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - figures-dragon}}
     }}
     }}
  | = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures}}
  | = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures}}
Line 57: Line 89:
  | yes =  
  | yes =  
     {{Category|New pieces}}
     {{Category|New pieces}}
     {{#switch:{{{pieces-template}}}
     {{#switch:{{{pieces-template|}}}
     | no
     | no
     | yes =  
     | yes =  
Line 63: Line 95:
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - pieces-template}}
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - pieces-template}}
     }}
     }}
     {{#switch:{{{pieces-blackdragon}}}
     {{#switch:{{{pieces-figureson|}}}
    | no
    | yes =
      {{Category|Figures can be placed on new pieces}}
      {{#switch:{{{pieces-figureson-blackdragon|}}}
      | no
      | yes =
      | = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces-figureson-blackdragon}}
      | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - pieces-figureson-blackdragon}}
      }}
      {{#switch:{{{pieces-figureson-dragon|}}}
      | no
      | yes =
      | = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces-figureson-dragon}}
      | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - pieces-figureson-dragon}}
      }}
    | = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces-figureson}}
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - pieces-figureson}}
    }}
    {{#switch:{{{pieces-blackdragon|}}}
     | no =  
     | no =  
     | yes = {{Category|Black Dragon - Eaten pieces}}
     | yes = {{Category|Black Dragon - Eaten pieces}}
Line 69: Line 120:
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-blackdragon}}
     | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-blackdragon}}
     }}
     }}
     {{#switch:{{{pieces-vistas}}}
    {{#switch:{{{pieces-dragon|}}}
    | no =
    | yes = {{Category|Dragon - Eaten pieces}}
    | = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces-dragon}}
    | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - features-dragon}}
    }}
     {{#switch:{{{pieces-vistas|}}}
     | no =  
     | no =  
     | yes = {{Category|Vistas - Scorable}}
     | yes = {{Category|Vistas - Scorable}}
Line 78: Line 135:
  | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - pieces}}
  | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - pieces}}
}}
}}
{{#switch:{{{generalrules}}}
{{#switch:{{{generalrules|}}}
  | no
  | no
  | yes =  
  | yes =  
Line 84: Line 141:
  | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - generalrules}}
  | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - generalrules}}
}}
}}
{{#switch:{{{gamefigures}}}
{{#switch:{{{gamefigures|}}}
  | no
  | no
  | yes =  
  | yes =  
Line 96: Line 153:
  | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - orderofplay}}
  | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - orderofplay}}
}}
}}
{{#switch:{{{scoringduringturnsequence}}}
{{#switch:{{{scoringduringturnsequence|}}}
  | no
  | no
  | yes =
  | yes =
Line 102: Line 159:
  | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - scoringduringturnsequence}}
  | {{Category|Editor Manual - UX - Unknown parameter value}}{{Category|Editor Manual - UX - Unknown parameter value - scoringduringturnsequence}}
}}
}}
{{#switch:{{{scoringaftergame}}}
{{#switch:{{{scoringaftergame|}}}
  | no
  | no
  | yes =  
  | yes =  
Line 123: Line 180:
** <code>locale</code> (optional) - locale for current page, it's automatically added by current page language. But when different language is main page, need to set.
** <code>locale</code> (optional) - locale for current page, it's automatically added by current page language. But when different language is main page, need to set.
** <code>seokeywords</code> (optional) - used as <code>keywords</code> for template [[:Template:SEO]], list of keywords for page
** <code>seokeywords</code> (optional) - used as <code>keywords</code> for template [[:Template:SEO]], list of keywords for page
 
* '''Tiles'''
* '''Features'''
** <code>tiles</code> (required for <code>type=fan-expansion</code>) - [ <code>yes</code> | <code>no</code> ] - If expansion has new tiles
** <code>features</code> (required for <code>type=fan-expansion</code>) - [ <code>yes</code> | <code>no</code> ] - If expansion has new features
*** '''Features'''
*** <code>features-template</code> (required for <code>features=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new features are defined in '''[[:Template:Feature]]'''
**** <code>features</code> (required for <code>tiles=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If expansion has new features
*** <code>features-blackdragon</code> (required for <code>features=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new features are protected by Black Dragon from '''{{BlackDragonLink|logo=noborder}}''' and mentioned there
***** <code>features-template</code> (required for <code>features=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new features are defined in '''[[:Template:Feature]]'''
*** <code>features-covid</code> (required for <code>features=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If COVID-19 can spread to new features and mentioned on '''{{COVID19Link|logo=noborder}}'''
***** <code>features-blackdragon</code> (required for <code>features=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new features are protected by Black Dragon from '''{{BlackDragonLink|logo=noborder}}''' and mentioned there
*** <code>features-vistas</code> (required for <code>features=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new features are scored or not by '''{{VistasLink|logo=noborder}}''' and mentioned there
***** <code>features-covid</code> (required for <code>features=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If COVID-19 can spread to new features and mentioned on '''{{COVID19Link|logo=noborder}}'''
***** <code>features-vistas</code> (required for <code>features=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new features are scored or not by '''{{VistasLink|logo=noborder}}''' and mentioned there
* '''Figures'''
* '''Figures'''
** <code>figures</code> (required for <code>type=fan-expansion</code>) - [ <code>yes</code> | <code>no</code> ] - If expansion has new figures
** <code>figures</code> (required for <code>type=fan-expansion</code>) - [ <code>yes</code> | <code>no</code> ] - If expansion has new figures
*** <code>figures-template</code> (required for <code>figures=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new figures are defined in '''[[:Template:Figure]]'''
*** <code>figures-template</code> (required for <code>figures=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new figures are defined in '''[[:Template:Figure]]'''
*** <code>figures-meeple</code> (required for <code>figures=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new figures a meeple type
*** <code>figures-neutral</code> (required for <code>figures=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new figures a neutral type
*** <code>figures-special</code> (required for <code>figures=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new figures a special type
*** <code>figures-dragon</code> (required for <code>figures=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new fgures can be eaten by {{Figure|name=Dragon|edition=C2|text=Dragon}} and mentioned on '''{{PrincessDragonLink|logo=noborder|edition=C2}}''' and '''{{PrincessDragonLink|logo=noborder|edition=C1}}'''.
*** <code>figures-blackdragon</code> (required for <code>figures=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new figures can be eaten by Black Dragon from '''{{BlackDragonLink|logo=noborder}}''' and mentioned there
*** <code>figures-blackdragon</code> (required for <code>figures=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new figures can be eaten by Black Dragon from '''{{BlackDragonLink|logo=noborder}}''' and mentioned there
* '''Pieces'''
* '''Pieces'''
Line 138: Line 200:
*** <code>pieces-template</code> (required for <code>pieces=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new pieces are defined in '''[[:Template:Piece]]'''
*** <code>pieces-template</code> (required for <code>pieces=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new pieces are defined in '''[[:Template:Piece]]'''
*** <code>pieces-blackdragon</code> (required for <code>pieces=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new pieces can be eaten by Black Dragon from '''{{BlackDragonLink|logo=noborder}}''' and mentioned there
*** <code>pieces-blackdragon</code> (required for <code>pieces=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new pieces can be eaten by Black Dragon from '''{{BlackDragonLink|logo=noborder}}''' and mentioned there
*** <code>pieces-dragon</code> (required for <code>pieces=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new pieces can be eaten by by {{Figure|name=Dragon|edition=C2|text=Dragon}} and mentioned on '''{{PrincessDragonLink|logo=noborder|edition=C2}}''' and '''{{PrincessDragonLink|logo=noborder|edition=C1}}'''.
*** <code>pieces-figureson</code> (required for <code>pieces=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If it is possible to place figures on new pieces
**** <code>pieces-figureson-blackdragon</code> (required for <code>pieces=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If figures on new pieces can be eaten by by {{Figure|name=BlackDragon|edition=C2|text=Black Dragon}} and mentioned on '''{{BlackDragonLink|logo=noborder}}.
**** <code>pieces-figureson-dragon</code> (required for <code>pieces=yes</code>) - [ <code>yes</code> | <code>no</code> ] - IF figures on new pieces can be eaten by by {{Figure|name=Dragon|edition=C2|text=Dragon}} and mentioned on '''{{PrincessDragonLink|logo=noborder|edition=C2}}''' and '''{{PrincessDragonLink|logo=noborder|edition=C1}}'''.
*** <code>pieces-vistas</code> (required for <code>pieces=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new pieces are scored or not by '''{{VistasLink|logo=noborder}}''' and mentioned there
*** <code>pieces-vistas</code> (required for <code>pieces=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new pieces are scored or not by '''{{VistasLink|logo=noborder}}''' and mentioned there
* '''Rules'''
* '''Rules'''

Revision as of 13:58, 6 May 2024

Exclamation2.png

This template is Under construction!
Parameters, output and others can be changed.

Description

Multiple settings which have affects on displaying, sorting, SEO, automatic categorizations, checklists etc. This template calls Template:SEO template.

Parameters

  • WiCa
    • type (required) - [ basegame | expansion | fan-expansion | template ] - type of page
    • sortingtitle (optional) - name used for sorting current page in Category listing, example The Phantom with sortingtitle=Phantom will be categorized unser P, instead of T because of The on begin of the name.
  • SEO
    • seotitle (optional) - title showed when sharing page or for web crawlers like Google
    • description (optional) - description showed when sharing page or for web crawlers like Google
    • image (optional) - image showed when sharing page
    • locale (optional) - locale for current page, it's automatically added by current page language. But when different language is main page, need to set.
    • seokeywords (optional) - used as keywords for template Template:SEO, list of keywords for page
  • Tiles
    • tiles (required for type=fan-expansion) - [ yes | no ] - If expansion has new tiles
      • Features
        • features (required for tiles=yes) - [ yes | no ] - If expansion has new features
          • features-template (required for features=yes) - [ yes | no ] - If new features are defined in Template:Feature
          • features-blackdragon (required for features=yes) - [ yes | no ] - If new features are protected by Black Dragon from Black Dragon Black Dragon and mentioned there
          • features-covid (required for features=yes) - [ yes | no ] - If COVID-19 can spread to new features and mentioned on COVID-19 COVID-19
          • features-vistas (required for features=yes) - [ yes | no ] - If new features are scored or not by Vistas Vistas and mentioned there
  • Figures
    • figures (required for type=fan-expansion) - [ yes | no ] - If expansion has new figures
      • figures-template (required for figures=yes) - [ yes | no ] - If new figures are defined in Template:Figure
      • figures-meeple (required for figures=yes) - [ yes | no ] - If new figures a meeple type
      • figures-neutral (required for figures=yes) - [ yes | no ] - If new figures a neutral type
      • figures-special (required for figures=yes) - [ yes | no ] - If new figures a special type
      • figures-dragon (required for figures=yes) - [ yes | no ] - If new fgures can be eaten by Dragon and mentioned on The Princess & the Dragon The Princess & the Dragon and The Princess & the Dragon The Princess & the Dragon.
      • figures-blackdragon (required for figures=yes) - [ yes | no ] - If new figures can be eaten by Black Dragon from Black Dragon Black Dragon and mentioned there
  • Pieces
    • pieces (required for type=fan-expansion) - [ yes | no ] - If expansion has new pieces
      • pieces-template (required for pieces=yes) - [ yes | no ] - If new pieces are defined in Template:Piece
      • pieces-blackdragon (required for pieces=yes) - [ yes | no ] - If new pieces can be eaten by Black Dragon from Black Dragon Black Dragon and mentioned there
      • pieces-dragon (required for pieces=yes) - [ yes | no ] - If new pieces can be eaten by by Dragon and mentioned on The Princess & the Dragon The Princess & the Dragon and The Princess & the Dragon The Princess & the Dragon.
      • pieces-figureson (required for pieces=yes) - [ yes | no ] - If it is possible to place figures on new pieces
      • pieces-vistas (required for pieces=yes) - [ yes | no ] - If new pieces are scored or not by Vistas Vistas and mentioned there
  • Rules
    • generalrules (required for type=fan-expansion) - [ yes | no ] - If expansion has defined general rules for new expansions
  • Reference pages

Todo

  1. Figures stuff - special figures, neutral figures, player figures, black dragon diet, dragon diet, covid infection
  2. What to do with NKO?
  3. What to do with King's priviledges
  4. What to do with Alternative scoring boards