Template:Infobox appearance: Difference between revisions

From feywild

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if:{{{name|}}}{{{image|}}}{{{caption|}}}{{{use_like_caption|}}}{{{height|}}}{{{build|}}}{{{wings|}}}{{{eye_color|}}}{{{hair|}}}{{{skin_tone|}}}{{{scars|}}}{{{tattoos|}}}{{{piercings|}}}{{{distinguishing_features|}}}{{{notable_gear|}}}{{{other_notes|}}}|
{{#if:{{{name|}}}{{{height|}}}{{{build|}}}{{{wings|}}}{{{eye_color|}}}{{{hair|}}}{{{skintone|}}}{{{scars|}}}{{{tattoos|}}}{{{piercings|}}}{{{distinguishing_features|}}}{{{notable_gear|}}}{{{other_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|}}}|
  <div style="text-align:center; margin-bottom:10px;">
    [[File:{{{image}}}|250px|center]]
    {{#if:{{{caption|}}}|<div style="font-size:85%; color:#555;">{{{caption}}}</div>}}
  </div>
}}
<!-- Use Like Caption -->
{{#if:{{{use_like_caption|}}}|
  <div style="text-align:center; font-size:85%; color:#555; font-style:italic; margin-bottom:8px;">{{{use_like_caption}}}</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:{{{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; 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:{{{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; 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:{{{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; 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:{{{eye_color|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Eye Color</td><td style="padding:4px;">{{{eye_color}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}}
{{#if:{{{eye_color|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Eye Color</td><td style="padding:4px;">{{{eye_color}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></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; 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:{{{skin_tone|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Skin Tone</td><td style="padding:4px;">{{{skin_tone}}}</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:{{{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; 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:{{{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; 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:{{{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; 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:{{{distinguishing_features|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Distinguishing Features</td><td style="padding:4px;">{{{distinguishing_features}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}}
{{#if:{{{distinguishing_features|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Distinguishing Features</td><td style="padding:4px;">{{{distinguishing_features}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}}
{{#if:{{{notable_gear|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Notable Gear</td><td style="padding:4px;">{{{notable_gear}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}}
{{#if:{{{notable_gear|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Notable Gear</td><td style="padding:4px;">{{{notable_gear}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}}
{{#if:{{{other_notes|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Other Notes</td><td style="padding:4px;">{{{other_notes}}}</td></tr>}}
{{#if:{{{other_notes|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Other Notes</td><td style="padding:4px;">{{{other_notes}}}</td></tr>}}


Line 42: Line 29:
<templatedata>
<templatedata>
{
{
   "description": "Right-floating appearance infobox. Displays physical traits and a caption-style text. Empty fields are hidden automatically.",
   "description": "Right-floating appearance infobox. Displays physical features and traits for a character form or variant. Leave blank fields empty—unused rows are hidden automatically.",
   "params": {
   "params": {
     "name": { "label": "Form Title", "description": "Name of the form or appearance variant.", "type": "string" },
     "name": { "label": "Name", "description": "Title of the form or appearance (e.g. 'Natural Form').", "type": "string" },
    "image": { "label": "Image", "description": "Optional image filename (omit 'File:').", "type": "string" },
    "caption": { "label": "Caption", "description": "Displayed under the image.", "type": "string" },
    "use_like_caption": { "label": "Caption-like Note", "description": "Text shown in place of a caption even without an image.", "type": "string" },
     "height": { "label": "Height", "type": "string" },
     "height": { "label": "Height", "type": "string" },
     "build": { "label": "Build", "type": "string" },
     "build": { "label": "Build", "type": "string" },
Line 53: Line 37:
     "eye_color": { "label": "Eye Color", "type": "string" },
     "eye_color": { "label": "Eye Color", "type": "string" },
     "hair": { "label": "Hair", "type": "string" },
     "hair": { "label": "Hair", "type": "string" },
     "skin_tone": { "label": "Skin Tone", "type": "string" },
     "skintone": { "label": "Skintone", "type": "string" },
     "scars": { "label": "Scars", "type": "string" },
     "scars": { "label": "Scars", "type": "string" },
     "tattoos": { "label": "Tattoos", "type": "string" },
     "tattoos": { "label": "Tattoos", "type": "string" },
Line 62: Line 46:
   },
   },
   "paramOrder": [
   "paramOrder": [
     "name","image","caption","use_like_caption",
     "name","height","build","wings","eye_color","hair","skintone",
    "height","build","wings","eye_color","hair","skin_tone",
     "scars","tattoos","piercings","distinguishing_features","notable_gear","other_notes"
     "scars","tattoos","piercings","distinguishing_features","notable_gear","other_notes"
   ]
   ]
Line 73: Line 56:
{{Infobox appearance
{{Infobox appearance
| name = Natural Form
| name = Natural Form
| use_like_caption = Natural state of the Ayldarzi
| Height = 6'2"
| height = 6'2"
| Build = Wiry
| build = Wiry
| Wings = Red
| wings = Red
| Eye Color = Blue
| eye_color = Blue
| Hair = Ombre
| hair = Ombre
| Skintone = Green
| skin_tone = Green
| Scars = —
| distinguishing_features = Eyes change color; veins glow faintly at dusk
| Tattoos = —
| notable_gear = Veil-thread cloak; Oathbinding sigil
| Piercings = —
| other_notes = Often dresses in every color imaginable, resulting in a garish but oddly charming effect
| Distinguishing Features = Eyes change color; bioluminescent veins at dusk.
| Notable Gear = Veil-thread cloak; Oathbinding signet
| Other 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.
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Revision as of 14:21, 3 November 2025


Right-floating appearance infobox. Displays physical features and traits for a character form or variant. Leave blank fields empty—unused rows are hidden automatically.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

Title of the form or appearance (e.g. 'Natural Form').

Stringoptional
Heightheight

no description

Stringoptional
Buildbuild

no description

Stringoptional
Wingswings

no description

Stringoptional
Eye Coloreye_color

no description

Stringoptional
Hairhair

no description

Stringoptional
Skintoneskintone

no description

Stringoptional
Scarsscars

no description

Stringoptional
Tattoostattoos

no description

Stringoptional
Piercingspiercings

no description

Stringoptional
Distinguishing Featuresdistinguishing_features

no description

Stringoptional
Notable Gearnotable_gear

no description

Stringoptional
Other Notesother_notes

no description

Stringoptional

Usage

{{Infobox appearance
| name = Natural Form
| Height = 6'2"
| Build = Wiry
| Wings = Red
| Eye Color = Blue
| Hair = Ombre
| Skintone = Green
| Scars = —
| Tattoos = —
| Piercings = —
| Distinguishing Features = Eyes change color; bioluminescent veins at dusk.
| Notable Gear = Veil-thread cloak; Oathbinding signet
| Other 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.
}}