Template:Infobox character: Difference between revisions

From feywild

No edit summary
No edit summary
 
(71 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="border:1px solid #AAA; background-color:#F9F9F9; width:300px; padding:8px; font-size:90%; line-height:1.4em;">
<div style="float:right; margin:0 0 10px 15px; border:1px solid #AAA; background-color:#F9F9F9; width:320px; padding:10px; font-size:90%; line-height:1.5em;">


<!-- Name (centered and bold) -->
  <!-- Name -->
<div style="text-align:center; font-size:120%; font-weight:bold; margin-bottom:6px;">
  {{#if:{{{name|}}}|<div style="text-align:center; font-weight:bold; font-size:115%; margin-bottom:6px;">{{{name}}}</div>}}
   {{{name|Unknown}}}
 
</div>
  <!-- Image + Caption -->
   {{#if:{{{image|}}}|
    <div style="text-align:center; margin:8px 0;">
      [[File:{{{image}}}|250px|center]]
      {{#if:{{{caption|}}}|<div style="font-size:85%; color:#555;">{{{caption}}}</div>}}
    </div>
  }}
 
  <table style="width:100%; border-collapse:collapse; font-size:95%;">
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Alias(es):</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{aliases|—}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Nickname(s):</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{nicknames|—}}}</td></tr>
 
    <!-- Removed: Standard Title(s), Formal Title(s), Full Title, Territory, Seat of Power -->


<!-- Image and Caption -->
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Residence(s):</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{residences|—}}}</td></tr>
<div style="text-align:center; margin-bottom:8px;">
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Status:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{status|—}}}</td></tr>
  {{#if:{{{image|}}}|[[File:{{{image}}}|250px|center]]}}
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Species:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{species|—}}}</td></tr>
  <div style="font-size:85%; color:#555;">{{{caption|}}}</div>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Nationality:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{Nationality|—}}}</td></tr>
</div>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Gender:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{gender|—}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Orientation:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{orientation|—}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Loyalty/Loyalties:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{loyalties|—}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Partner(s):</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{partners|—}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Birthplace:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{birthplace|—}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Birthdate:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{birthdate|—}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Era / Age:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{during|—}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Title:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{title|}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Role:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{role|—}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Combat Class:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{combat_class|—}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Specialty:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{specialty|—}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Magic School:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{magic_school|—}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Affinity/Affinities:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{affinities|}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Notable Feat(s):</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{notable_feats|—}}}</td></tr>


<!-- Data Fields -->
    <tr><td colspan="2" style="text-align:center; border-top:1px solid #aaa; font-weight:bold; padding:4px;">Education & Training</td></tr>
<table style="width:100%; border-collapse:collapse; font-size:95%;">
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Formal Prep:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{formal_prep|}}}</td></tr>
  <tr><td style="vertical-align:top; width:35%; font-weight:bold;">Aliases</td><td>{{{aliases|}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Formal Scholastic:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{formal_scholastic|}}}</td></tr>
  <tr><td style="vertical-align:top; font-weight:bold;">Loyalties</td><td>{{{loyalties|}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Formal Martial:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{formal_martial|}}}</td></tr>
  <tr><td style="vertical-align:top; font-weight:bold;">Title</td><td>{{{title|}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Formal Arcane:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{formal_arcane|}}}</td></tr>
  <tr><td style="vertical-align:top; font-weight:bold;">Role</td><td>{{{role|}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Formal Religious:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{formal_religious|}}}</td></tr>
  <tr><td style="vertical-align:top; font-weight:bold;">Birthplace</td><td>{{{birthplace|}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Informal Training:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{informal|}}}</td></tr>
  <tr><td style="vertical-align:top; font-weight:bold;">Birthdate</td><td>{{{birthdate|}}}</td></tr>
  <tr><td style="vertical-align:top; font-weight:bold;">Status</td><td>{{{status|}}}</td></tr>
  <tr><td style="vertical-align:top; font-weight:bold;">Species</td><td>{{{species|}}}</td></tr>
  <tr><td style="vertical-align:top; font-weight:bold;">Gender</td><td>{{{gender|}}}</td></tr>
  <tr><td style="vertical-align:top; font-weight:bold;">Orientation</td><td>{{{orientation|}}}</td></tr>
  <tr><td style="vertical-align:top; font-weight:bold;">Partners</td><td>{{{partners|}}}</td></tr>
  <tr><td style="vertical-align:top; font-weight:bold;">Education</td><td>{{{education|}}}</td></tr>
