Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<div class="infobox" style="float:right; min-width: 22em; max-width: 280px; font-size: 88%; line-height: 1.5em; margin: 5px; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9;"> | <div class="infobox" style="float:right; min-width: 22em; max-width: {{{maxwidth|280px}}}; font-size: 88%; line-height: 1.5em; margin: 5px; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9;"> | ||
<div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 5px 0;">{{{infoboxHeader|{{PAGENAME}}}}}</div> | <div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 5px 0;">{{{infoboxHeader|{{PAGENAME}}}}}</div> | ||
<div style="margin: 0 5px 5px;> | <div style="margin: 0 5px 5px;> | ||
Line 101: | Line 101: | ||
"description": "Place of origin", | "description": "Place of origin", | ||
"type": "string" | "type": "string" | ||
}, | |||
"maxwidth": { | |||
"label": "Max Width", | |||
"description": "The maximum width of the infobox", | |||
"type": "unknown", | |||
"suggestedvalues": [ | |||
"280px", | |||
"30em" | |||
], | |||
"default": "280px" | |||
}, | |||
"EnemyStatus": { | |||
"label": "Enemy Status", | |||
"description": "If or if not this person is an enemy of Tony Chase", | |||
"suggestedvalues": [ | |||
"Enemy", | |||
"Ally", | |||
"Neutral" | |||
], | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
"description": "This is a template meant to easily display information about a given person/character", | "description": "This is a template meant to easily display information about a given person/character", | ||
"paramOrder": [ | "paramOrder": [ | ||
"maxwidth", | |||
"infoboxHeader", | "infoboxHeader", | ||
"image", | "image", | ||
Line 113: | Line 134: | ||
"Gender", | "Gender", | ||
"Nationality", | "Nationality", | ||
"EnemyStatus", | |||
"label6", | "label6", | ||
"value6", | "value6", |
Revision as of 21:54, 16 December 2023
Infobox
This is a template meant to easily display information about a given person/character
Parameter | Description | Type | Status | |
---|---|---|---|---|
Max Width | maxwidth | The maximum width of the infobox
| Unknown | optional |
Infobox Header | infoboxHeader | This is the header of the infobox, will just be the pagename if left blank | String | optional |
Image | image | Image
| File | suggested |
Name | name | The name of whoever this is
| String | required |
Aliases/Also Known As | Knownas | Other names for a person
| String | optional |
Date of Birth | DOB | In M-D-Y format, please | Unknown | suggested |
Sex | Sex | The biological gender of the given character
| String | optional |
Gender | Gender | The expressed gender of the given character, such as if someone is transgender
| String | optional |
Nationality | Nationality | Place of origin | String | optional |
Enemy Status | EnemyStatus | If or if not this person is an enemy of Tony Chase
| Unknown | suggested |
label6 | label6 | no description | Unknown | optional |
value6 | value6 | no description | Unknown | optional |
label7 | label7 | no description | Unknown | optional |
value7 | value7 | no description | Unknown | optional |
label8 | label8 | no description | Unknown | optional |
value8 | value8 | no description | Unknown | optional |
label9 | label9 | no description | Unknown | optional |
value9 | value9 | no description | Unknown | optional |
label10 | label10 | no description | Unknown | optional |
value10 | value10 | no description | Unknown | optional |