Template:Infobox character: Difference between revisions

From Timescape Wiki
m Remove Characters category from the template
Tag: 2017 source edit
Add From
Tag: 2017 source edit
 
(4 intermediate revisions by the same user not shown)
Line 16: Line 16:
     <data source="ancestry">
     <data source="ancestry">
       <label>Ancestry</label>
       <label>Ancestry</label>
    </data>
    <data source="from">
      <label>From</label>
     </data>
     </data>
     <data source="born">
     <data source="born">
Line 23: Line 26:
       <label>Died</label>
       <label>Died</label>
     </data>
     </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 58: Line 64:
},
},
         "born": {
         "born": {
"description": "When and where was the character born?",
"description": "When was the character born?",
"type": "string",
"type": "string",
"label": "Born"
"label": "Born"
},
        "from": {
"description": "Where was the character born?",
"type": "string",
"label": "From"
},
},
         "died": {
         "died": {
Line 66: Line 77:
"type": "string",
"type": "string",
"label": "Died"
"label": "Died"
},
        "parents": {
"description": "Who were the character's parents/creators?",
"type": "string",
"label": "Parents"
},
},
         "relatives": {
         "relatives": {
Line 85: Line 101:
}
}
</templatedata>
</templatedata>
[[Category:Infoboxes]]
 
{{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 100: Line 130:
  | allies      = Hawklords
  | allies      = Hawklords
}}
}}
</nowiki></noinclude>
</nowiki>
[[Category:Infoboxes]]
</noinclude>

Latest revision as of 16:49, 21 December 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 was the character born?

Stringoptional
Fromfrom

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