Template:Infobox character: Difference between revisions

From fattwiki
(moving documentation to a new documentation page)
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
 
Line 57: Line 57:
-->{{#ifeq: {{NAMESPACENUMBER}} | 0 | {{#if: {{{color_theme|}}} || [[Category:Infoboxes with missing color theme]] }} | }}</onlyinclude>
-->{{#ifeq: {{NAMESPACENUMBER}} | 0 | {{#if: {{{color_theme|}}} || [[Category:Infoboxes with missing color theme]] }} | }}</onlyinclude>
<noinclude>
<noinclude>
<templatedata>
{
  "params":
  {
    "color_theme": {
      "label": "Color Theme",
      "description": "Name of color theme. See [[Fatt Wiki:Getting Started]] for valid names.",
      "default": "Default theme gold",
      "example": "aih",
      "required": false,
      "type": "string"
    },
    "title":
    {
      "label": "Title",
      "description": "Title at the top of the infobox",
      "default": "Uses the page title",
      "example": "Hadrian",
      "required": true,
      "type": "content"
    },
    "image":
    {
      "label": "Image",
      "description": "Image",
      "required": false,
      "type": "wiki-file-name"
    },
    "caption":
    {
      "label": "Caption",
      "description": "Image caption",
      "required": false,
      "type": "content"
    },
    "pronouns":
    {
      "label": "Pronouns",
      "description": "Character's pronouns",
      "example": "he/him",
      "required": false,
      "suggested": true,
      "type": "content"
    },
    "titles":
    {
      "label": "Titles",
      "description": "Character's titles",
      "example": "Officer of the Order of Eternal Princes",
      "required": false,
      "type": "content"
    },
    "aliases":
    {
      "label": "Aliases",
      "description": "Other names that this character goes by",
      "example": "Alexander Nurmacher",
      "required": false,
      "type": "content"
    },
    "people":
    {
      "label": "People",
      "example": "Human",
      "required": false,
      "type": "content"
    },
    "place_of_origin":
    {
      "label": "Place of Origin",
      "description": "Place this character comes from",
      "example": "[[Velas]]",
      "required": false,
      "type": "content"
    },
    "affiliations":
    {
      "label": "Affiliation(s)",
      "description": "Groups/places/organizations/etc. this character belongs to",
      "example": "Church of Samothes",
      "required": false,
      "type": "content"
    },
    "relations":
    {
      "label": "Relations",
      "description": "Relationships that this character has",
      "example": "[[Benjamin]] (son)",
      "required": false,
      "type": "content"
    },
    "season":
    {
      "label": "Season",
      "description": "Season(s) this character appears in",
      "example": "[[Autumn in Hieron]]",
      "required": false,
      "type": "content"
    },
    "game":
    {
      "label": "Game",
      "description": "Game",
      "example": "Dungeon World",
      "required": false,
      "type": "content"
    },
    "appears_in":
    {
      "label": "Appears in",
      "description": "For characters whose episode/arc appearances are notable or infrequent",
      "example": "[[Messy Business]]",
      "required": false,
      "type": "content"
    },
    "playbook":
    {
      "label": "Playbook",
      "description": "For player characters, the class(es) or playbook(s) used",
      "example": "The Paladin",
      "required": false,
      "type": "content"
    },
    "player":
    {
      "label": "Player",
      "description": "Who plays this character (for player characters)",
      "example": "[[Art Martinez-Tebbel]]",
      "required": false,
      "type": "content"
    },
    "debut":
    {
      "label": "Debut",
      "description": "First episode of appearance",
      "example": "[[Autumn in Hieron 01: We Have Not Yet Begun To Be Pompous]]",
      "required": false,
      "type": "content"
    }
  }
}
</templatedata>
{{Documentation}}
{{Documentation}}
[[Category:Infoboxes]]
[[Category:Infoboxes]]
{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}}
{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}}
</noinclude>
</noinclude>

Latest revision as of 01:12, 23 November 2023

Copiable version:

{{Infobox Character
|color_theme  =
|title        =
|image        =
|caption      =
|pronouns     =
|titles       =
|aliases      =
|place_of_origin =
|people       = 
|affiliations =
|relations    =
|season       =
|game         =
|appears_in   =
|playbook     =
|player       =
|debut        =
}}

Example usage:
{{Infobox Character
|color_theme=aih
|title=Hadrian
|image=Example
|caption=Example
|pronouns=he/him
|titles=Officer of the Order of Eternal Princes
|aliases=Alexander Nurmacher
|people=[[Human]]
|place_of_origin=[[Velas]]
|affiliations=[[Church of Samothes]]
|relations=[[Benjamin]] (son)
|season=''[[Autumn in Hieron]]''
|game=''[[Dungeon World]]''
|appears_in=Example
|playbook=The Paladin
|player=[[Art Martinez-Tebbel]]
|debut=[[Autumn in Hieron 01: We Have Not Yet Begun To Be Pompous]]
}}

TemplateData[edit source]

This is the TemplateData for this template. It is used by the Visual Editor and other tools.

No description.

Template parameters

ParameterDescriptionTypeStatus
Color Themecolor_theme

Name of color theme. See [[Fatt Wiki:Getting Started]] for valid names.

Default
Default theme gold
Example
aih
Stringoptional
Titletitle

Title at the top of the infobox

Default
Uses the page title
Example
Hadrian
Contentrequired
Imageimage

Image

Fileoptional
Captioncaption

Image caption

Contentoptional
Pronounspronouns

Character's pronouns

Example
he/him
Contentsuggested
Titlestitles

Character's titles

Example
Officer of the Order of Eternal Princes
Contentoptional
Aliasesaliases

Other names that this character goes by

Example
Alexander Nurmacher
Contentoptional
Peoplepeople

no description

Example
[[Human]]
Contentoptional
Place of Originplace_of_origin

Place this character comes from

Example
[[Velas]]
Contentoptional
Affiliation(s)affiliations

Groups/places/organizations/etc. this character belongs to

Example
[[Church of Samothes]]
Contentoptional
Relationsrelations

Relationships that this character has

Example
[[Benjamin]] (son)
Contentoptional
Seasonseason

Season(s) this character appears in

Example
''[[Autumn in Hieron]]''<br />''[[Winter in Hieron]]''<br />''[[Spring in Hieron]]''
Contentoptional
Gamegame

Game

Example
''[[Dungeon World]]''
Contentoptional
Appears inappears_in

For characters whose episode/arc appearances are notable or infrequent

Example
[[Messy Business]]
Contentoptional
Playbookplaybook

For player characters, the class(es) or playbook(s) used

Example
The Paladin
Contentoptional
Playerplayer

Who plays this character (for player characters)

Example
[[Art Martinez-Tebbel]]
Contentoptional
Debutdebut

First episode of appearance

Example
[[Autumn in Hieron 01: We Have Not Yet Begun To Be Pompous]]
Contentoptional