Template:ExpansionNameDocumentation

From Wikicarpedia
Revision as of 06:49, 29 July 2024 by Petul (talk | contribs)
Jump to navigation Jump to search

Description
Creates documentation for translatable name template of expansion/base game/spin-off.
Example tables generated by Template:ExpansionNameExamples.

Params

  • nametemplate (required) Name of template used in documentation
  • linktemplate (required) name of template used for link of expansion to which name template is documentation
  • type (optional) type of game [basegame|spin-off|expansion|fanexpansion|pnp|standaloneexpansion] when not set expansion is used
  • edition (optional) when defined also edition depends documentation is generated, common value is C1
  • numbered (optional) [true|false] when defined and true documentation and examples are generated for numbered' names of expansion, when not defined or false for non numbered names of expansion
  • includeedition (optional) [true|-empty-] suffix edition after name

Description
Creates translatable name for (Param linktemplate not defined) expansion.

Documentation generated by Template:ExpansionNameDocumentation

Params

  • variant (optional) [sorting|short|-empty-] see Examples


Examples (the output is generated by the buffer, after the change it is necessary to wait for a while)
xzy

edition is not defined
WikiOutput
{{{{{nametemplate}}}}} {{{{{nametemplate}}}|edition=|version=}}
{{{{{nametemplate}}}|variant=short}} {{{{{nametemplate}}}|variant=short|edition=|version=}}
{{{{{nametemplate}}}|variant=sorting}} {{{{{nametemplate}}}|variant=sorting|edition=|version=}}
{{{{{nametemplate}}}|variant=full}} {{{{{nametemplate}}}|variant=full|edition=|version=}}