Template:Infobox character: Difference between revisions

Creating infobox character (incomplete)
Tag: 2017 source edit
 
Add From
Tag: 2017 source edit
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly><infobox layout="stacked" accent-color-default="#d99559">
<infobox layout="stacked" accent-color-default="#d99559">
   <title source="name">
   <title source="name">
     <default>{{PAGENAME}}</default>
     <default>{{PAGENAME}}</default>
   </title>
   </title>
   <image source="image" />
   <image source="image" />
   <infobox layout="stacked" accent-color-default="#d99559">
   <header>Basic Information</header>
  <title>
    <data source="titles">
     <default>Basic Information</default>
      <label>Titles</label>
  </title>
    </data>
  <data source="titles">
    <data source="aliases">
     <label>Titles</label>
      <label>Aliases</label>
  </data>
     </data>
  <data source="aliases">
    <data source="true-name">
     <label>Aliases</label>
      <label>True Name</label>
  </data>
    </data>
  <data source="true-name">
    <data source="ancestry">
    <label>True Name</label>
      <label>Ancestry</label>
  </data>
    </data>
   <data source="ancestry">
     <data source="from">
     <label>Ancestry</label>
      <label>From</label>
  </data>
    </data>
  </infobox>
    <data source="born">
</infobox>
      <label>Born</label>
</includeonly>
     </data>
 
    <data source="died">
 
      <label>Died</label>
<noinclude>
    </data>
    <data source="parents">
      <label>Parents</label>
    </data>  
   <header>{{#if: {{{enemies|}}}{{{relatives|}}}{{{allies|}}}|Relationships  }}</header>
    <data source="relatives">
      <label>Relatives</label>
     </data>
    <data source="allies">
      <label>Allies</label>
    </data>
    <data source="enemies">
      <label>Enemies</label>
  </data>
</infobox>[[Category:Characters]]</includeonly><noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
        "titles": {
"description": "What titles does the character have?",
"type": "string",
"label": "Titles"
},
"aliases": {
"aliases": {
"description": "What other names does the manifold have?",
"description": "What other names does the character have?",
"type": "string",
"type": "string",
"label": "Aliases"
"label": "Aliases"
},
},
         "index": {
         "true-name": {
"description": "What is the actual name of the character",
"type": "string",
"label": "True or Actual Name"
},
        "ancestry": {
"description": "What is the ancestry of the character? Where do they originate from?",
"type": "string",
"label": "Ancestry"
},
        "born": {
"description": "When was the character born?",
"type": "string",
"label": "Born"
},
        "from": {
"description": "Where was the character born?",
"type": "string",
"label": "From"
},
        "died": {
"description": "When and where did the character die?",
"type": "string",
"type": "string",
"label": "Manifold Index"
"label": "Died"
},
},
         "chronographic": {
         "parents": {
"description": "Who were the character's parents/creators?",
"type": "string",
"type": "string",
"label": "Chronographic index"
"label": "Parents"
},
},
         "dialect": {
         "relatives": {
"description": "The main dialect spoken in the manifold?",
"description": "Character's Family and their relationships",
"type": "string",
"type": "string",
"label": "Dialect"
"label": "Relatives"
},
},
         "interference": {
         "allies": {
"description": "Greatest constructive interference",
"description": "Other Character's or factions allied to the character",
"type": "string",
"type": "string",
"label": "Interference"
"label": "Allies"
},
},
         "native-ancestries": {
         "enemies": {
"description": "Ancestries which originate from this manifold",
"description": "Other Character's or factions in opposition with the character",
"type": "string",
"type": "string",
"label": "Native Ancestries"
"label": "Enemies"
}
}
}
}
Line 62: Line 102:
</templatedata>
</templatedata>


{{Infobox character
<infobox layout="stacked" accent-color-default="#d99559">
| name         = Ajax
  <title source="name">
| aliases      = Invincible Overlord
    <default>Ajax</default>
| ancestry    = Human
  </title>
}}
  <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>
{{Infobox character
{{Infobox character
  | name        = Ajax
  | name        = Ajax
  | aliases      = Invincible Overlord
  | titles      = The Invincible Overlord, The Iron Saint
  | ancestry    = Human
  | ancestry    = Human (Phaedran)
}}</nowiki>
| allies      = Hawklords
</noinclude>
}}
</nowiki>
[[Category:Infoboxes]]
</noinclude>