Template:Infobox Character: Difference between revisions

From Drawing Verse
Jump to navigation Jump to search
Created page with "<div class="mw-parser-output" style="float: right; clear: right; width: 300px; margin: 0 0 10px 20px; background: #f8f9fa; border: 1px solid #a2a9b1; padding: 5px; font-family: sans-serif; font-size: 88%; line-height: 1.5; box-sizing: border-box;"> <div style="background: #1e90ff; color: white; text-align: center; font-weight: bold; font-size: 125%; padding: 4px; margin-bottom: 5px;">{{{name|{{PAGENAME}}}}}</div> {{#if:{{{image|}}}|<div style="text-align: center;..."
 
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="mw-parser-output" style="float: right; clear: right; width: 300px; margin: 0 0 10px 20px; background: #f8f9fa; border: 1px solid #a2a9b1; padding: 5px; font-family: sans-serif; font-size: 88%; line-height: 1.5; box-sizing: border-box;">
<table class="infobox biography vcard" style="float: right; clear: right; width: 22em; border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: #202122; margin: 0.5em 0 0.5em 1em; padding: 0.2em; font-family: sans-serif; font-size: 88%; line-height: 1.5em; box-sizing: border-box;">
  <div style="background: #1e90ff; color: white; text-align: center; font-weight: bold; font-size: 125%; padding: 4px; margin-bottom: 5px;">{{{name|{{PAGENAME}}}}}</div>
    
    
   {{#if:{{{image|}}}|<div style="text-align: center; margin-bottom: 8px;">[[File:{{{image}}}|280px|center]]</div>}}
   <tr>
    <th colspan="2" class="fn" style="font-size: 125%; font-weight: bold; text-align: center; background-color: #f2f2f2; border: 1px solid #a2a9b1; padding: 0.2em 0.4em;">{{{name|{{PAGENAME}}}}}</th>
  </tr>
    
    
   <table style="width: 100%; border-collapse: collapse;">
   {{#if:{{{alias|}}}|
     {{#if:{{{species|}}}|<tr style="border-bottom: 1px solid #eaecf0;"><td style="font-weight: bold; padding: 4px; width: 40%;">Species:</td><td style="padding: 4px;">{{{species}}}</td></tr>}}
    <tr>
     {{#if:{{{faction|}}}|<tr style="border-bottom: 1px solid #eaecf0;"><td style="font-weight: bold; padding: 4px;">Faction:</td><td style="padding: 4px;">{{{faction}}}</td></tr>}}
      <td colspan="2" style="text-align: center; font-style: italic; color: #54595d; padding: 0.1em 0 0.4em 0; font-size: 95%;">
     {{#if:{{{status|}}}|<tr style="border-bottom: 1px solid #eaecf0;"><td style="font-weight: bold; padding: 4px;">Status:</td><td style="padding: 4px;">{{{status}}}</td></tr>}}
        Alias: {{{alias}}}
    {{#if:{{{abilities|}}}|<tr><td style="font-weight: bold; padding: 4px;">Abilities:</td><td style="padding: 4px;">{{{abilities}}}</td></tr>}}
      </td>
  </table>
     </tr>
</div>
  }}
 
  {{#if:{{{image|}}}|
    <tr>
      <td colspan="2" style="text-align: center; padding: 0.2em 0;">
        [[File:{{{image}}}|220px|center]]
      </td>
    </tr>
  }}
 
  <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|}}}|
    <tr>
      <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>
    </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>
  }}
  {{#if:{{{origin_planet|}}}|
    <tr>
      <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>
    </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>
  }}
  {{#if:{{{faction|}}}|
    <tr>
      <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>
    </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>
  }}
  {{#if:{{{position|}}}|
    <tr>
      <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em; vertical-align: top;">Position of Power</th>
      <td style="padding: 0.1em 0.4em; vertical-align: top;">{{{position}}}</td>
    </tr>
  }}
  {{#if:{{{occupation|}}}|
     <tr>
      <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em; vertical-align: top;">Occupation</th>
      <td style="padding: 0.1em 0.4em; vertical-align: top;">{{{occupation}}}</td>
    </tr>
  }}
 
  {{#if:{{{parents|}}}{{{relatives|}}}{{{abilities|}}}|
    <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;">Family & Traits</th>
    </tr>
  }}
  {{#if:{{{parents|}}}|
    <tr>
      <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>
    </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>
  }}
  {{#if:{{{abilities|}}}|
    <tr>
      <th scope="row" style="text-align: left; white-space: nowrap; font-weight: bold; padding: 0.1em 0.4em; vertical-align: top;">Abilities</th>
      <td style="padding: 0.1em 0.4em; vertical-align: top;">{{{abilities}}}</td>
    </tr>
  }}
</table><noinclude>
 
== TemplateData Documentation ==
This is the documentation for the VisualEditor form interface.


<templatedata>
<templatedata>
{
{
"description": "An infobox summarizing key details for a character in the universe.",
"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",
"suggested": true
},
"alias": {
"label": "Alias / Codenames",
"description": "Other names, titles, monikers, or pseudonyms the character goes by.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 25: 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 31: 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
},
},
"faction": {
"gender": {
"label": "Faction / Alignment",
"label": "Gender",
"description": "The group, military unit, hivemind, or side they fight for.",
"description": "The character's gender (e.g., Male, Female, None).",
"type": "string"
},
"born": {
"label": "Date of Birth / Creation",
"description": "When the character was born.",
"type": "string"
},
"died": {
"label": "Date of Death",
"description": "When the character died (if applicable).",
"type": "string"
},
"origin_planet": {
"label": "Origin Planet",
"description": "The home planet, dimension, or realm where the character was born.",
"type": "string",
"type": "string",
"suggested": true
"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": {
"status": {
"label": "Current Status",
"label": "Current Status",
"description": "Alive, Deceased, Missing, Captured, Unknown, etc.",
"description": "Alive, Deceased, Missing, Sealed, Unknown, etc.",
"type": "string",
"suggested": true
},
"faction": {
"label": "Primary Faction",
"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": {
"label": "Position of Power",
"description": "Official leadership titles held (e.g., Fleet Admiral, Hive Queen, High Priest).",
"type": "string"
},
"occupation": {
"label": "Occupation",
"description": "Their job, trade, or role (e.g., Engineer, Scout, Merchant, Assassin).",
"type": "string"
},
"parents": {
"label": "Parents / Creators",
"description": "The biological parents, parent entities, or mechanical creators.",
"type": "string"
},
"relatives": {
"label": "Relatives",
"description": "Siblings, children, notable family members, or genetic clones.",
"type": "string"
},
},
"abilities": {
"abilities": {
"label": "Powers / Abilities",
"label": "Powers / Abilities",
"description": "Notable skills or unique powers.",
"description": "Notable physical, weapons, technological, or biological skills.",
"type": "string"
"type": "string"
}
}
Line 55: Line 226:
}
}
</templatedata>
</templatedata>
[[Category:Infobox templates]]
</noinclude>

Latest revision as of 15:17, 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, None).

Stringoptional
Date of Birth / Creationborn

When the character was born.

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