Template:Infobox: Difference between revisions

From Tony Chase
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
Name: {{{name}}}
Also known as: {{{Knownas}}}
DOB: {{{DOB}}}
Biological Gender: {{{Sex}}}
Gender Identity: {{{Gender}}}
Nationality: {{{Nationality}}}
Tony Alignment: {{{EnemyStatus}}}
{{{label6}}}: {{{value6}}}
{{{label7}}}: {{{value7}}}
{{{label8}}}: {{{value8}}}
{{{label9}}}: {{{value9}}}
{{{label10}}}: {{{value10}}}

This is a template meant to easily display information about a given person/character

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Max Widthmaxwidth

The maximum width of the infobox

Suggested values
280px 30em
Default
280px
Unknownoptional
Infobox HeaderinfoboxHeader

This is the header of the infobox, will just be the pagename if left blank

Stringoptional
Imageimage

Image

Example
Tony_Chase.png
Filesuggested
Namename

The name of whoever this is

Example
Tony Chase
Stringrequired
Aliases/Also Known AsKnownas

Other names for a person

Example
Prince Rockefeller Hughes
Stringoptional
Date of BirthDOB

In M-D-Y format, please

Unknownsuggested
SexSex

The biological gender of the given character

Example
Male, Female, Hermaphrodite
Stringoptional
GenderGender

The expressed gender of the given character, such as if someone is transgender

Example
Male, female, non-binary
Stringoptional
NationalityNationality

Place of origin

Stringoptional
Enemy StatusEnemyStatus

If or if not this person is an enemy of Tony Chase

Suggested values
Enemy Ally Neutral
Unknownsuggested
label6label6

no description

Unknownoptional
value6value6

no description

Unknownoptional
label7label7

no description

Unknownoptional
value7value7

no description

Unknownoptional
label8label8

no description

Unknownoptional
value8value8

no description

Unknownoptional
label9label9

no description

Unknownoptional
value9value9

no description

Unknownoptional
label10label10

no description

Unknownoptional
value10value10

no description

Unknownoptional