Difference between revisions of "Template:UX"

2,146 bytes added ,  19 days ago
no edit summary
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
| basegame
| basegame
| expansion =
| expansion =
| fan-expansion = {{Category|Fan Expansions}}
| fan-expansion = {{Category|Fan Expansions}}{{#if:
{{{features|}}}
|
  {{#ifeq:
    {{{features|}}}
    |
      yes
    |
      {{Category|New features}}
      {{#ifeq:
        {{{featuretemplate|}}}
        |
          yes
        |
        |
          {{Category|Editor Manual - UX - Missing parameter}}
          {{Category|Editor Manual - UX - Missing parameter - featuretemplate}}
      }}
  }}
|
  {{Category|Editor Manual - UX - Missing parameter}}
  {{Category|Editor Manual - UX - Missing parameter - features}}
}}{{#if:
{{{figures|}}}
|
  {{#ifeq:
    {{{figures|}}}
    |
      yes
    |
      {{Category|New figures}}
      {{#ifeq:
        {{{figuretemplate|}}}
        |
          yes
        |
        |
          {{Category|Editor Manual - UX - Missing parameter}}
          {{Category|Editor Manual - UX - Missing parameter - figuretemplate}}
      }}
  }}
|
  {{Category|Editor Manual - UX - Missing parameter}}
  {{Category|Editor Manual - UX - Missing parameter - figures}}
}}{{#if:
{{{pieces|}}}
|
  {{#ifeq:
    {{{pieces|}}}
    |
      yes
    |
      {{Category|New pieces}}
      {{#ifeq:
        {{{piecetemplate|}}}
        |
          yes
        |
        |
          {{Category|Editor Manual - UX - Missing parameter}}
          {{Category|Editor Manual - UX - Missing parameter - piecetemplate}}
      }}
  }}
|
  {{Category|Editor Manual - UX - Missing parameter}}
  {{Category|Editor Manual - UX - Missing parameter - pieces}}
}}
| template = {{Category|Editor Manual}}
| template = {{Category|Editor Manual}}
| {{Category|Editor Manual - UX - Unknown type}} }}</includeonly>{{#if: {{{title|}}} | {{DISPLAYTITLE:{{{title}}} }} }}{{#if: {{{sortingtitle|}}} | {{DEFAULTSORT:{{{sortingtitle}}} }} }}{{SEO|title={{{seotitle|}}}|description={{#ifeq: {{{description|}}} | <!--Need to add a description - anyone can add :)--> | {{TextCarcassonne}} {{TextAnnotatedRules}} {{TranslatedPageName}} | {{{description|}}} }}|locale={{{locale|}}}|image={{{image|}}}|keywords={{{seokeywords|}}} }}{{#ifeq: {{{description|}}} | <!--Need to add a description - anyone can add :)--> | <includeonly>{{Category|Editor Manual - UX - Missing description}}</includeonly> }}<noinclude>{{Breadcrumbs|link1={{EditorManualLink}}}}{{Category|Editor Manual}}{{UnderConstruction|type=template}}
| {{Category|Editor Manual - UX - Unknown type}} }}</includeonly>{{#if: {{{title|}}} | {{DISPLAYTITLE:{{{title}}} }} }}{{#if: {{{sortingtitle|}}} | {{DEFAULTSORT:{{{sortingtitle}}} }} }}{{SEO|title={{{seotitle|}}}|description={{#ifeq: {{{description|}}} | <!--Need to add a description - anyone can add :)--> | {{TextCarcassonne}} {{TextAnnotatedRules}} {{TranslatedPageName}} | {{{description|}}} }}|locale={{{locale|}}}|image={{{image|}}}|keywords={{{seokeywords|}}} }}{{#ifeq: {{{description|}}} | <!--Need to add a description - anyone can add :)--> | <includeonly>{{Category|Editor Manual - UX - Missing description}}</includeonly> }}<noinclude>{{Breadcrumbs|link1={{EditorManualLink}}}}{{Category|Editor Manual}}{{UnderConstruction|type=template}}
Line 16: Line 82:
* <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
* <code>sortingtitle</code> (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.
* <code>sortingtitle</code> (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.
* <code>features</code> (required for <code>type=fan-expansion</code>) - If expansion has new features
* <code>featuretemplate</code> (required for <code>features=yes</code>) - If new features are defined in [[:Template:Feature]]
* <code>figures</code> (required for <code>type=fan-expansion</code>) - If expansion has new figures
* <code>figuretemplate</code> (required for <code>figures=yes</code>) - If new figures are defined in [[:Template:Figure]]
* <code>pieces</code> (required for <code>type=fan-expansion</code>) - If expansion has new pieces
* <code>piecetemplate</code> (required for <code>pieces=yes</code>) - If new pieces are defined in [[:Template:Piece]]


== Todo ==
== 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.</noinclude>
Working in progress for template with some stuff which improves SEO, sharing on social networks, display title of page, default sorting for categories, etc.</noinclude>
advancededitor, translator, writer
26,528

edits