Difference between revisions of "Template:UX"
Jump to navigation
Jump to search
Bumsakalaka (talk | contribs) |
Bumsakalaka (talk | contribs) |
||
Line 4: | Line 4: | ||
| fan-expansion = {{Category|Fan Expansions}}{{{features}}} | | fan-expansion = {{Category|Fan Expansions}}{{{features}}} | ||
{{#switch:{{{features}}} | {{#switch:{{{features}}} | ||
| {<nowiki/> | | {{{features<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features{{{features}}}}} | ||
| no = | | no = | ||
| yes = | | yes = | ||
{{Category|New features}} | {{Category|New features}} | ||
{{#switch:{{{features-template}}} | {{#switch:{{{features-template}}} | ||
| {{{features-template}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features-template}} | | {{{features-template<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features-template}} | ||
| no | | no | ||
| yes = | | yes = | ||
Line 15: | Line 15: | ||
}} | }} | ||
{{#switch:{{{features-blackdragon}}} | {{#switch:{{{features-blackdragon}}} | ||
| {{{features-blackdragon}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features-blackdragon}} | | {{{features-blackdragon<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features-blackdragon}} | ||
| no = | | no = | ||
| yes = {{Category|Black Dragon - Protected features}} | | yes = {{Category|Black Dragon - Protected features}} | ||
Line 21: | Line 21: | ||
}} | }} | ||
{{#switch:{{{features-covid}}} | {{#switch:{{{features-covid}}} | ||
| {{{features-covid}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features-covid}} | | {{{features-covid<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features-covid}} | ||
| no = | | no = | ||
| yes = {{Category|COVID-19 - Infection spread to feature}} | | yes = {{Category|COVID-19 - Infection spread to feature}} | ||
Line 27: | Line 27: | ||
}} | }} | ||
{{#switch:{{{features-vistas}}} | {{#switch:{{{features-vistas}}} | ||
| {{{features-vistas}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features-vistas}} | | {{{features-vistas<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - features-vistas}} | ||
| no = | | no = | ||
| yes = {{Category|Vistas - Scorable}} | | yes = {{Category|Vistas - Scorable}} | ||
Line 35: | Line 35: | ||
}} | }} | ||
{{#switch:{{{figures}}} | {{#switch:{{{figures}}} | ||
| {{{figures}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures}} | | {{{figures<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures}} | ||
| no = | | no = | ||
| yes = | | yes = | ||
{{Category|New figures}} | {{Category|New figures}} | ||
{{#switch:{{{figures-template}}} | {{#switch:{{{figures-template}}} | ||
| {{{figures-template}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures-template}} | | {{{figures-template<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures-template}} | ||
| no | | no | ||
| yes = | | yes = | ||
Line 46: | Line 46: | ||
}} | }} | ||
{{#switch:{{{figures-blackdragon}}} | {{#switch:{{{figures-blackdragon}}} | ||
| {{{figures-blackdragon}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures-blackdragon}} | | {{{figures-blackdragon<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - figures-blackdragon}} | ||
| no = | | no = | ||
| yes = {{Category|Black Dragon - Eaten figures}} | | yes = {{Category|Black Dragon - Eaten figures}} | ||
Line 54: | Line 54: | ||
}} | }} | ||
{{#switch:{{{pieces}}} | {{#switch:{{{pieces}}} | ||
| {{{pieces}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces}} | | {{{pieces<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces}} | ||
| no = | | no = | ||
| yes = | | yes = | ||
{{Category|New pieces}} | {{Category|New pieces}} | ||
{{#switch:{{{pieces-template}}} | {{#switch:{{{pieces-template}}} | ||
| {{{pieces-template}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces-template}} | | {{{pieces-template<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces-template}} | ||
| no | | no | ||
| yes = | | yes = | ||
Line 65: | Line 65: | ||
}} | }} | ||
{{#switch:{{{pieces-blackdragon}}} | {{#switch:{{{pieces-blackdragon}}} | ||
| {{{pieces-blackdragon}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces-blackdragon}} | | {{{pieces-blackdragon<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces-blackdragon}} | ||
| no = | | no = | ||
| yes = {{Category|Black Dragon - Eaten pieces}} | | yes = {{Category|Black Dragon - Eaten pieces}} | ||
Line 71: | Line 71: | ||
}} | }} | ||
{{#switch:{{{pieces-vistas}}} | {{#switch:{{{pieces-vistas}}} | ||
| {{{pieces-vistas}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces-vistas}} | | {{{pieces-vistas<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - pieces-vistas}} | ||
| no = | | no = | ||
| yes = {{Category|Vistas - Scorable}} | | yes = {{Category|Vistas - Scorable}} | ||
Line 79: | Line 79: | ||
}} | }} | ||
{{#switch:{{{scoringduringturnsequence}}} | {{#switch:{{{scoringduringturnsequence}}} | ||
| {{{scoringduringturnsequence}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - scoringduringturnsequence}} | | {{{scoringduringturnsequence<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - scoringduringturnsequence}} | ||
| no | | no | ||
| yes = | | yes = | ||
Line 85: | Line 85: | ||
}} | }} | ||
{{#switch:{{{scoringaftergame}}} | {{#switch:{{{scoringaftergame}}} | ||
| {{{scoringaftergame}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - scoringaftergame}} | | {{{scoringaftergame<nowiki/>}}} = {{Category|Editor Manual - UX - Missing parameter}}{{Category|Editor Manual - UX - Missing parameter - scoringaftergame}} | ||
| no | | no | ||
| yes = | | yes = |
Revision as of 09:11, 6 May 2024
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 pageseotitle
(optional) - title showed when sharing page or for web crawlers like Googledescription
(optional) - description showed when sharing page or for web crawlers like Googleimage
(optional) - image showed when sharing pagelocale
(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 askeywords
for template Template:SEO, list of keywords for pagesortingtitle
(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 fortype=fan-expansion
) - If expansion has new featuresfeatures-template
(required forfeatures=yes
) - If new features are defined in Template:Featurefeatures-blackdragon
(required forfeatures=yes
) - If new features are protected by Black Dragon from Black Dragon and mentioned therefeatures-covid
(required forfeatures=yes
) - If COVID-19 can spread to new features and mentioned on COVID-19features-vistas
(required forfeatures=yes
) - If new features are scored or not by Vistas and mentioned there
figures
(required fortype=fan-expansion
) - If expansion has new figuresfigures-template
(required forfigures=yes
) - If new figures are defined in Template:Figurefigures-blackdragon
(required forfigures=yes
) - If new figures can be eaten by Black Dragon from Black Dragon and mentioned there
pieces
(required fortype=fan-expansion
) - If expansion has new piecespieces-template
(required forpieces=yes
) - If new pieces are defined in Template:Piecepieces-blackdragon
(required forpieces=yes
) - If new pieces can be eaten by Black Dragon from Black Dragon and mentioned therepieces-vistas
(required forpieces=yes
) - If new pieces are scored or not by Vistas and mentioned there
scoringduringturnsequence
(required fortype=fan-expansion
) - If expansion is mentioned in Carcassonne Scoring During Turn Sequence reference pagescoringaftergame
(required fortype=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.