Template:Infobox appearance: Difference between revisions
From feywild
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if:{{{name|}}}{{{height|}}}{{{build|}}}{{{wings|}}}{{{eye_color|}}}{{{hair|}}}{{{skintone|}}}{{{scars|}}}{{{tattoos|}}}{{{piercings|}}}{{{distinguishing_features|}}}{{{notable_gear|}}}{{{other_notes|}}}| | {{#if:{{{name|}}} | ||
{{{Height|{{{height|}}}}}} | |||
{{{Build|{{{build|}}}}}} | |||
{{{Wings|{{{wings|}}}}}} | |||
{{{Eye Color|{{{eye_color|}}}}}} | |||
{{{Hair|{{{hair|}}}}}} | |||
{{{Skintone|{{{skintone|}}}}}} | |||
{{{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;"> | ||
<!-- 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>}} | ||
<!-- 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:{{{ | {{#if:{{{Height|{{{height|}}}}}}| | ||
<tr><td style="vertical-align:top; 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> | |||
}} | |||
</table> | {{#if:{{{Build|{{{build|}}}}}}| | ||
</div> }} | <tr><td style="vertical-align:top; 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="vertical-align:top; 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> | |||
}} | |||
{{#if:{{{Eye Color|{{{eye_color|}}}}}}| | |||
<tr><td style="vertical-align:top; 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="vertical-align:top; 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:{{{Skintone|{{{skintone|}}}}}}| | |||
<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Skintone</td> | |||
<td style="padding:4px;">{{{Skintone|{{{skintone|}}}}}}</td></tr> | |||
<tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr> | |||
}} | |||
{{#if:{{{Scars|{{{scars|}}}}}}| | |||
<tr><td style="vertical-align:top; 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="vertical-align:top; 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="vertical-align:top; 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="vertical-align:top; 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> | |||
}} | |||
{{#if:{{{Notable Gear|{{{notable_gear|}}}}}}| | |||
<tr><td style="vertical-align:top; 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="vertical-align:top; font-weight:bold; padding:4px;">Other Notes</td> | |||
<td style="padding:4px;">{{{Other Notes|{{{other_notes|}}}}}}</td></tr> | |||
}} | |||
</table> | |||
</div>}} | |||
</includeonly> | </includeonly> | ||
| Line 29: | Line 99: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Right-floating appearance infobox. | "description": "Right-floating appearance infobox. Accepts either spaced/capitalized or snake_case parameter names. Leave blank fields empty—unused rows are hidden automatically.", | ||
"params": { | "params": { | ||
"name": { "label": "Name", " | "name": { "label": "Name", "type": "string" }, | ||
" | |||
"build": { "label": "Build", "type": "string" }, | "Height": { "label": "Height", "type": "string" }, | ||
"wings": { "label": "Wings", "type": "string" }, | "height": { "label": "Height (alt)", "type": "string" }, | ||
"eye_color": { "label": "Eye Color", "type": "string" }, | |||
"hair": { "label": "Hair", "type": "string" }, | "Build": { "label": "Build", "type": "string" }, | ||
"skintone": { "label": "Skintone", "type": "string" }, | "build": { "label": "Build (alt)", "type": "string" }, | ||
"scars": { "label": "Scars", "type": "string" }, | |||
"tattoos": { "label": "Tattoos", "type": "string" }, | "Wings": { "label": "Wings", "type": "string" }, | ||
" | "wings": { "label": "Wings (alt)", "type": "string" }, | ||
" | |||
" | "Eye Color": { "label": "Eye Color", "type": "string" }, | ||
" | "eye_color": { "label": "Eye Color (alt)", "type": "string" }, | ||
"Hair": { "label": "Hair", "type": "string" }, | |||
"hair": { "label": "Hair (alt)", "type": "string" }, | |||
" | |||
"Skintone": { "label": "Skintone", "type": "string" }, | |||
"skintone": { "label": "Skintone (alt)", "type": "string" }, | |||
"Scars": { "label": "Scars", "type": "string" }, | |||
"scars": { "label": "Scars (alt)", "type": "string" }, | |||
"Tattoos": { "label": "Tattoos", "type": "string" }, | |||
"tattoos": { "label": "Tattoos (alt)", "type": "string" }, | |||
"Piercings": { "label": "Piercings", "type": "string" }, | |||
"piercings": { "label": "Piercings (alt)", "type": "string" }, | |||
"Distinguishing Features": { "label": "Distinguishing Features", "type": "string" }, | |||
"distinguishing_features": { "label": "Distinguishing Features (alt)", "type": "string" }, | |||
"Notable Gear": { "label": "Notable Gear", "type": "string" }, | |||
"notable_gear": { "label": "Notable Gear (alt)", "type": "string" }, | |||
"Other Notes": { "label": "Other Notes", "type": "string" }, | |||
"other_notes": { "label": "Other Notes (alt)", "type": "string" } | |||
} | |||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 14:24, 3 November 2025
Right-floating appearance infobox. Accepts either spaced/capitalized or snake_case parameter names. Leave blank fields empty—unused rows are hidden automatically.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | String | optional |
| Height | Height | no description | String | optional |
| Height (alt) | height | no description | String | optional |
| Build | Build | no description | String | optional |
| Build (alt) | build | no description | String | optional |
| Wings | Wings | no description | String | optional |
| Wings (alt) | wings | no description | String | optional |
| Eye Color | Eye Color | no description | String | optional |
| Eye Color (alt) | eye_color | no description | String | optional |
| Hair | Hair | no description | String | optional |
| Hair (alt) | hair | no description | String | optional |
| Skintone | Skintone | no description | String | optional |
| Skintone (alt) | skintone | no description | String | optional |
| Scars | Scars | no description | String | optional |
| Scars (alt) | scars | no description | String | optional |
| Tattoos | Tattoos | no description | String | optional |
| Tattoos (alt) | tattoos | no description | String | optional |
| Piercings | Piercings | no description | String | optional |
| Piercings (alt) | piercings | no description | String | optional |
| Distinguishing Features | Distinguishing Features | no description | String | optional |
| Distinguishing Features (alt) | distinguishing_features | no description | String | optional |
| Notable Gear | Notable Gear | no description | String | optional |
| Notable Gear (alt) | notable_gear | no description | String | optional |
| Other Notes | Other Notes | no description | String | optional |
| Other Notes (alt) | other_notes | no description | String | optional |
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.
}}