Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
(Fixed category names. It worked the first time :D) |
(Made this also look a little better) |
||
Line 9: | Line 9: | ||
</div> | </div> | ||
<div style="{{#if: {{{name|}}} | | display: none; }}"> | <div style="{{#if: {{{name|}}} | | display: none; }}"> | ||
<div style="margin: 5px 0 0; padding: 0 3px 0; border-top: 1px | <div style="margin: 5px 0 0; padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Name</b>: {{{name}}}</div> | ||
</div> | </div> | ||
<div style="{{#if: {{{Knownas|}}} | | display: none; }}"> | <div style="{{#if: {{{Knownas|}}} | | display: none; }}"> | ||
<div style="padding: 0 3px 0; border-top: 1px | <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Also known as</b>: {{{Knownas}}}</div> | ||
</div> | </div> | ||
<div style="{{#if: {{{EnemyStatus|}}} | | display: none; }}"> | <div style="{{#if: {{{EnemyStatus|}}} | | display: none; }}"> | ||
<div style="padding: 0 3px 0; | <div style="border-top: 1px solid #aaa;"></div><div style="padding: 0 3px 0; margin-top: 3px; margin-bottom: 3px; background-color:{{#switch: {{{EnemyStatus}}}| Ally = green| Enemy = red| #default = gray /* Change this to the default color for neutral */}};"><b>Tony Alignment</b>: {{{EnemyStatus}}}{{#ifeq: {{{EnemyStatus}}}|Ally|[[Category:Allies]]|}}{{#ifeq: {{{EnemyStatus}}}|Enemy|[[Category:Enemies]]|}}</div> | ||
</div> | </div> | ||
<div style="{{#if: {{{DOB|}}} | | display: none; }}"> | <div style="{{#if: {{{DOB|}}} | | display: none; }}"> | ||
<div style="padding: 0 3px 0; border-top: 1px | <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>DOB</b>: {{{DOB}}}</div> | ||
</div> | </div> | ||
<div style="{{#if: {{{Sex|}}} | | display: none; }}"> | <div style="{{#if: {{{Sex|}}} | | display: none; }}"> | ||
<div style="padding: 0 3px 0; border-top: 1px | <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Biological Gender</b>: {{{Sex}}}</div> | ||
</div> | </div> | ||
<div style="{{#if: {{{Gender|}}} | | display: none; }}"> | <div style="{{#if: {{{Gender|}}} | | display: none; }}"> | ||
<div style="padding: 0 3px 0; border-top: 1px | <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Gender Identity</b>: {{{Gender}}}</div> | ||
</div> | </div> | ||
<div style="{{#if: {{{Nationality|}}} | | display: none; }}"> | <div style="{{#if: {{{Nationality|}}} | | display: none; }}"> | ||
<div style="padding: 0 3px 0; border-top: 1px | <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Nationality</b>: {{{Nationality}}}</div> | ||
</div> | </div> | ||
<div style="{{#if: {{{Religion|}}} | | display: none; }}"> | <div style="{{#if: {{{Religion|}}} | | display: none; }}"> | ||
<div style="padding: 0 3px 0; border-top: 1px | <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Religion</b>: {{{Religion}}}</div> | ||
</div> | </div> | ||
<div style="{{#if: {{{Parents|}}} | | display: none; }}"> | <div style="{{#if: {{{Parents|}}} | | display: none; }}"> | ||
<div style="padding: 0 3px 0; border-top: 1px | <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Parents</b>: {{{Parents}}}</div> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 00:52, 22 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 |
Image Description | imageDesc | no description | Unknown | suggested |
Name | name | The name of whoever this is
| String | required |
Aliases/Also Known As | Knownas | Other names for a person
| String | optional |
Enemy Status | EnemyStatus | If or if not this person is an enemy of Tony Chase
| Unknown | suggested |
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 |
Parents | Parents | If they're unconfirmed to be parents, then explain that in parenthesis after the name.
| String | optional |
Religion | Religion | no description | Unknown | optional |