Template:Infobox character: Difference between revisions

From fattwiki
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<infobox theme-source="color_theme">
<onlyinclude><infobox theme-source="color_theme">
   <title source="title">
   <title source="title">
     <default>{{PAGENAME}}</default>
     <default>{{PAGENAME}}</default>
Line 23: Line 23:
       <label>People</label>
       <label>People</label>
     </data>
     </data>
  </group>
  <group collapse="closed" layout="stacked">
    <header>Connections</header>
     <data source="affiliations">
     <data source="affiliations">
       <label>Affiliation(s)</label>
       <label>Af&shy;fil&shy;i&shy;a&shy;tion(s)</label>
     </data>
     </data>
     <data source="relations">
     <data source="relations">
       <label>Relationships</label>
       <label>Re&shy;la&shy;tion&shy;ships</label>
     </data>
     </data>
   </group>
   </group>
Line 37: Line 40:
     <data source="game">
     <data source="game">
       <label>Game</label>
       <label>Game</label>
    </data>
    <data source="arc">
      <label>Arc</label>
     </data>
     </data>
     <data source="playbook">
     <data source="playbook">
Line 46: Line 46:
     <data source="player">
     <data source="player">
       <label>Player</label>
       <label>Player</label>
    </data>
    <data source="appears_in">
      <label>Appears In</label>
     </data>
     </data>
     <data source="debut">
     <data source="debut">
Line 51: Line 54:
     </data>
     </data>
   </group>
   </group>
</infobox>
</infobox><!--
-->{{#ifeq: {{NAMESPACENUMBER}} | 0 | {{#if: {{{color_theme|}}} || [[Category:Infoboxes with missing color theme]] }} | }}</onlyinclude>
<noinclude>
<noinclude>
{{Infobox Character
{{Documentation}}
|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
|arc=Example
|playbook=The Paladin
|player=[[Art Martinez-Tebbel]]
|debut=[[Autumn in Hieron 01: We Have Not Yet Begun To Be Pompous]]
}}
 
Example usage:<pre>
{{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
|arc=Example
|playbook=The Paladin
|player=[[Art Martinez-Tebbel]]
|debut=[[Autumn in Hieron 01: We Have Not Yet Begun To Be Pompous]]
}}
</pre>
<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"
    },
    "arc":
    {
      "label": "Arc",
      "description": "For arc-specific characters",
      "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>
 
[[Category:Infoboxes]]
[[Category:Infoboxes]]
{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]][[Category:PCs]]}}
{{#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