Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
<div style="margin: 0 5px 5px;> | <div style="margin: 0 5px 5px;> | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
<div style="margin: 5px 0 0; text-align: center | <div style="margin: 5px 0 0; text-align: center;"> | ||
<div style="max-width: calc( | <div style="max-width: calc(22em - 10px);"> <!-- Subtract the total horizontal margins (5px left + 5px right) --> | ||
[[File:{{{image|250x250px}}}]] | [[File:{{{image|250x250px}}} | 22em]] <!-- Set the width of the image to the width of the infobox --> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 00:53, 11 December 2023
Infobox
This is a template meant to easily display information about a given person/character
Parameter | Description | Type | Status | |
---|---|---|---|---|
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 |
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 |