Template:Infobox character: Difference between revisions

From feywild

No edit summary
No edit summary
Line 1: Line 1:
<!-- =====================  TOP: COPY/PASTE USAGE (non-rendering)  ===================== -->
<noinclude>
<div style="border:1px solid #bbb; background:#f7f7f7; padding:12px; margin-bottom:15px;">
<b>How to use:</b> Copy the block below into a character page. Leave any field blank if it isn’t relevant.
<pre><nowiki>
{{Infobox character
| image = Example.jpg
| caption = Example Caption
| aliases = Unknown
| nicknames = The Shadow
| standard_titles = Lord General, Inquisitor Prime
| formal_titles = Lord General Xyz Abc, Inquisitor Prime
| full_title = His Eminence The Lord General Xyz Abc, Inquisitor Prime of the Winter Court, Master of the Queen's Honorguard
| territory = The Frostglade
| seat_of_power = Ruinspire
| status = Alive
| species = Ayldarzi
| gender = Male
| orientation = Pansexual
| nationality = Ayldarzi
| loyalties = House Vaeari
| birthplace = Ilina
| birthdate = June 14th, 1492
| during = The Age of Shifting Leaves
| partner(s) = Vael
| residences = Quellspirit Manor
| role = Enchanter
| combat_class = Rogue
| specialty = Second Story Work
| magic_school = Enchantment
| affinities = Glamour, Memory-Weave
| notable_feats = Veilstep; Oathbinding sigils
| formal_prep = Juniper Ridge Preparatory
| formal_scholastic = University of Fulgram
| formal_martial = Rischarch Academy
| formal_arcane = Arcane College of Ilina
| formal_religious = Seminary School of Durenal
| informal = Self-taught
| fluent_in = Sylvan
| semi_fluent_in = French
}}
</nowiki></pre>
</div>
</noinclude>
<!-- ================================================================================ -->
<includeonly>  
<includeonly>  
{{#if:{{{image|}}}{{{caption|}}}{{{aliases|}}}{{{nicknames|}}}{{{standard_titles|}}}{{{formal_titles|}}}{{{full_title|}}}{{{territory|}}}{{{seat_of_power|}}}{{{residences|}}}{{{loyalties|}}}{{{title|}}}{{{role|}}}{{{combat_class|}}}{{{specialty|}}}{{{magic_school|}}}{{{affinities|}}}{{{notable_feats|}}}{{{birthplace|}}}{{{birthdate|}}}{{{status|}}}{{{species|}}}{{{Nationality|}}}{{{gender|}}}{{{orientation|}}}{{{partners|}}}{{{education|}}}{{{Known Languages|}}}{{{fluent_in|}}}{{{semi_fluent_in|}}}|  
{{#if:{{{image|}}}{{{caption|}}}{{{aliases|}}}{{{nicknames|}}}{{{standard_titles|}}}{{{formal_titles|}}}{{{full_title|}}}{{{territory|}}}{{{seat_of_power|}}}{{{residences|}}}{{{loyalties|}}}{{{title|}}}{{{role|}}}{{{combat_class|}}}{{{specialty|}}}{{{magic_school|}}}{{{affinities|}}}{{{notable_feats|}}}{{{birthplace|}}}{{{birthdate|}}}{{{status|}}}{{{species|}}}{{{Nationality|}}}{{{gender|}}}{{{orientation|}}}{{{partners|}}}{{{education|}}}{{{Known Languages|}}}{{{fluent_in|}}}{{{semi_fluent_in|}}}|  
Line 118: Line 72:
<templatedata>
<templatedata>
{
{
   "description": "Use this infobox for character entries. Leave any field blank if it isn't relevant — empty fields are hidden automatically. A copy/paste usage example is provided at the top of this page.",
   "description": "This template creates a right-floating infobox for character entries. It displays a portrait and labeled data such as names, titles, loyalties, species, education, and languages. Leave any field blank if it isn’t relevant; unused rows are automatically hidden. Use consistent date formatting and comma-separated lists for multiple values.",
   "params": {
   "params": {
     "image": { "label": "Image", "description": "Filename of the image (omit the 'File:' prefix). Example: Example.jpg", "type": "string" },
     "image": { "label": "Image", "description": "Filename of the image (omit the 'File:' prefix).", "type": "string" },
     "caption": { "label": "Caption", "description": "Short text shown under the image.", "type": "string" },
     "caption": { "label": "Caption", "description": "Short text shown under the image.", "type": "string" },
     "aliases": { "label": "Aliases", "description": "Alternate names or public monikers.", "type": "string" },
     "aliases": { "label": "Aliases", "description": "Alternate names or public monikers.", "type": "string" },
     "nicknames": { "label": "Nickname(s)", "description": "Informal nicknames or epithets.", "type": "string" },
     "nicknames": { "label": "Nickname(s)", "description": "Informal nicknames or epithets.", "type": "string" },
     "standard_titles": { "label": "Standard Title(s)", "description": "Common titles used in everyday reference (e.g., Lord General, Inquisitor Prime).", "type": "string" },
     "standard_titles": { "label": "Standard Title(s)", "description": "Commonly used public or military titles.", "type": "string" },
     "formal_titles": { "label": "Formal Title(s)", "description": "Formal or ceremonial titles with proper styling.", "type": "string" },
     "formal_titles": { "label": "Formal Title(s)", "description": "Official or ceremonial titles.", "type": "string" },
     "full_title": { "label": "Full Title", "description": "Fully styled and complete honorific (long form).", "type": "string" },
     "full_title": { "label": "Full Title", "description": "Complete styled title (long form).", "type": "string" },
 
     "territory": { "label": "Territory", "description": "Domain or region under control.", "type": "string" },
     "territory": { "label": "Territory", "description": "Domain or region under control/influence.", "type": "string" },
     "seat_of_power": { "label": "Seat of Power", "description": "Primary residence, capital, or seat of rule.", "type": "string" },
     "seat_of_power": { "label": "Seat of Power", "description": "Primary stronghold, palace, or capital location.", "type": "string" },
     "residences": { "label": "Residence(s)", "description": "Notable places of dwelling.", "type": "string" },
     "residences": { "label": "Residence(s)", "description": "Notable homes, manors, or hideouts (comma-separated).", "type": "string" },
 
     "status": { "label": "Status", "description": "Current state (Alive, Deceased, Unknown, etc.).", "type": "string" },
     "status": { "label": "Status", "description": "Current state (Alive, Deceased, Unknown, etc.).", "type": "string" },
     "species": { "label": "Species", "description": "Race or species.", "type": "string" },
     "species": { "label": "Species", "description": "Race or species.", "type": "string" },
     "Nationality": { "label": "Nationality", "description": "Nationality and/or ethnicity.", "type": "string" },
     "Nationality": { "label": "Nationality", "description": "Nationality or ethnicity.", "type": "string" },
     "gender": { "label": "Gender", "description": "Gender identity.", "type": "string" },
     "gender": { "label": "Gender", "description": "Gender identity.", "type": "string" },
     "orientation": { "label": "Orientation", "description": "Sexual/romantic orientation.", "type": "string" },
     "orientation": { "label": "Orientation", "description": "Sexual or romantic orientation.", "type": "string" },
     "loyalties": { "label": "Loyalties", "description": "Factions, courts, houses, or organizations they serve.", "type": "string" },
     "loyalties": { "label": "Loyalties", "description": "Courts, houses, or organizations served.", "type": "string" },
     "partners": { "label": "Partner(s)", "description": "Romantic/bonded partners (comma-separated).", "type": "string" },
     "partners": { "label": "Partner(s)", "description": "Romantic or bonded partners.", "type": "string" },
 
     "birthplace": { "label": "Birthplace", "description": "Place of origin or birth.", "type": "string" },
     "birthplace": { "label": "Birthplace", "description": "Place of birth/origin.", "type": "string" },
     "birthdate": { "label": "Birthdate", "description": "Date of birth.", "type": "string" },
     "birthdate": { "label": "Birthdate", "description": "Date of birth (keep a consistent format across the wiki).", "type": "string" },
     "during": { "label": "During", "description": "Age or era during which they were born.", "type": "string" },
     "during": { "label": "During", "description": "Age/era in which they were born (e.g., The Age of Shifting Leaves).", "type": "string" },
     "deathdate": { "label": "Deathdate", "description": "Date of death.", "type": "string" },
     "deathdate": { "label": "Deathdate", "description": "Date of death (if applicable).", "type": "string" },
     "age_at_death": { "label": "Age at Death", "description": "Age when the character died.", "type": "string" },
     "age_at_death": { "label": "Age at Death", "description": "How old they were when they died.", "type": "string" },
     "death_circumstances": { "label": "Death Circumstances", "description": "Details surrounding their death.", "type": "string" },
     "death_circumstances": { "label": "Death Circumstances", "description": "Brief description of how they died.", "type": "string" },
     "title": { "label": "Title", "description": "General title if other title fields are unused.", "type": "string" },
 
     "role": { "label": "Role", "description": "Occupation or narrative role.", "type": "string" },
     "title": { "label": "Title", "description": "Simple title if you aren’t using the multi-title fields.", "type": "string" },
     "combat_class": { "label": "Combat Class", "description": "Combat archetype (e.g., Rogue, Fighter).", "type": "string" },
     "role": { "label": "Role", "description": "Occupation or narrative role (e.g., Enchanter, Captain).", "type": "string" },
     "specialty": { "label": "Specialty", "description": "Notable skill focus.", "type": "string" },
     "combat_class": { "label": "Combat Class", "description": "Martial archetype or battlefield role (e.g., Rogue, Skirmisher).", "type": "string" },
     "magic_school": { "label": "Magic School", "description": "
     "specialty": { "label": "Specialty", "description": "Distinct skill focus (e.g., Second Story Work).", "type": "string" },
 
     "magic_school": { "label": "Magic School", "description": "Primary magical discipline (e.g., Enchantment).", "type": "string" },
    "affinities": { "label": "Affinities", "description": "Elemental/arcane leanings (comma-separated).", "type": "string" },
    "notable_feats": { "label": "Notable Feats", "description": "Signature spells/feats/acts (semicolon- or comma-separated).", "type": "string" },
 
    "formal_prep": { "label": "Formal (Prep)", "description": "Preparatory school or equivalent.", "type": "string" },
    "formal_scholastic": { "label": "Formal (Scholastic)", "description": "University or general scholarly education.", "type": "string" },
    "formal_martial": { "label": "Formal (Martial)", "description": "Military or martial academy.", "type": "string" },
    "formal_arcane": { "label": "Formal (Arcane)", "description": "Arcane/magical institution.", "type": "string" },
    "formal_religious": { "label": "Formal (Religious)", "description": "Seminary or religious schooling.", "type": "string" },
    "informal": { "label": "Informal", "description": "Self-taught/apprenticeship/other training.", "type": "string" },
 
    "fluent_in": { "label": "Fluent In", "description": "Languages spoken fluently (comma-separated).", "type": "string" },
    "semi_fluent_in": { "label": "Semi-Fluent In", "description": "Languages spoken conversationally (comma-separated).", "type": "string" },
 
    "education": { "label": "Education (Legacy)", "description": "Legacy catch-all for education; prefer the specific formal_* and informal fields.", "type": "string" },
    "Known Languages": { "label": "Known Languages (Legacy)", "description": "Legacy catch-all for languages; prefer 'fluent_in' and 'semi_fluent_in'.", "type": "string" }
  },
  "paramOrder": [
    "image","caption",
    "aliases","nicknames","standard_titles","formal_titles","full_title",
    "territory","seat_of_power","residences",
    "status","species","Nationality","gender","orientation","loyalties","partners",
    "birthplace","birthdate","during","deathdate","age_at_death","death_circumstances",
    "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",
    "education","Known Languages"
  ]
}
</templatedata>
</noinclude>

Revision as of 13:21, 3 November 2025


<templatedata> {

 "description": "This template creates a right-floating infobox for character entries. It displays a portrait and labeled data such as names, titles, loyalties, species, education, and languages. Leave any field blank if it isn’t relevant; unused rows are automatically hidden. Use consistent date formatting and comma-separated lists for multiple values.",
 "params": {
   "image": { "label": "Image", "description": "Filename of the image (omit the 'File:' prefix).", "type": "string" },
   "caption": { "label": "Caption", "description": "Short text shown under the image.", "type": "string" },
   "aliases": { "label": "Aliases", "description": "Alternate names or public monikers.", "type": "string" },
   "nicknames": { "label": "Nickname(s)", "description": "Informal nicknames or epithets.", "type": "string" },
   "standard_titles": { "label": "Standard Title(s)", "description": "Commonly used public or military titles.", "type": "string" },
   "formal_titles": { "label": "Formal Title(s)", "description": "Official or ceremonial titles.", "type": "string" },
   "full_title": { "label": "Full Title", "description": "Complete styled title (long form).", "type": "string" },
   "territory": { "label": "Territory", "description": "Domain or region under control.", "type": "string" },
   "seat_of_power": { "label": "Seat of Power", "description": "Primary residence, capital, or seat of rule.", "type": "string" },
   "residences": { "label": "Residence(s)", "description": "Notable places of dwelling.", "type": "string" },
   "status": { "label": "Status", "description": "Current state (Alive, Deceased, Unknown, etc.).", "type": "string" },
   "species": { "label": "Species", "description": "Race or species.", "type": "string" },
   "Nationality": { "label": "Nationality", "description": "Nationality or ethnicity.", "type": "string" },
   "gender": { "label": "Gender", "description": "Gender identity.", "type": "string" },
   "orientation": { "label": "Orientation", "description": "Sexual or romantic orientation.", "type": "string" },
   "loyalties": { "label": "Loyalties", "description": "Courts, houses, or organizations served.", "type": "string" },
   "partners": { "label": "Partner(s)", "description": "Romantic or bonded partners.", "type": "string" },
   "birthplace": { "label": "Birthplace", "description": "Place of origin or birth.", "type": "string" },
   "birthdate": { "label": "Birthdate", "description": "Date of birth.", "type": "string" },
   "during": { "label": "During", "description": "Age or era during which they were born.", "type": "string" },
   "deathdate": { "label": "Deathdate", "description": "Date of death.", "type": "string" },
   "age_at_death": { "label": "Age at Death", "description": "Age when the character died.", "type": "string" },
   "death_circumstances": { "label": "Death Circumstances", "description": "Details surrounding their death.", "type": "string" },
   "title": { "label": "Title", "description": "General title if other title fields are unused.", "type": "string" },
   "role": { "label": "Role", "description": "Occupation or narrative role.", "type": "string" },
   "combat_class": { "label": "Combat Class", "description": "Combat archetype (e.g., Rogue, Fighter).", "type": "string" },
   "specialty": { "label": "Specialty", "description": "Notable skill focus.", "type": "string" },
   "magic_school": { "label": "Magic School", "description": "