Template:Infobox Character: Difference between revisions

From Drawing Verse
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 21: Line 21:
   }}
   }}
    
    
  <tr>
    <th colspan="2" style="text-align: center; background-color: #f2f2f2; border: 1px solid #a2a9b1; font-weight: bold; font-size: 95%; padding: 0.1em 0;">Biographical information</th>
  </tr>
   {{#if:{{{species|}}}|
   {{#if:{{{species|}}}|
     <tr>
     <tr>
       <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em; width: 35%;">Species</th>
       <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em; width: 35%;">Species</th>
       <td style="padding: 0.1em 0.4em;">{{{species}}}</td>
       <td style="padding: 0.1em 0.4em;">{{{species}}}</td>
    </tr>
  }}
  {{#if:{{{gender|}}}|
    <tr>
      <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em;">Gender</th>
      <td style="padding: 0.1em 0.4em;">{{{gender}}}</td>
    </tr>
  }}
  {{#if:{{{born|}}}|
    <tr>
      <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em;">Born</th>
      <td style="padding: 0.1em 0.4em;">{{{born}}}</td>
    </tr>
  }}
  {{#if:{{{died|}}}|
    <tr>
      <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em;">Died</th>
      <td style="padding: 0.1em 0.4em;">{{{died}}}</td>
     </tr>
     </tr>
   }}
   }}
Line 31: Line 53:
       <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em;">Origin Planet</th>
       <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em;">Origin Planet</th>
       <td style="padding: 0.1em 0.4em;">{{{origin_planet}}}</td>
       <td style="padding: 0.1em 0.4em;">{{{origin_planet}}}</td>
    </tr>
  }}
  {{#if:{{{home_world|}}}|
    <tr>
      <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em;">Home World</th>
      <td style="padding: 0.1em 0.4em;">{{{home_world}}}</td>
    </tr>
  }}
  {{#if:{{{status|}}}|
    <tr>
      <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em;">Status</th>
      <td style="padding: 0.1em 0.4em;">{{{status}}}</td>
    </tr>
  }}
  {{#if:{{{faction|}}}{{{affiliation|}}}{{{position|}}}{{{occupation|}}}|
    <tr>
      <th colspan="2" style="text-align: center; background-color: #f2f2f2; border: 1px solid #a2a9b1; font-weight: bold; font-size: 95%; padding: 0.1em 0;">Affiliation & Roles</th>
     </tr>
     </tr>
   }}
   }}
Line 37: Line 77:
       <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em;">Faction</th>
       <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em;">Faction</th>
       <td style="padding: 0.1em 0.4em;">{{{faction}}}</td>
       <td style="padding: 0.1em 0.4em;">{{{faction}}}</td>
    </tr>
  }}
  {{#if:{{{affiliation|}}}|
    <tr>
      <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em; vertical-align: top;">Affiliation</th>
      <td style="padding: 0.1em 0.4em; vertical-align: top;">{{{affiliation}}}</td>
     </tr>
     </tr>
   }}
   }}
Line 51: Line 97:
     </tr>
     </tr>
   }}
   }}
   {{#if:{{{status|}}}|
 
   {{#if:{{{parents|}}}{{{relatives|}}}{{{abilities|}}}|
     <tr>
     <tr>
       <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em;">Status</th>
       <th colspan="2" style="text-align: center; background-color: #f2f2f2; border: 1px solid #a2a9b1; font-weight: bold; font-size: 95%; padding: 0.1em 0;">Family & Traits</th>
      <td style="padding: 0.1em 0.4em;">{{{status}}}</td>
     </tr>
     </tr>
   }}
   }}
Line 61: Line 107:
       <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em; vertical-align: top;">Parents</th>
       <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em; vertical-align: top;">Parents</th>
       <td style="padding: 0.1em 0.4em; vertical-align: top;">{{{parents}}}</td>
       <td style="padding: 0.1em 0.4em; vertical-align: top;">{{{parents}}}</td>
    </tr>
  }}
  {{#if:{{{relatives|}}}|
    <tr>
      <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em; vertical-align: top;">Relatives</th>
      <td style="padding: 0.1em 0.4em; vertical-align: top;">{{{relatives}}}</td>
     </tr>
     </tr>
   }}
   }}
