Template:Infobox character: Difference between revisions

From feywild

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if:{{{image|}}}{{{caption|}}}{{{name|}}}{{{world|}}}{{{founding|}}}{{{head|}}}{{{heir|}}}{{{allegiance|}}}{{{seat|}}}{{{region|}}}{{{tier|}}}{{{colors|}}}{{{status|}}}{{{motto|}}}|
{{#if:{{{name|}}}{{{height|}}}{{{build|}}}{{{wings|}}}{{{eye|}}}{{{hair|}}}{{{skintone|}}}{{{scars|}}}{{{tattoos|}}}{{{piercings|}}}{{{features|}}}{{{gear|}}}{{{notes|}}}|
<div style="float:right; margin:0 0 10px 15px; border:1px solid #AAA; background-color:#F9F9F9; width:300px; padding:10px; font-size:90%; line-height:1.5em;">
<div style="float:right; margin:0 0 10px 15px; border:1px solid #AAA; background-color:#F9F9F9; width:300px; padding:10px; font-size:90%; line-height:1.5em;">


<!-- Name -->
<!-- Name -->
{{#if:{{{name|}}}|<div style="text-align:center; font-weight:bold; font-size:115%; margin-bottom:6px;">{{{name}}}</div>}}
{{#if:{{{name|}}}|<div style="text-align:center; font-weight:bold; font-size:115%; margin-bottom:6px;">{{{name}}}</div>}}
<!-- Image + Caption -->
{{#if:{{{image|}}}{{{caption|}}}|
<div style="text-align:center; margin-bottom:10px;">
  {{#if:{{{image|}}}|[[File:{{{image}}}|250px|center]]}}
  {{#if:{{{caption|}}}|<div style="font-size:85%; color:#555;">{{{caption}}}</div>}}
</div>
}}
<!-- Motto -->
{{#if:{{{motto|}}}|<div style="text-align:center; font-style:italic; margin-bottom:8px;">“{{{motto}}}”</div>}}


<!-- Data Table -->
<!-- Data Table -->
<table style="width:100%; border-collapse:collapse; font-size:95%;">
<table style="width:100%; border-collapse:collapse; font-size:95%;">
{{#if:{{{world|}}}|<tr><td style="vertical-align:top; width:40%; font-weight:bold; padding:4px;">World / Realm</td><td style="padding:4px;">{{{world}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}}
{{#if:{{{height|}}}|<tr><td style="vertical-align:top; width:40%; font-weight:bold; padding:4px;">Height</td><td style="padding:4px;">{{{height}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}}
{{#if:{{{founding|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Founding / Founder</td><td style="padding:4px;">{{{founding}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}}
{{#if:{{{build|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Build</td><td style="padding:4px;">{{{build}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}}
{{#if:{{{head|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Current Head</td><td style="padding:4px;">{{{head}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}}
{{#if:{{{wings|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Wings</td><td style="padding:4px;">{{{wings}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}}
{{#if:{{{heir|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Heir</td><td style="padding:4px;">{{{heir}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}}
{{#if:{{{eye|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Eye Color</td><td style="padding:4px;">{{{eye}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}}
{{#if:{{{allegiance|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Allegiance</td><td style="padding:4px;">{{{allegiance}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}}
{{#if:{{{hair|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Hair</td><td style="padding:4px;">{{{hair}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}}
{{#if:{{{seat|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Seat</td><td style="padding:4px;">{{{seat}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}}
{{#if:{{{skintone|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Skintone</td><td style="padding:4px;">{{{skintone}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}}
{{#if:{{{region|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Region</td><td style="padding:4px;">{{{region}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}}
{{#if:{{{scars|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Scars</td><td style="padding:4px;">{{{scars}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}}
{{#if:{{{tier|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Court Ranking</td><td style="padding:4px;">{{{tier}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}}
{{#if:{{{tattoos|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Tattoos</td><td style="padding:4px;">{{{tattoos}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}}
{{#if:{{{colors|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Colors</td><td style="padding:4px;">{{{colors}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}}
{{#if:{{{piercings|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Piercings</td><td style="padding:4px;">{{{piercings}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}}
{{#if:{{{status|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Status</td><td style="padding:4px;">{{{status}}}</td></tr>}}
{{#if:{{{features|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Distinguishing Features</td><td style="padding:4px;">{{{features}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}}
{{#if:{{{gear|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Notable Gear</td><td style="padding:4px;">{{{gear}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}}
{{#if:{{{notes|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Other Notes</td><td style="padding:4px;">{{{notes}}}</td></tr>}}
</table>
</table>


Line 38: Line 29:
<templatedata>
<templatedata>
{
{
   "description": "Right-floating infobox for noble houses or bloodlines. Displays crest, motto, and key lineage details.",
   "description": "Right-floating infobox for character physical and aesthetic traits. Only shows fields that are filled.",
   "params": {
   "params": {
     "name": { "label": "House Name", "description": "Full name of the noble house", "type": "string" },
     "name": { "label": "Form Name", "type": "string" },
    "image": { "label": "Image", "description": "Coat of arms or banner image file (omit 'File:')", "type": "string" },
     "height": { "label": "Height", "type": "string" },
     "caption": { "label": "Image caption", "type": "string" },
     "build": { "label": "Build", "type": "string" },
     "motto": { "label": "House motto or saying", "type": "string" },
     "wings": { "label": "Wings", "type": "string" },
     "world": { "label": "World or Realm", "type": "string" },
     "eye": { "label": "Eye Color", "type": "string" },
     "founding": { "label": "Founding / Founder", "type": "string" },
     "hair": { "label": "Hair", "type": "string" },
     "head": { "label": "Current Head of the House", "type": "string" },
     "skintone": { "label": "Skintone", "type": "string" },
     "heir": { "label": "Current heir of the House (if any)", "type": "string" },
     "scars": { "label": "Scars", "type": "string" },
     "allegiance": { "label": "Overarching allegiance or liege", "type": "string" },
     "tattoos": { "label": "Tattoos", "type": "string" },
     "seat": { "label": "Primary Stronghold or Seat of Power", "type": "string" },
     "piercings": { "label": "Piercings", "type": "string" },
     "region": { "label": "Territory or Domain", "type": "string" },
     "features": { "label": "Distinguishing Features", "type": "string" },
     "tier": { "label": "Court Ranking", "type": "string" },
     "gear": { "label": "Notable Gear", "type": "string" },
     "colors": { "label": "Official House Colors", "type": "string" },
     "notes": { "label": "Other Notes", "type": "string" }
     "status": { "label": "Current Status", "type": "string" }
   },
   },
   "paramOrder": [
   "paramOrder": [
     "name", "image", "caption", "motto",
     "name", "height", "build", "wings", "eye", "hair", "skintone",
    "world", "founding", "head", "heir",
     "scars", "tattoos", "piercings", "features", "gear", "notes"
     "allegiance", "seat", "region", "tier",
    "colors", "status"
   ]
   ]
}
}
Line 66: Line 54:
== Usage ==
== Usage ==
<pre><nowiki>
<pre><nowiki>
{{Infobox Noble House
{{Infobox Character Form
| name = House Vaeari
| name = Natural Form
| image = Vaeari_Crest.png
| height = 6'2"
| caption = Crest of House Vaeari
| build = Wiry
| motto = "Family Is Everything"
| wings = Red
| world = Feywild
| eye = Blue
| founding = Age of Silver — Lord Aethon Vaeari
| hair = Ombre
| head = Valkaénnar Vaeari
| skintone = Green
| heir = Daryndel Vaeari
| scars =
| allegiance = The Rísieth
| tattoos =
| seat = Vaeari Manor
| piercings =
| region = Unseelie Dominion
| features = Eyes change color; bioluminescent veins at dusk.
| tier = Tier One (Lord Sovereign)
| gear = Veil-thread cloak; Oathbinding signet
| colors = Silver and Black
| notes = Likes to wear silken robes dyed with all the colors of the rainbow at the same time and is often garish to look at.
| status = Active
}}
}}
</nowiki></pre>
</nowiki></pre>
</noinclude>
</noinclude>

Revision as of 17:46, 3 November 2025


Right-floating infobox for character physical and aesthetic traits. Only shows fields that are filled.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Form Namename

no description

Stringoptional
Heightheight

no description

Stringoptional
Buildbuild

no description

Stringoptional
Wingswings

no description

Stringoptional
Eye Coloreye

no description

Stringoptional
Hairhair

no description

Stringoptional
Skintoneskintone

no description

Stringoptional
Scarsscars

no description

Stringoptional
Tattoostattoos

no description

Stringoptional
Piercingspiercings

no description

Stringoptional
Distinguishing Featuresfeatures

no description

Stringoptional
Notable Geargear

no description

Stringoptional
Other Notesnotes

no description

Stringoptional

Usage

{{Infobox Character Form
| name = Natural Form
| height = 6'2"
| build = Wiry
| wings = Red
| eye = Blue
| hair = Ombre
| skintone = Green
| scars = —
| tattoos = —
| piercings = —
| features = Eyes change color; bioluminescent veins at dusk.
| gear = Veil-thread cloak; Oathbinding signet
| notes = Likes to wear silken robes dyed with all the colors of the rainbow at the same time and is often garish to look at.
}}