Template:Infobox character: Difference between revisions

From Timescape Wiki
m Revert category to singular
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
 
(5 intermediate revisions by the same user not shown)
Line 17: Line 17:
       <label>Ancestry</label>
       <label>Ancestry</label>
     </data>
     </data>
     <data source="lived-in">
     <data source="born">
       <label>Lived in</label>
       <label>Born</label>
     </data>
     </data>
    <data source="died">
      <label>Died</label>
    </data>
    <data source="parents">
      <label>Parents</label>
    </data>
   <header>{{#if: {{{enemies|}}}{{{relatives|}}}{{{allies|}}}|Relationships  }}</header>
   <header>{{#if: {{{enemies|}}}{{{relatives|}}}{{{allies|}}}|Relationships  }}</header>
     <data source="relatives">
     <data source="relatives">
Line 54: Line 60:
"label": "Ancestry"
"label": "Ancestry"
},
},
         "lived-in": {
         "born": {
"description": "When was the character born and when did they died? In which age did they live?",
"description": "When and where was the character born?",
"type": "string",
"type": "string",
"label": "Lived In"
"label": "Born"
},
        "died": {
"description": "When and where did the character die?",
"type": "string",
"label": "Died"
},
        "parents": {
"description": "Who were the character's parents/creators?",
"type": "string",
"label": "Parents"
},
},
         "relatives": {
         "relatives": {
Line 77: Line 93:
}
}
</templatedata>
</templatedata>
[[Category:Infoboxes|Characters]]
 
{{Infobox character
<infobox layout="stacked" accent-color-default="#d99559">
| name         = Ajax
  <title source="name">
| titles      = The Invincible Overlord, The Iron Saint
    <default>Ajax</default>
| ancestry     = Human (Phaedran)
  </title>
| allies      = Hawklords
  <image source="image" />
}}
  <header>Basic Information</header>
    <data source="titles">
       <label>Titles</label>
      <default>The Invincible Overlord, The Iron Saint</default>
    </data>
     <data source="ancestry">
      <label>Ancestry</label>
      <default>Human (Phaedran)</default>
    </data>
  <header>Relationships</header>
    <data source="allies">
      <label>Allies</label>
       <default>Hawklords</default>
    </data>
</infobox>


  <nowiki>
  <nowiki>
Line 92: Line 122:
  | allies      = Hawklords
  | allies      = Hawklords
}}
}}
</nowiki></noinclude>
</nowiki>
[[Category:Infoboxes]]
</noinclude>

Latest revision as of 17:49, 17 November 2024

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titlestitles

What titles does the character have?

Stringoptional
Aliasesaliases

What other names does the character have?

Stringoptional
True or Actual Nametrue-name

What is the actual name of the character

Stringoptional
Ancestryancestry

What is the ancestry of the character? Where do they originate from?

Stringoptional
Bornborn

When and where was the character born?

Stringoptional
Dieddied

When and where did the character die?

Stringoptional
Parentsparents

Who were the character's parents/creators?

Stringoptional
Relativesrelatives

Character's Family and their relationships

Stringoptional
Alliesallies

Other Character's or factions allied to the character

Stringoptional
Enemiesenemies

Other Character's or factions in opposition with the character

Stringoptional

{{Infobox character
 | name         = Ajax
 | titles       = The Invincible Overlord, The Iron Saint
 | ancestry     = Human (Phaedran)
 | allies       = Hawklords
}}