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|{{{use like a caption here|}}}}}{{{height|{{{Height|}}}}}{{{build|{{{Build|}}}}}{{{wings|{{{Wings|}}}}}{{{eye_color|{{{Eye Color|}}}}}{{{hair|{{{Hair|}}}}}{{{skin_tone|{{{Skintone|{{{Skin Tone|}}}}}}}}}{{{scars|{{{Scars|}}}}}{{{tattoos|{{{Tattoos|}}}}}{{{piercings|{{{Piercings|}}}}}{{{distinguishing_features|{{{Distinguishing Features|}}}}}{{{notable_gear|{{{Notable Gear|}}}}}{{{other_notes|{{{Other Notes|}}}}}|  
{{#if:{{{name|}}}{{{image|}}}{{{caption|}}}{{{use like a caption here|{{{use_like_caption|}}}}}{{{Height|{{{height|}}}}}{{{Build|{{{build|}}}}}{{{Wings|{{{wings|}}}}}{{{Eye Color|{{{eye_color|}}}}}{{{Hair|{{{hair|}}}}}{{{Skintone|{{{skin_tone|}}}}}{{{Scars|{{{scars|}}}}}{{{Tattoos|{{{tattoos|}}}}}{{{Piercings|{{{piercings|}}}}}{{{Distinguishing Features|{{{distinguishing_features|}}}}}{{{Notable Gear|{{{notable_gear|}}}}}{{{Other Notes|{{{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;">


   <!-- Optional Name Header -->
   <!-- Optional Header -->
   {{#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 (optional) -->
   <!-- Optional Image + Caption -->
   {{#if:{{{image|}}}|
   {{#if:{{{image|}}}|
     <div style="text-align:center; margin-bottom:6px;">
     <div style="text-align:center; margin-bottom:6px;">
Line 15: Line 15:


   <!-- Caption-like note (shows even without image) -->
   <!-- Caption-like note (shows even without image) -->
   {{#if:{{{use_like_caption|{{{use like a caption here|}}}}}|
   {{#if:{{{use like a caption here|{{{use_like_caption|}}}}}|
     <div style="text-align:center; font-size:85%; color:#555; margin-bottom:8px;">
     <div style="text-align:center; font-size:85%; color:#555; margin-bottom:8px;">
       {{{use_like_caption|{{{use like a caption here|}}}}}
       {{{use like a caption here|{{{use_like_caption|}}}}}
     </div>
     </div>
   }}
   }}
Line 25: Line 25:


     <!-- Core -->
     <!-- Core -->
     {{#if:{{{height|{{{Height|}}}}}|
     {{#if:{{{Height|{{{height|}}}}}|
       <tr><td style="width:40%; font-weight:bold; padding:4px;">Height:</td><td style="padding:4px;">{{{height|{{{Height|}}}}}</td></tr>
       <tr><td style="width:40%; font-weight:bold; padding:4px;">Height:</td><td style="padding:4px;">{{{Height|{{{height|}}}}}</td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
     }}
     }}
     {{#if:{{{build|{{{Build|}}}}}|
     {{#if:{{{Build|{{{build|}}}}}|
       <tr><td style="font-weight:bold; padding:4px;">Build:</td><td style="padding:4px;">{{{build|{{{Build|}}}}}</td></tr>
       <tr><td style="font-weight:bold; padding:4px;">Build:</td><td style="padding:4px;">{{{Build|{{{build|}}}}}</td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
     }}
     }}
     {{#if:{{{wings|{{{Wings|}}}}}|
     {{#if:{{{Wings|{{{wings|}}}}}|
       <tr><td style="font-weight:bold; padding:4px;">Wings:</td><td style="padding:4px;">{{{wings|{{{Wings|}}}}}</td></tr>
       <tr><td style="font-weight:bold; padding:4px;">Wings:</td><td style="padding:4px;">{{{Wings|{{{wings|}}}}}</td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
     }}
     }}


     <!-- Features -->
     <!-- Features -->
     {{#if:{{{eye_color|{{{Eye Color|}}}}}|
     {{#if:{{{Eye Color|{{{eye_color|}}}}}|
       <tr><td style="font-weight:bold; padding:4px;">Eye Color:</td><td style="padding:4px;">{{{eye_color|{{{Eye Color|}}}}}</td></tr>
       <tr><td style="font-weight:bold; padding:4px;">Eye Color:</td><td style="padding:4px;">{{{Eye Color|{{{eye_color|}}}}}</td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
     }}
     }}
     {{#if:{{{hair|{{{Hair|}}}}}|
     {{#if:{{{Hair|{{{hair|}}}}}|
       <tr><td style="font-weight:bold; padding:4px;">Hair:</td><td style="padding:4px;">{{{hair|{{{Hair|}}}}}</td></tr>
       <tr><td style="font-weight:bold; padding:4px;">Hair:</td><td style="padding:4px;">{{{Hair|{{{hair|}}}}}</td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
     }}
     }}
     {{#if:{{{skin_tone|{{{Skintone|{{{Skin Tone|}}}}}}}}|
     {{#if:{{{Skintone|{{{skin_tone|}}}}}|
       <tr><td style="font-weight:bold; padding:4px;">Skin Tone:</td><td style="padding:4px;">{{{skin_tone|{{{Skintone|{{{Skin Tone|}}}}}}}}</td></tr>
       <tr><td style="font-weight:bold; padding:4px;">Skin Tone:</td><td style="padding:4px;">{{{Skintone|{{{skin_tone|}}}}}</td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
     }}
     }}


     {{#if:{{{scars|{{{Scars|}}}}}|
    <!-- Marks -->
       <tr><td style="font-weight:bold; padding:4px;">Scars:</td><td style="padding:4px;">{{{scars|{{{Scars|}}}}}</td></tr>
     {{#if:{{{Scars|{{{scars|}}}}}|
       <tr><td style="font-weight:bold; padding:4px;">Scars:</td><td style="padding:4px;">{{{Scars|{{{scars|}}}}}</td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
     }}
     }}
     {{#if:{{{tattoos|{{{Tattoos|}}}}}|
     {{#if:{{{Tattoos|{{{tattoos|}}}}}|
       <tr><td style="font-weight:bold; padding:4px;">Tattoos:</td><td style="padding:4px;">{{{tattoos|{{{Tattoos|}}}}}</td></tr>
       <tr><td style="font-weight:bold; padding:4px;">Tattoos:</td><td style="padding:4px;">{{{Tattoos|{{{tattoos|}}}}}</td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
     }}
     }}
     {{#if:{{{piercings|{{{Piercings|}}}}}|
     {{#if:{{{Piercings|{{{piercings|}}}}}|
       <tr><td style="font-weight:bold; padding:4px;">Piercings:</td><td style="padding:4px;">{{{piercings|{{{Piercings|}}}}}</td></tr>
       <tr><td style="font-weight:bold; padding:4px;">Piercings:</td><td style="padding:4px;">{{{Piercings|{{{piercings|}}}}}</td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
     }}
     }}


     {{#if:{{{distinguishing_features|{{{Distinguishing Features|}}}}}|
    <!-- Distinctions / Gear / Notes -->
       <tr><td style="font-weight:bold; padding:4px;">Distinguishing Features:</td><td style="padding:4px;">{{{distinguishing_features|{{{Distinguishing Features|}}}}}</td></tr>
     {{#if:{{{Distinguishing Features|{{{distinguishing_features|}}}}}|
       <tr><td style="font-weight:bold; padding:4px;">Distinguishing Features:</td><td style="padding:4px;">{{{Distinguishing Features|{{{distinguishing_features|}}}}}</td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
     }}
     }}
 
     {{#if:{{{Notable Gear|{{{notable_gear|}}}}}|
    <!-- Gear / Notes -->
       <tr><td style="font-weight:bold; padding:4px;">Notable Gear:</td><td style="padding:4px;">{{{Notable Gear|{{{notable_gear|}}}}}</td></tr>
     {{#if:{{{notable_gear|{{{Notable Gear|}}}}}|
       <tr><td style="font-weight:bold; padding:4px;">Notable Gear:</td><td style="padding:4px;">{{{notable_gear|{{{Notable Gear|}}}}}</td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
       <tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
     }}
     }}
     {{#if:{{{other_notes|{{{Other Notes|}}}}}|
     {{#if:{{{Other Notes|{{{other_notes|}}}}}|
       <tr><td style="font-weight:bold; padding:4px;">Other Notes:</td><td style="padding:4px;">{{{other_notes|{{{Other Notes|}}}}}</td></tr>
       <tr><td style="font-weight:bold; padding:4px;">Other Notes:</td><td style="padding:4px;">{{{Other Notes|{{{other_notes|}}}}}</td></tr>
     }}
     }}


Line 87: Line 87:
<templatedata>
<templatedata>
{
{
   "description": "Right-floating appearance infobox (extended). Works with or without an image. The 'use_like_caption' field renders as a caption-style line even if no image is provided. Fields are optional; unused rows are hidden.",
   "description": "Right-floating appearance infobox (extended). Works with or without an image. The 'use like a caption here' field renders as a caption-style note even when no image is provided. Leave any field blank; empty rows are hidden.",
   "params": {
   "params": {
     "name": {"label":"Name (header)","type":"string","description":"Optional big name shown above the image/section."},
     "name": { "label": "Name (header)", "type": "string" },
     "image": {"label":"Image","type":"string","description":"Filename only (omit 'File:')."},
     "image": { "label": "Image", "type": "string", "description": "Filename only, omit 'File:'" },
     "caption": {"label":"Caption","type":"string","description":"Shown under the image if an image is provided."},
     "caption": { "label": "Caption", "type": "string", "description": "Shown under the image if an image is provided" },


     "use_like_caption": {"label":"Caption-like Note","type":"string","description":"A caption-style line that displays even without an image."},
     "use_like_caption": { "label": "Caption-like Note", "type": "string", "aliases": ["use like a caption here"] },


     "height": {"label":"Height","type":"string"},
     "height": { "label": "Height", "type": "string", "aliases": ["Height"] },
     "build": {"label":"Build","type":"string"},
     "build": { "label": "Build", "type": "string", "aliases": ["Build"] },
     "wings": {"label":"Wings","type":"string"},
     "wings": { "label": "Wings", "type": "string", "aliases": ["Wings"] },
     "eye_color": {"label":"Eye Color","type":"string"},
     "eye_color": { "label": "Eye Color", "type": "string", "aliases": ["Eye Color"] },
     "hair": {"label":"Hair","type":"string"},
     "hair": { "label": "Hair", "type": "string", "aliases": ["Hair"] },
     "skin_tone": {"label":"Skin Tone","type":"string"},
     "skin_tone": { "label": "Skin Tone", "type": "string", "aliases": ["Skintone","Skin Tone"] },


     "scars": {"label":"Scars","type":"string"},
     "scars": { "label": "Scars", "type": "string", "aliases": ["Scars"] },
     "tattoos": {"label":"Tattoos","type":"string"},
     "tattoos": { "label": "Tattoos", "type": "string", "aliases": ["Tattoos"] },
     "piercings": {"label":"Piercings","type":"string"},
     "piercings": { "label": "Piercings", "type": "string", "aliases": ["Piercings"] },
     "distinguishing_features": {"label":"Distinguishing Features","type":"string"},
     "distinguishing_features": { "label": "Distinguishing Features", "type": "string", "aliases": ["Distinguishing Features"] },
     "notable_gear": {"label":"Notable Gear","type":"string"},
     "notable_gear": { "label": "Notable Gear", "type": "string", "aliases": ["Notable Gear"] },
     "other_notes": {"label":"Other Notes","type":"string"}
     "other_notes": { "label": "Other Notes", "type": "string", "aliases": ["Other Notes"] }
   },
   },
   "paramOrder": [
   "paramOrder": [
Line 129: Line 129:
| Hair = Ombre
| Hair = Ombre
| Skintone = Green
| Skintone = Green
| Scars = —
| Tattoos = —
| Piercings = —
| Distinguishing Features = Eyes change color; bioluminescent veins at dusk.
| Distinguishing Features = Eyes change color; bioluminescent veins at dusk.
| Notable Gear = Veil-thread cloak; Oathbinding signet
| Notable Gear = Veil-thread cloak; Oathbinding signet

Revision as of 14:04, 3 November 2025


Right-floating appearance infobox (extended). Works with or without an image. The 'use like a caption here' field renders as a caption-style note even when no image is provided. Leave any field blank; empty rows are hidden.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Name (header)name

no description

Stringoptional
Imageimage

Filename only, omit 'File:'

Stringoptional
Captioncaption

Shown under the image if an image is provided

Stringoptional
Caption-like Noteuse_like_caption use like a caption here

no description

Stringoptional
Heightheight Height

no description

Stringoptional
Buildbuild Build

no description

Stringoptional
Wingswings Wings

no description

Stringoptional
Eye Coloreye_color Eye Color

no description

Stringoptional
Hairhair Hair

no description

Stringoptional
Skin Toneskin_tone Skintone Skin Tone

no description

Stringoptional
Scarsscars Scars

no description

Stringoptional
Tattoostattoos Tattoos

no description

Stringoptional
Piercingspiercings Piercings

no description

Stringoptional
Distinguishing Featuresdistinguishing_features Distinguishing Features

no description

Stringoptional
Notable Gearnotable_gear Notable Gear

no description

Stringoptional
Other Notesother_notes Other Notes

no description

Stringoptional

Usage

{{Infobox appearance
| name = Natural Form
| use like a caption here = Profile overview
| 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.
}}