Line 76: Line 128:
<templatedata>
<templatedata>
{
{
"description": "A Wikipedia-style infobox summarizing key details for a character.",
"description": "A comprehensive infobox summarizing key details for a character.",
"format": "block",
"format": "block",
"params": {
"params": {
"name": {
"name": {
"label": "Character Name",
"label": "Character Name",
"description": "The name of the character. Defaults to the page title.",
"description": "The main name of the character. Defaults to the page title.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 93: Line 145:
"image": {
"image": {
"label": "Image File",
"label": "Image File",
"description": "Just the filename, e.g., CharacterPortrait.png (do not type 'File:')",
"description": "Just the filename, e.g., Portrait.png (do not type 'File:')",
"type": "wiki-file-name",
"type": "wiki-file-name",
"suggested": true
"suggested": true
Line 99: Line 151:
"species": {
"species": {
"label": "Species",
"label": "Species",
"description": "The character's race or biological species.",
"description": "The character's race, alien species, or biological type.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
"gender": {
"label": "Gender",
"description": "The character's gender (e.g., Male, Female, Non-binary, None, Agender).",
"type": "string"
},
"born": {
"label": "Date of Birth / Creation",
"description": "When the character was born or created in your timeline.",
"type": "string"
},
"died": {
"label": "Date of Death",
"description": "When the character died (if applicable).",
"type": "string"
},
},
"origin_planet": {
"origin_planet": {
"label": "Origin Planet",
"label": "Origin Planet",
"description": "The home planet, realm, or birthplace of the character.",
"description": "The home planet, dimension, or realm where the character was born.",
"type": "string",
"suggested": true
},
"home_world": {
"label": "Current Home World",
"description": "Where the character currently lives or operates from if different from their origin planet.",
"type": "string"
},
"status": {
"label": "Current Status",
"description": "Alive, Deceased, Missing, Sealed, Unknown, etc.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
},
"faction": {
"faction": {
"label": "Faction / Alignment",
"label": "Primary Faction",
"description": "The group, military unit, hivemind, or side they fight for.",
"description": "The main group, nation, or side they belong to.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
"affiliation": {
"label": "Other Affiliations",
"description": "Secondary groups, squads, guilds, or minor alliances.",
"type": "string"
},
},
"position": {
"position": {
"label": "Position of Power",
"label": "Position of Power",
"description": "Titles held by the character (e.g., Hive Queen, Commander, Overseer).",
"description": "Official leadership titles held (e.g., Fleet Admiral, Hive Queen, High Priest).",
"type": "string",
"type": "string"
"suggested": true
},
},
"occupation": {
"occupation": {
"label": "Occupation",
"label": "Occupation",
"description": "The character's job, role, or trade (e.g., Bounty Hunter, Starship Pilot, Engineer).",
"description": "Their job, trade, or role (e.g., Engineer, Scout, Merchant, Assassin).",
"type": "string",
"type": "string"
"suggested": true
},
},
"status": {
"parents": {
"label": "Current Status",
"label": "Parents / Creators",
"description": "Alive, Deceased, Missing, Captured, Unknown, etc.",
"description": "The biological parents, parent entities, or mechanical creators.",
"type": "string",
"type": "string"
"suggested": true
},
},
"parents": {
"relatives": {
"label": "Parents",
"label": "Relatives",
"description": "The character's parents or creators. Can include wiki links.",
"description": "Siblings, children, notable family members, or genetic clones.",
"type": "string"
"type": "string"
},
},
"abilities": {
"abilities": {
"label": "Powers / Abilities",
"label": "Powers / Abilities",
"description": "Notable skills, unique powers, or biological traits.",
"description": "Notable physical, weapons, technological, or biological skills.",
"type": "string"
"type": "string"
}
}

Revision as of 15:06, 11 June 2026

Infobox Character
Biographical information

TemplateData Documentation

This is the documentation for the VisualEditor form interface.

A comprehensive infobox summarizing key details for a character.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Character Namename

The main name of the character. Defaults to the page title.

Stringsuggested
Alias / Codenamesalias

Other names, titles, monikers, or pseudonyms the character goes by.

Stringsuggested
Image Fileimage

Just the filename, e.g., Portrait.png (do not type 'File:')

Filesuggested
Speciesspecies

The character's race, alien species, or biological type.

Stringsuggested
Gendergender

The character's gender (e.g., Male, Female, Non-binary, None, Agender).

Stringoptional
Date of Birth / Creationborn

When the character was born or created in your timeline.

Stringoptional
Date of Deathdied

When the character died (if applicable).

Stringoptional
Origin Planetorigin_planet

The home planet, dimension, or realm where the character was born.

Stringsuggested
Current Home Worldhome_world

Where the character currently lives or operates from if different from their origin planet.

Stringoptional
Current Statusstatus

Alive, Deceased, Missing, Sealed, Unknown, etc.

Stringsuggested
Primary Factionfaction

The main group, nation, or side they belong to.

Stringsuggested
Other Affiliationsaffiliation

Secondary groups, squads, guilds, or minor alliances.

Stringoptional
Position of Powerposition

Official leadership titles held (e.g., Fleet Admiral, Hive Queen, High Priest).

Stringoptional
Occupationoccupation

Their job, trade, or role (e.g., Engineer, Scout, Merchant, Assassin).

Stringoptional
Parents / Creatorsparents

The biological parents, parent entities, or mechanical creators.

Stringoptional
Relativesrelatives

Siblings, children, notable family members, or genetic clones.

Stringoptional
Powers / Abilitiesabilities

Notable physical, weapons, technological, or biological skills.

Stringoptional