Template:Infobox appearance: Difference between revisions

From feywild

No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
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|}}}{{{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:380px; padding:10px; font-size:90%; line-height:1.5em;">


  <!-- Optional Name Header -->
<!-- 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 (optional) -->
<!-- Data Table -->
  {{#if:{{{image|}}}|
<table style="width:100%; border-collapse:collapse; font-size:95%;">
    <div style="text-align:center; margin-bottom:6px;">
{{#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>}}
      [[File:{{{image}}}|250px|center]]
{{#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:{{{caption|}}}|<div style="font-size:85%; color:#555; margin-top:4px;">{{{caption}}}</div>}}
{{#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>}}
    </div>
{{#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; 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; 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; 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; 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; 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; height:8px;"></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; height:8px;"></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; height:8px;"></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>


  <!-- Caption-like note (shows even without image) -->
  {{#if:{{{use_like_caption|{{{use like a caption here|}}}}}|
    <div style="text-align:center; font-size:85%; color:#555; margin-bottom:8px;">
      {{{use_like_caption|{{{use like a caption here|}}}}}
    </div>
  }}
  <!-- Data Table -->
  <table style="width:100%; border-collapse:collapse; font-size:95%;">
    <!-- Core -->
    {{#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 colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
    }}
    {{#if:{{{build|{{{Build|}}}}}|
      <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>
    }}
    {{#if:{{{wings|{{{Wings|}}}}}|
      <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>
    }}
    <!-- Features -->
    {{#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 colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>
    }}
    {{#if:{{{hair|{{{Hair|}}}}}|
      <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>
    }}
    {{#if:{{{skin_tone|{{{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 colspan="2" style="border-bottom:1px solid #aaa;"></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>
    }}
    {{#if:{{{tattoos|{{{Tattoos|}}}}}|
      <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>
    }}
    {{#if:{{{piercings|{{{Piercings|}}}}}|
      <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>
    }}
    {{#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>
    }}
    <!-- Gear / Notes -->
    {{#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>
    }}
    {{#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>
    }}
  </table>
</div>
</div>
}}
}}
Line 87: Line 29:
<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 infobox for character physical and aesthetic traits.",
   "params": {
   "params": {
     "name": {"label":"Name (header)","type":"string","description":"Optional big name shown above the image/section."},
     "name": { "label": "Form Name:", "type": "string" },
    "image": {"label":"Image","type":"string","description":"Filename only (omit 'File:')."},
     "height": { "label": "Height:", "type": "string" },
    "caption": {"label":"Caption","type":"string","description":"Shown under the image if an image is provided."},
     "build": { "label": "Build:", "type": "string" },
 
     "wings": { "label": "Wings:", "type": "string" },
    "use_like_caption": {"label":"Caption-like Note","type":"string","description":"A caption-style line that displays even without an image."},
     "eye": { "label": "Eye Color:", "type": "string" },
 
     "hair": { "label": "Hair:", "type": "string" },
     "height": {"label":"Height","type":"string"},
     "skintone": { "label": "Skintone:", "type": "string" },
     "build": {"label":"Build","type":"string"},
     "scars": { "label": "Scars:", "type": "string" },
     "wings": {"label":"Wings","type":"string"},
     "tattoos": { "label": "Tattoos:", "type": "string" },
     "eye_color": {"label":"Eye Color","type":"string"},
     "piercings": { "label": "Piercings:", "type": "string" },
     "hair": {"label":"Hair","type":"string"},
     "features": { "label": "Distinguishing Features:", "type": "string" },
     "skin_tone": {"label":"Skin Tone","type":"string"},
     "gear": { "label": "Notable Gear:", "type": "string" },
 
     "notes": { "label": "Other Notes:", "type": "string" }
     "scars": {"label":"Scars","type":"string"},
     "tattoos": {"label":"Tattoos","type":"string"},
     "piercings": {"label":"Piercings","type":"string"},
     "distinguishing_features": {"label":"Distinguishing Features","type":"string"},
     "notable_gear": {"label":"Notable Gear","type":"string"},
     "other_notes": {"label":"Other Notes","type":"string"}
   },
   },
   "paramOrder": [
   "paramOrder": [
     "name","image","caption","use_like_caption",
     "name", "height", "build", "wings", "eye", "hair", "skintone",
    "height","build","wings","eye_color","hair","skin_tone",
     "scars", "tattoos", "piercings", "features", "gear", "notes"
     "scars","tattoos","piercings","distinguishing_features",
    "notable_gear","other_notes"
   ]
   ]
}
}
Line 119: Line 53:


== Usage ==
== Usage ==
<pre><nowiki>
<pre>
{{Infobox appearance
{{Infobox appearance
| name = Natural Form
| name = Natural Form
| use like a caption here = Profile overview
| height = 6'2"
| Height = 6'2"
| build = Wiry
| Build = Wiry
| wings = Red
| Wings = Red
| eye = Blue
| Eye Color = Blue
| hair = Ombre
| Hair = Ombre
| skintone = Green
| Skintone = Green
| scars = —
| Distinguishing Features = Eyes change color; bioluminescent veins at dusk.
| tattoos = —
| Notable Gear = Veil-thread cloak; Oathbinding signet
| piercings = —
| 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.
| 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.
}}
}}
</nowiki></pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 20:47, 14 November 2025


Right-floating infobox for character physical and aesthetic traits.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Form Name:name

no description

Stringoptional
Height:height

no description

Stringoptional
Build:build

no description

Stringoptional
Wings:wings

no description

Stringoptional
Eye Color:eye

no description

Stringoptional
Hair:hair

no description

Stringoptional
Skintone:skintone

no description

Stringoptional
Scars:scars

no description

Stringoptional
Tattoos:tattoos

no description

Stringoptional
Piercings:piercings

no description

Stringoptional
Distinguishing Features:features

no description

Stringoptional
Notable Gear:gear

no description

Stringoptional
Other Notes:notes

no description

Stringoptional

Usage

{{Infobox appearance
| 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.
}}