Template:Infobox character: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if:{{{image|}}}{{{caption|}}}{{{aliases|}}}{{{loyalties|}}}{{{title|}}}{{{role|}}}{{{birthplace|}}}{{{birthdate|}}}{{{status|}}}{{{species|}}}{{{Nationality|}}}{{{gender|}}}{{{orientation|}}}{{{partners|}}}{{{education|}}}{{{Known Languages|}}}{{{ | {{#if:{{{image|}}}{{{caption|}}}{{{aliases|}}}{{{loyalties|}}}{{{title|}}}{{{role|}}}{{{birthplace|}}}{{{birthdate|}}}{{{status|}}}{{{species|}}}{{{Nationality|}}}{{{gender|}}}{{{orientation|}}}{{{partners|}}}{{{education|}}}{{{Known Languages|}}}{{{appearance1_title|}}}{{{appearance1_height|}}}{{{appearance1_build|}}}{{{appearance1_wings|}}}{{{appearance1_eye_color|}}}{{{appearance1_hair_color|}}}{{{appearance1_skin_tone|}}}{{{appearance1_distinguishing_features|}}}{{{appearance1_other_notes|}}}{{{appearance2_title|}}}{{{appearance2_height|}}}{{{appearance2_build|}}}{{{appearance2_wings|}}}{{{appearance2_eye_color|}}}{{{appearance2_hair_color|}}}{{{appearance2_skin_tone|}}}{{{appearance2_distinguishing_features|}}}{{{appearance2_other_notes|}}}{{{appearance3_title|}}}{{{appearance3_height|}}}{{{appearance3_build|}}}{{{appearance3_wings|}}}{{{appearance3_eye_color|}}}{{{appearance3_hair_color|}}}{{{appearance3_skin_tone|}}}{{{appearance3_distinguishing_features|}}}{{{appearance3_other_notes|}}}| | ||
<div style="float:right; clear: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; clear:right; margin:0 0 10px 15px; border:1px solid #AAA; background-color:#F9F9F9; width:300px; padding:10px; font-size:90%; line-height:1.5em;"> | ||
| Line 11: | Line 11: | ||
}} | }} | ||
<table style="width:100%; border-collapse:collapse; font-size:95%;"> | <table style="width:100%; border-collapse:collapse; font-size:95%;"> | ||
{{#if:{{{aliases|}}}|<tr><td style=" | {{#if:{{{aliases|}}}|<tr><td style="width:35%; font-weight:bold; padding:4px;">Aliases</td><td style="padding:4px;">{{{aliases}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}} | ||
{{#if:{{{loyalties|}}}|<tr><td style=" | {{#if:{{{loyalties|}}}|<tr><td style="font-weight:bold; padding:4px;">Loyalties</td><td style="padding:4px;">{{{loyalties}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}} | ||
{{#if:{{{title|}}}|<tr><td style=" | {{#if:{{{title|}}}|<tr><td style="font-weight:bold; padding:4px;">Title</td><td style="padding:4px;">{{{title}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}} | ||
{{#if:{{{role|}}}|<tr><td style=" | {{#if:{{{role|}}}|<tr><td style="font-weight:bold; padding:4px;">Role</td><td style="padding:4px;">{{{role}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}} | ||
{{#if:{{{birthplace|}}}|<tr><td style=" | {{#if:{{{birthplace|}}}|<tr><td style="font-weight:bold; padding:4px;">Birthplace</td><td style="padding:4px;">{{{birthplace}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}} | ||
{{#if:{{{birthdate|}}}|<tr><td style=" | {{#if:{{{birthdate|}}}|<tr><td style="font-weight:bold; padding:4px;">Birthdate</td><td style="padding:4px;">{{{birthdate}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}} | ||
{{#if:{{{status|}}}|<tr><td style=" | {{#if:{{{status|}}}|<tr><td style="font-weight:bold; padding:4px;">Status</td><td style="padding:4px;">{{{status}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}} | ||
{{#if:{{{species|}}}|<tr><td style=" | {{#if:{{{species|}}}|<tr><td style="font-weight:bold; padding:4px;">Species</td><td style="padding:4px;">{{{species}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}} | ||
{{#if:{{{Nationality|}}}|<tr><td style=" | {{#if:{{{Nationality|}}}|<tr><td style="font-weight:bold; padding:4px;">Nationality</td><td style="padding:4px;">{{{Nationality}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}} | ||
{{#if:{{{gender|}}}|<tr><td style=" | {{#if:{{{gender|}}}|<tr><td style="font-weight:bold; padding:4px;">Gender</td><td style="padding:4px;">{{{gender}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}} | ||
{{#if:{{{orientation|}}}|<tr><td style=" | {{#if:{{{orientation|}}}|<tr><td style="font-weight:bold; padding:4px;">Orientation</td><td style="padding:4px;">{{{orientation}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}} | ||
{{#if:{{{partners|}}}|<tr><td style=" | {{#if:{{{partners|}}}|<tr><td style="font-weight:bold; padding:4px;">Partners</td><td style="padding:4px;">{{{partners}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}} | ||
<!-- Appearance | <!-- Appearance Set 1 --> | ||
{{#if:{{{ | {{#if:{{{appearance1_height|}}}{{{appearance1_build|}}}{{{appearance1_wings|}}}{{{appearance1_eye_color|}}}{{{appearance1_hair_color|}}}{{{appearance1_skin_tone|}}}{{{appearance1_distinguishing_features|}}}{{{appearance1_other_notes|}}}| | ||
<tr><td style=" | <tr><td style="font-weight:bold; padding:4px;">{{#if:{{{appearance1_title|}}}|{{{appearance1_title}}}|Appearance (Form 1)}}</td> | ||
<td style="padding:4px;">{{{ | <td style="padding:4px;"> | ||
<tr><td colspan="2" style="border-bottom:1px solid #aaa | {{#if:{{{appearance1_height|}}}|'''Height:''' {{{appearance1_height}}}<br>}} | ||
{{#if:{{{appearance1_build|}}}|'''Build:''' {{{appearance1_build}}}<br>}} | |||
{{#if:{{{appearance1_wings|}}}|'''Wings:''' {{{appearance1_wings}}}<br>}} | |||
{{#if:{{{appearance1_eye_color|}}}|'''Eye color:''' {{{appearance1_eye_color}}}<br>}} | |||
{{#if:{{{appearance1_hair_color|}}}|'''Hair color:''' {{{appearance1_hair_color}}}<br>}} | |||
{{#if:{{{appearance1_skin_tone|}}}|'''Skin tone:''' {{{appearance1_skin_tone}}}<br>}} | |||
{{#if:{{{appearance1_distinguishing_features|}}}|'''Distinguishing features:''' {{{appearance1_distinguishing_features}}}<br>}} | |||
{{#if:{{{appearance1_other_notes|}}}|'''Other notes:''' {{{appearance1_other_notes}}}<br>}} | |||
</td></tr> | |||
<tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr> | |||
}} | }} | ||
{{#if:{{{ | <!-- Appearance Set 2 --> | ||
{{#if:{{{Known Languages|}}}|<tr><td style=" | {{#if:{{{appearance2_height|}}}{{{appearance2_build|}}}{{{appearance2_wings|}}}{{{appearance2_eye_color|}}}{{{appearance2_hair_color|}}}{{{appearance2_skin_tone|}}}{{{appearance2_distinguishing_features|}}}{{{appearance2_other_notes|}}}| | ||
<tr><td style="font-weight:bold; padding:4px;">{{#if:{{{appearance2_title|}}}|{{{appearance2_title}}}|Appearance (Form 2)}}</td> | |||
<td style="padding:4px;"> | |||
{{#if:{{{appearance2_height|}}}|'''Height:''' {{{appearance2_height}}}<br>}} | |||
{{#if:{{{appearance2_build|}}}|'''Build:''' {{{appearance2_build}}}<br>}} | |||
{{#if:{{{appearance2_wings|}}}|'''Wings:''' {{{appearance2_wings}}}<br>}} | |||
{{#if:{{{appearance2_eye_color|}}}|'''Eye color:''' {{{appearance2_eye_color}}}<br>}} | |||
{{#if:{{{appearance2_hair_color|}}}|'''Hair color:''' {{{appearance2_hair_color}}}<br>}} | |||
{{#if:{{{appearance2_skin_tone|}}}|'''Skin tone:''' {{{appearance2_skin_tone}}}<br>}} | |||
{{#if:{{{appearance2_distinguishing_features|}}}|'''Distinguishing features:''' {{{appearance2_distinguishing_features}}}<br>}} | |||
{{#if:{{{appearance2_other_notes|}}}|'''Other notes:''' {{{appearance2_other_notes}}}<br>}} | |||
</td></tr> | |||
<tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr> | |||
}} | |||
<!-- Appearance Set 3 --> | |||
{{#if:{{{appearance3_height|}}}{{{appearance3_build|}}}{{{appearance3_wings|}}}{{{appearance3_eye_color|}}}{{{appearance3_hair_color|}}}{{{appearance3_skin_tone|}}}{{{appearance3_distinguishing_features|}}}{{{appearance3_other_notes|}}}| | |||
<tr><td style="font-weight:bold; padding:4px;">{{#if:{{{appearance3_title|}}}|{{{appearance3_title}}}|Appearance (Form 3)}}</td> | |||
<td style="padding:4px;"> | |||
{{#if:{{{appearance3_height|}}}|'''Height:''' {{{appearance3_height}}}<br>}} | |||
{{#if:{{{appearance3_build|}}}|'''Build:''' {{{appearance3_build}}}<br>}} | |||
{{#if:{{{appearance3_wings|}}}|'''Wings:''' {{{appearance3_wings}}}<br>}} | |||
{{#if:{{{appearance3_eye_color|}}}|'''Eye color:''' {{{appearance3_eye_color}}}<br>}} | |||
{{#if:{{{appearance3_hair_color|}}}|'''Hair color:''' {{{appearance3_hair_color}}}<br>}} | |||
{{#if:{{{appearance3_skin_tone|}}}|'''Skin tone:''' {{{appearance3_skin_tone}}}<br>}} | |||
{{#if:{{{appearance3_distinguishing_features|}}}|'''Distinguishing features:''' {{{appearance3_distinguishing_features}}}<br>}} | |||
{{#if:{{{appearance3_other_notes|}}}|'''Other notes:''' {{{appearance3_other_notes}}}<br>}} | |||
</td></tr> | |||
<tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr> | |||
}} | |||
{{#if:{{{education|}}}|<tr><td style="font-weight:bold; padding:4px;">Education</td><td style="padding:4px;">{{{education}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa;"></td></tr>}} | |||
{{#if:{{{Known Languages|}}}|<tr><td style="font-weight:bold; padding:4px;">Known Languages</td><td style="padding:4px;">{{{Known Languages}}}</td></tr>}} | |||
</table> | </table> | ||
</div> | </div> | ||
| Line 43: | Line 83: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Right-floating character infobox with | "description": "Right-floating character infobox with three editable appearance sets built in (no subboxes). Empty fields are hidden.", | ||
"params": { | "params": { | ||
"image": { "label": "Image", " | "image": {"label": "Image", "type": "string"}, | ||
" | "caption": {"label": "Caption", "type": "string"}, | ||
" | "aliases": {"label": "Aliases", "type": "string"}, | ||
" | "loyalties": {"label": "Loyalties", "type": "string"}, | ||
" | "title": {"label": "Title", "type": "string"}, | ||
" | "role": {"label": "Role", "type": "string"}, | ||
" | "birthplace": {"label": "Birthplace", "type": "string"}, | ||
" | "birthdate": {"label": "Birthdate", "type": "string"}, | ||
" | "status": {"label": "Status", "type": "string"}, | ||
" | "species": {"label": "Species", "type": "string"}, | ||
" | "Nationality": {"label": "Nationality", "type": "string"}, | ||
" | "gender": {"label": "Gender", "type": "string"}, | ||
" | "orientation": {"label": "Orientation", "type": "string"}, | ||
" | "partners": {"label": "Partners", "type": "string"}, | ||
" | |||
"appearance1_title": {"label": "Appearance 1 Title", "type": "string"}, | |||
"appearance1_height": {"label": "Appearance 1 Height", "type": "string"}, | |||
"appearance1_build": {"label": "Appearance 1 Build", "type": "string"}, | |||
}, | "appearance1_wings": {"label": "Appearance 1 Wings", "type": "string"}, | ||
" | "appearance1_eye_color": {"label": "Appearance 1 Eye color", "type": "string"}, | ||
" | "appearance1_hair_color": {"label": "Appearance 1 Hair color", "type": "string"}, | ||
"appearance1_skin_tone": {"label": "Appearance 1 Skin tone", "type": "string"}, | |||
"appearance1_distinguishing_features": {"label": "Appearance 1 Distinguishing features", "type": "string"}, | |||
"appearance1_other_notes": {"label": "Appearance 1 Other notes", "type": "string"}, | |||
"appearance2_title": {"label": "Appearance 2 Title", "type": "string"}, | |||
"appearance2_height": {"label": "Appearance 2 Height", "type": "string"}, | |||
"appearance2_build": {"label": "Appearance 2 Build", "type": "string"}, | |||
"appearance2_wings": {"label": "Appearance 2 Wings", "type": "string"}, | |||
"appearance2_eye_color": {"label": "Appearance 2 Eye color", "type": "string"}, | |||
"appearance2_hair_color": {"label": "Appearance 2 Hair color", "type": "string"}, | |||
"appearance2_skin_tone": {"label": "Appearance 2 Skin tone", "type": "string"}, | |||
"appearance2_distinguishing_features": {"label": "Appearance 2 Distinguishing features", "type": "string"}, | |||
"appearance2_other_notes": {"label": "Appearance 2 Other notes", "type": "string"}, | |||
"appearance3_title": {"label": "Appearance 3 Title", "type": "string"}, | |||
"appearance3_height": {"label": "Appearance 3 Height", "type": "string"}, | |||
"appearance3_build": {"label": "Appearance 3 Build", "type": "string"}, | |||
"appearance3_wings": {"label": "Appearance 3 Wings", "type": "string"}, | |||
"appearance3_eye_color": {"label": "Appearance 3 Eye color", "type": "string"}, | |||
"appearance3_hair_color": {"label": "Appearance 3 Hair color", "type": "string"}, | |||
"appearance3_skin_tone": {"label": "Appearance 3 Skin tone", "type": "string"}, | |||
"appearance3_distinguishing_features": {"label": "Appearance 3 Distinguishing features", "type": "string"}, | |||
"appearance3_other_notes": {"label": "Appearance 3 Other notes", "type": "string"}, | |||
"education": {"label": "Education", "type": "string"}, | |||
"Known Languages": {"label": "Known Languages", "type": "string"} | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"image","caption","aliases","loyalties","title","role", | "image","caption","aliases","loyalties","title","role", | ||
"birthplace","birthdate","status","species","Nationality", | "birthplace","birthdate","status","species","Nationality","gender","orientation","partners", | ||
"appearance1_title","appearance1_height","appearance1_build","appearance1_wings","appearance1_eye_color","appearance1_hair_color","appearance1_skin_tone","appearance1_distinguishing_features","appearance1_other_notes", | |||
"appearance2_title","appearance2_height","appearance2_build","appearance2_wings","appearance2_eye_color","appearance2_hair_color","appearance2_skin_tone","appearance2_distinguishing_features","appearance2_other_notes", | |||
"appearance3_title","appearance3_height","appearance3_build","appearance3_wings","appearance3_eye_color","appearance3_hair_color","appearance3_skin_tone","appearance3_distinguishing_features","appearance3_other_notes", | |||
"education","Known Languages" | |||
] | ] | ||
} | } | ||
| Line 92: | Line 161: | ||
| orientation = Pansexual | | orientation = Pansexual | ||
| partners = Vael | | partners = Vael | ||
| appearance1_title = Natural Form | |||
| appearance1_height = 1.82 m (6'0") | |||
| appearance1_build = Wiry | |||
| appearance1_wings = Red | |||
| appearance1_eye_color = Blue | |||
| appearance1_hair_color = Ombre | |||
| appearance1_skin_tone = Green | |||
| appearance1_distinguishing_features = Silver freckles; thornlike ears | |||
| appearance1_other_notes = Bioluminescent veins at dusk | |||
| appearance2_title = Sylvan Form | |||
| appearance2_height = 1.82 m (6'0") | |||
| appearance2_build = Wiry | |||
| appearance2_eye_color = Blue | |||
| appearance2_hair_color = Black | |||
| appearance2_skin_tone = Tan | |||
| appearance3_title = Winter Aspect | |||
| appearance3_height = 1.82 m (6'0") | |||
| appearance3_build = Wiry | |||
| appearance3_wings = Frost-veined, vestigial | |||
| appearance3_eye_color = Ice blue | |||
| appearance3_hair_color = White | |||
| appearance3_skin_tone = Pale with blue undertone | |||
| appearance3_distinguishing_features = Breath mists in warm air | |||
| appearance3_other_notes = Faint chime when moving quickly | |||
| education = Arcane College of Ilina | | education = Arcane College of Ilina | ||
| Known Languages = Sylvan | | Known Languages = Sylvan | ||
| Line 120: | Line 194: | ||
</pre> | </pre> | ||
This | This keeps everything flat and easy to maintain. If later you decide you need a fourth or fifth form, I can hand you a ready-to-paste block that matches this pattern. | ||
Revision as of 11:19, 3 November 2025
Right-floating character infobox with three editable appearance sets built in (no subboxes). Empty fields are hidden.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | no description | String | optional |
| Caption | caption | no description | String | optional |
| Aliases | aliases | no description | String | optional |
| Loyalties | loyalties | no description | String | optional |
| Title | title | no description | String | optional |
| Role | role | no description | String | optional |
| Birthplace | birthplace | no description | String | optional |
| Birthdate | birthdate | no description | String | optional |
| Status | status | no description | String | optional |
| Species | species | no description | String | optional |
| Nationality | Nationality | no description | String | optional |
| Gender | gender | no description | String | optional |
| Orientation | orientation | no description | String | optional |
| Partners | partners | no description | String | optional |
| Appearance 1 Title | appearance1_title | no description | String | optional |
| Appearance 1 Height | appearance1_height | no description | String | optional |
| Appearance 1 Build | appearance1_build | no description | String | optional |
| Appearance 1 Wings | appearance1_wings | no description | String | optional |
| Appearance 1 Eye color | appearance1_eye_color | no description | String | optional |
| Appearance 1 Hair color | appearance1_hair_color | no description | String | optional |
| Appearance 1 Skin tone | appearance1_skin_tone | no description | String | optional |
| Appearance 1 Distinguishing features | appearance1_distinguishing_features | no description | String | optional |
| Appearance 1 Other notes | appearance1_other_notes | no description | String | optional |
| Appearance 2 Title | appearance2_title | no description | String | optional |
| Appearance 2 Height | appearance2_height | no description | String | optional |
| Appearance 2 Build | appearance2_build | no description | String | optional |
| Appearance 2 Wings | appearance2_wings | no description | String | optional |
| Appearance 2 Eye color | appearance2_eye_color | no description | String | optional |
| Appearance 2 Hair color | appearance2_hair_color | no description | String | optional |
| Appearance 2 Skin tone | appearance2_skin_tone | no description | String | optional |
| Appearance 2 Distinguishing features | appearance2_distinguishing_features | no description | String | optional |
| Appearance 2 Other notes | appearance2_other_notes | no description | String | optional |
| Appearance 3 Title | appearance3_title | no description | String | optional |
| Appearance 3 Height | appearance3_height | no description | String | optional |
| Appearance 3 Build | appearance3_build | no description | String | optional |
| Appearance 3 Wings | appearance3_wings | no description | String | optional |
| Appearance 3 Eye color | appearance3_eye_color | no description | String | optional |
| Appearance 3 Hair color | appearance3_hair_color | no description | String | optional |
| Appearance 3 Skin tone | appearance3_skin_tone | no description | String | optional |
| Appearance 3 Distinguishing features | appearance3_distinguishing_features | no description | String | optional |
| Appearance 3 Other notes | appearance3_other_notes | no description | String | optional |
| Education | education | no description | String | optional |
| Known Languages | Known Languages | no description | String | optional |
Usage
{{Infobox character
| image = Example.jpg
| caption = Example Caption
| aliases = The Shadow
| loyalties = House Vaeari
| title = Lord
| role = Enchanter
| birthplace = Ilina
| birthdate = 14th Sun of Summer, 1492
| status = Alive
| species = Ayldarzi
| Nationality = Ayldarzi
| gender = Male
| orientation = Pansexual
| partners = Vael
| appearance1_title = Natural Form
| appearance1_height = 1.82 m (6'0")
| appearance1_build = Wiry
| appearance1_wings = Red
| appearance1_eye_color = Blue
| appearance1_hair_color = Ombre
| appearance1_skin_tone = Green
| appearance1_distinguishing_features = Silver freckles; thornlike ears
| appearance1_other_notes = Bioluminescent veins at dusk
| appearance2_title = Sylvan Form
| appearance2_height = 1.82 m (6'0")
| appearance2_build = Wiry
| appearance2_eye_color = Blue
| appearance2_hair_color = Black
| appearance2_skin_tone = Tan
| appearance3_title = Winter Aspect
| appearance3_height = 1.82 m (6'0")
| appearance3_build = Wiry
| appearance3_wings = Frost-veined, vestigial
| appearance3_eye_color = Ice blue
| appearance3_hair_color = White
| appearance3_skin_tone = Pale with blue undertone
| appearance3_distinguishing_features = Breath mists in warm air
| appearance3_other_notes = Faint chime when moving quickly
| education = Arcane College of Ilina
| Known Languages = Sylvan
}}
This keeps everything flat and easy to maintain. If later you decide you need a fourth or fifth form, I can hand you a ready-to-paste block that matches this pattern.