Difference between revisions of "Template:UX"

From Wikicarpedia
Jump to navigation Jump to search
(One intermediate revision 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|}}
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 68: Line 76:
     | {{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}}
     }}
     }}
     {{#if:{{#ifeq:{{{figures-meeple|}}}|1}}{{#ifeq:{{{figures-special|}}}|1}}|
     {{#switch:{{{figures-dragon|}}}
      {{#switch:{{{figures-dragon|}}}
    | 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-dragon}}
      | = {{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 - 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 174: 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
Line 187: Line 194:
*** <code>figures-neutral</code> (required for <code>figures=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new figures a neutral 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-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-meeple=yes</code> or <code>figures-special=yes</code>) - [ <code>yes</code> | <code>no</code> ] - If new meeple or special figure 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-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'''

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