</table>


    <tr><td colspan="2" style="text-align:center; border-top:1px solid #aaa; font-weight:bold; padding:4px;">Languages</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Fluent In:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{fluent_in|—}}}</td></tr>
    <tr><td style="padding:4px; border-top:1px solid #aaa;"><b>Semi-Fluent In:</b></td><td style="padding:4px; border-top:1px solid #aaa;">{{{semi_fluent_in|—}}}</td></tr>
  </table>
</div>
</div>
</includeonly>
</includeonly>


<noinclude>
<noinclude>
{{TemplateData|
<templatedata>
description = "Displays a neatly formatted infobox for characters, with name centered, image and caption below, and remaining data fields listed with labels."
{
params = {
  "description": "Right-floating character infobox (no lordship fields). Name at top, optional image/caption, and a compact two-column table.",
  name = {
  "params": {
    label = "Name",
    "name": {"label":"Name","type":"string"},
    description = "Full name of the character.",
     "image": {"label":"Image file name (omit 'File:')","type":"string"},
    type = "string",
     "caption": {"label":"Image caption","type":"string"},
     required = true
     "aliases": {"label":"Aliases","type":"string"},
  },
     "nicknames": {"label":"Nicknames","type":"string"},
  image = {
 
    label = "Image",
     "residences": {"label":"Residences","type":"string"},
    description = "Image file name (omit File: prefix).",
     "status": {"label":"Status","type":"string"},
    type = "string",
     "species": {"label":"Species","type":"string"},
     required = false
     "Nationality": {"label":"Nationality","type":"string"},
  },
    "gender": {"label":"Gender","type":"string"},
  caption = {
     "orientation": {"label":"Orientation","type":"string"},
    label = "Caption",
     "loyalties": {"label":"Loyalties","type":"string"},
    description = "Short caption or quote under the image.",
    "partners": {"label":"Partners","type":"string"},
    type = "string",
     "birthplace": {"label":"Birthplace","type":"string"},
     required = false
     "birthdate": {"label":"Birthdate","type":"string"},
  },
     "during": {"label":"Era / Age","type":"string"},
  aliases = {
     "title": {"label":"Title","type":"string"},
    label = "Aliases",
    "role": {"label":"Role","type":"string"},
     description = "Alternate names or titles the character is known by.",
     "combat_class": {"label":"Combat class","type":"string"},
    type = "string",
     "specialty": {"label":"Specialty","type":"string"},
    required = false
     "magic_school": {"label":"Magic school","type":"string"},
  },
    "affinities": {"label":"Affinities","type":"string"},
  loyalties = {
     "notable_feats": {"label":"Notable feats","type":"string"},
     label = "Loyalties",
 
     description = "Organizations, families, or causes the character is loyal to.",
     "formal_prep": {"label":"Formal prep","type":"string"},
     type = "string",
     "formal_scholastic": {"label":"Formal scholastic","type":"string"},
     required = false
     "formal_martial": {"label":"Formal martial","type":"string"},
  },
    "formal_arcane": {"label":"Formal arcane","type":"string"},
  title = {
     "formal_religious": {"label":"Formal religious","type":"string"},
    label = "Title",
     "informal": {"label":"Informal training","type":"string"},
     description = "Formal or informal title(s).",
 
    type = "string",
     "fluent_in": {"label":"Fluent in","type":"string"},
     required = false
     "semi_fluent_in": {"label":"Semi-fluent in","type":"string"}
  },
  role = {
    label = "Role",
    description = "Occupation, profession, or narrative role.",
    type = "string",
     required = false
  },
  birthplace = {
    label = "Birthplace",
    description = "Place of birth or origin.",
    type = "string",
     required = false
  },
  birthdate = {
    label = "Birthdate",
     description = "Character's date of birth.",
    type = "string",
     required = false
  },
  status = {
    label = "Status",
     description = "Current status (Alive, Deceased, Unknown, etc.).",
     type = "string",
     required = false
  },
  species = {
    label = "Species",
     description = "Race or species of the character.",
    type = "string",
    required = false
  },
  gender = {
     label = "Gender",
     description = "Gender identity of the character.",
    type = "string",
     required = false
  },
  orientation = {
    label = "Orientation",
     description = "Sexual orientation.",
    type = "string",
     required = false
  },
  partners = {
     label = "Partners",
     description = "Romantic or bonded partners.",
    type = "string",
    required = false
   },
   },
   education = {
   "paramOrder": [
     label = "Education",
    "name","image","caption",
     description = "Training, schooling, or institutions attended.",
     "aliases","nicknames",
     type = "string",
     "residences","status","species","Nationality","gender","orientation","loyalties","partners",
     required = false
     "birthplace","birthdate","during","title","role","combat_class","specialty","magic_school","affinities","notable_feats",
   }
     "formal_prep","formal_scholastic","formal_martial","formal_arcane","formal_religious","informal",
    "fluent_in","semi_fluent_in"
   ]
}
}
}}
</templatedata>


