Difference between revisions of "Template:UX"

From Wikicarpedia
Jump to navigation Jump to search
Line 4: Line 4:
| fan-expansion = {{Category|Fan Expansions}}{{{features}}}
| fan-expansion = {{Category|Fan Expansions}}{{{features}}}
{{#switch:{{{features}}}
{{#switch:{{{features}}}
  | {{{features}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features}}{{{features}}}
  | {{{features}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features{{{features}}}}}
  | no =
  | no =
  | yes =  
  | yes =  

Revision as of 09:08, 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 etc. This template calls Template:SEO template.

Parameters

  • type (required) - [ basegame | expansion | fan-expansion | template ] - type of page
  • 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
  • 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.
  • features (required for type=fan-expansion) - If expansion has new features
    • features-template (required for features=yes) - If new features are defined in Template:Feature
    • features-blackdragon (required for features=yes) - If new features are protected by Black Dragon from Black Dragon Black Dragon and mentioned there
    • features-covid (required for features=yes) - If COVID-19 can spread to new features and mentioned on COVID-19 COVID-19
    • features-vistas (required for features=yes) - If new features are scored or not by Vistas Vistas and mentioned there
  • figures (required for type=fan-expansion) - If expansion has new figures
    • figures-template (required for figures=yes) - If new figures are defined in Template:Figure
    • figures-blackdragon (required for figures=yes) - If new figures can be eaten by Black Dragon from Black Dragon Black Dragon and mentioned there
  • pieces (required for type=fan-expansion) - If expansion has new pieces
    • pieces-template (required for pieces=yes) - If new pieces are defined in Template:Piece
    • pieces-blackdragon (required for pieces=yes) - If new pieces can be eaten by Black Dragon from Black Dragon Black Dragon and mentioned there
    • pieces-vistas (required for pieces=yes) - If new pieces are scored or not by Vistas Vistas and mentioned there
  • scoringduringturnsequence (required for type=fan-expansion) - If expansion is mentioned in Carcassonne Scoring During Turn Sequence reference page
  • scoringaftergame (required for type=fan-expansion) - If expansion is mentioned in Carcassonne Scoring After the Game reference page

Todo

Working in progress for template with some stuff which improves SEO, sharing on social networks, display title of page, default sorting for categories, etc.