Template:Infobox character/doc: Difference between revisions

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

Revision as of 17:22, 16 February 2024

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]]
}}

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