== Usage ==
== Usage ==
Place this template at the top of a character page:
<pre>
<pre>
{{Infobox character
{{Infobox character
| name       = Example Name
| name           = Dren Tal'Daer
| image       = Example.jpg
| image         =
| caption     = Example Caption
| caption       =
| aliases    = add alias
| aliases       = Roland and Wulfric (et al., historically)
| loyalties   = factions etc
| nicknames      =
| title       = whatever titles
| residences     = Lives in Castle Brookhaven
| role        = class, profession etc
| status        = Reincarnated; Alive
| birthplace  = where
| species        = Ayldarzi
| birthdate   = when
| Nationality    = —
| status     = alive
| gender        = Male
| species     = species, race, nationality
| orientation    = Mostly straight
| gender      = whatever
| loyalties     = House Vaeari; France; Tyrol
| orientation = whatever
| partners       =
| partners    = whoever
| birthplace    = Near Brookhaven, Winter Court
| education  = whatever
| birthdate      = 5/14/3221
| during        = The Age of Shifting Leaves
| title          = —
| role          = Valkaenar's personal bodyguard; Lucien Brumenoir's Standard Bearer
| combat_class   = Strength-based fighter
| specialty     = Bodyguard
| magic_school  = —
| affinities     =
| notable_feats  = —
| formal_prep    = —
| formal_scholastic = —
| formal_martial = Rischarch Academy
| formal_arcane  = —
| formal_religious =
| informal      = Self-taught; tutored; trained as needed
| fluent_in      = Sylvan
| semi_fluent_in = French
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 18:49, 3 November 2025


Right-floating character infobox (no lordship fields). Name at top, optional image/caption, and a compact two-column table.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

no description

Stringoptional
Image file name (omit 'File:')image

no description

Stringoptional
Image captioncaption

no description

Stringoptional
Aliasesaliases

no description

Stringoptional
Nicknamesnicknames

no description

Stringoptional
Residencesresidences

no description

Stringoptional
Statusstatus

no description

Stringoptional
Speciesspecies

no description

Stringoptional
NationalityNationality

no description

Stringoptional
Gendergender

no description

Stringoptional
Orientationorientation

no description

Stringoptional
Loyaltiesloyalties

no description

Stringoptional
Partnerspartners

no description

Stringoptional
Birthplacebirthplace

no description

Stringoptional
Birthdatebirthdate

no description

Stringoptional
Era / Ageduring

no description

Stringoptional
Titletitle

no description

Stringoptional
Rolerole

no description

Stringoptional
Combat classcombat_class

no description

Stringoptional
Specialtyspecialty

no description

Stringoptional
Magic schoolmagic_school

no description

Stringoptional
Affinitiesaffinities

no description

Stringoptional
Notable featsnotable_feats

no description

Stringoptional
Formal prepformal_prep

no description

Stringoptional
Formal scholasticformal_scholastic

no description

Stringoptional
Formal martialformal_martial

no description

Stringoptional
Formal arcaneformal_arcane

no description

Stringoptional
Formal religiousformal_religious

no description

Stringoptional
Informal traininginformal

no description

Stringoptional
Fluent influent_in

no description

Stringoptional
Semi-fluent insemi_fluent_in

no description

Stringoptional

Usage

{{Infobox character
| name           = Dren Tal'Daer
| image          =
| caption        =
| aliases        = Roland and Wulfric (et al., historically)
| nicknames      =
| residences     = Lives in Castle Brookhaven
| status         = Reincarnated; Alive
| species        = Ayldarzi
| Nationality    = —
| gender         = Male
| orientation    = Mostly straight
| loyalties      = House Vaeari; France; Tyrol
| partners       = —
| birthplace     = Near Brookhaven, Winter Court
| birthdate      = 5/14/3221
| during         = The Age of Shifting Leaves
| title          = —
| role           = Valkaenar's personal bodyguard; Lucien Brumenoir's Standard Bearer
| combat_class   = Strength-based fighter
| specialty      = Bodyguard
| magic_school   = —
| affinities     = —
| notable_feats  = —
| formal_prep    = —
| formal_scholastic = —
| formal_martial = Rischarch Academy
| formal_arcane  = —
| formal_religious = —
| informal       = Self-taught; tutored; trained as needed
| fluent_in      = Sylvan
| semi_fluent_in = French
}}