Template:Infobox: Difference between revisions

From Tony Chase
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<div class="infobox" style="float:right; width: 22em; 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; width: 22em; 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;">{{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;>
         {{#if: {{{image|}}} |
         {{#if: {{{image|}}} |
Line 20: Line 20:
             <div style="background: #cecece; padding: 0 3px 0"><b>Gender Identity</b>: {{{Gender}}}</div>
             <div style="background: #cecece; padding: 0 3px 0"><b>Gender Identity</b>: {{{Gender}}}</div>
         </div>
         </div>
         <div style="{{#if: {{{label4|}}}{{{value4|}}} | | display: none; }}">
         <div style="{{#if: {{{Nationality|}}} | | display: none; }}">
             <div><b>{{{label4}}}</b>: {{{value4}}}</div>
             <div style="background: #fff; padding: 0 3px 0"><b>Nationality</b>: {{{Nationality}}}</div>
         </div>
         </div>
         <div style="{{#if: {{{label5|}}}{{{value5|}}} | | display: none; }}">
         <div style="{{#if: {{{EnemyStatus|}}} | | display: none; }}">
             <div><b>{{{label5}}}</b>: {{{value5}}}</div>
             <div style="background: #cecece; padding: 0 3px 0"><b>Tony Alignment</b>: {{{EnemyStatus}}}</div>
         </div>
         </div>
         <div style="{{#if: {{{label6|}}}{{{value6|}}} | | display: none; }}">
         <div style="{{#if: {{{label6|}}}{{{value6|}}} | | display: none; }}">
Line 51: Line 51:
"example": "Tony_Chase.png",
"example": "Tony_Chase.png",
"type": "wiki-file-name",
"type": "wiki-file-name",
"suggested": true
"suggested": true,
"label": "Image"
},
},
"label2": {},
"value2": {},
"label3": {},
"value3": {},
"label4": {},
"value4": {},
"label5": {},
"value5": {},
"label6": {},
"label6": {},
"value6": {},
"value6": {},
Line 75: Line 68:
"example": "Tony Chase",
"example": "Tony Chase",
"type": "string",
"type": "string",
"required": true
"required": true,
"label": "Name"
},
},
"Knownas": {
"Knownas": {
Line 97: Line 91:
"description": "The expressed gender of the given character, such as if someone is transgender",
"description": "The expressed gender of the given character, such as if someone is transgender",
"example": "Male, female, non-binary",
"example": "Male, female, non-binary",
"type": "string"
},
"infoboxHeader": {
"label": "Infobox Header",
"description": "This is the header of the infobox, will just be the pagename if left blank",
"type": "string"
},
"Nationality": {
"description": "Place of origin",
"type": "string"
"type": "string"
}
}
Line 102: Line 105:
"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": [
"infoboxHeader",
"image",
"image",
"name",
"name",
Line 108: Line 112:
"Sex",
"Sex",
"Gender",
"Gender",
"label2",
"Nationality",
"value2",
"label3",
"value3",
"label4",
"value4",
"label5",
"value5",
"label6",
"label6",
"value6",
"value6",

Revision as of 00:33, 11 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
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
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