Template:Infobox: Difference between revisions

From Tony Chase
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
             <div style="margin: 5px 0 0; text-align: center;">[[File:{{{image}}}|270px]]</div>
             <div style="margin: 5px 0 0; text-align: center;">[[File:{{{image}}}|270px]]</div>
         }}
         }}
        <div style="{{#if: {{{imageDesc|}}} | | display: none; }}">
            <small><div style="margin: 5px 0 0; padding: 0 2px 0; text-align: center;">''{{{imageDesc}}}''</div></small>
        </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 dashed black;"><b>Name</b>: {{{name}}}</div>
             <div style="margin: 5px 0 0; padding: 0 3px 0; border-top: 1px dashed black;"><b>Name</b>: {{{name}}}</div>
        </div>
        <div style="{{#if: {{{EnemyStatus|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px dashed black;"><b>Tony Alignment</b>: {{{EnemyStatus}}}</div>
         </div>
         </div>
         <div style="{{#if: {{{Knownas|}}} | | display: none; }}">
         <div style="{{#if: {{{Knownas|}}} | | display: none; }}">
Line 23: Line 29:
             <div style="padding: 0 3px 0; border-top: 1px dashed black;"><b>Nationality</b>: {{{Nationality}}}</div>
             <div style="padding: 0 3px 0; border-top: 1px dashed black;"><b>Nationality</b>: {{{Nationality}}}</div>
         </div>
         </div>
         <div style="{{#if: {{{EnemyStatus|}}} | | display: none; }}">
         <div style="{{#if: {{{Religion|}}} | | display: none; }}">
             <div style="padding: 0 3px 0; border-top: 1px dashed black;"><b>Tony Alignment</b>: {{{EnemyStatus}}}</div>
             <div style="padding: 0 3px 0; border-top: 1px dashed black;"><b>Nationality</b>: {{{Religion}}}</div>
         </div>
         </div>
         <div style="{{#if: {{{label6|}}}{{{value6|}}} | | display: none; }}">
         <div style="{{#if: {{{Parents|}}} | | display: none; }}">
             <div><b>{{{label6}}}</b>: {{{value6}}}</div>
             <div style="padding: 0 3px 0; border-top: 1px dashed black;"><b>Nationality</b>: {{{Parents}}}</div>
        </div>       
         </div>  
        <div style="{{#if: {{{label7|}}}{{{value7|}}} | | display: none; }}">
            <div><b>{{{label7}}}</b>: {{{value7}}}</div>
         </div>      
         <div style="{{#if: {{{label8|}}}{{{value8|}}} | | display: none; }}">
         <div style="{{#if: {{{label8|}}}{{{value8|}}} | | display: none; }}">
             <div><b>{{{label8}}}</b>: {{{value8}}}</div>
             <div><b>{{{label8}}}</b>: {{{value8}}}</div>
Line 54: Line 57:
"label": "Image"
"label": "Image"
},
},
"label6": {},
"value6": {},
"label7": {},
"value7": {},
"label8": {},
"label8": {},
"value8": {},
"value8": {},
Line 121: Line 120:
],
],
"suggested": true
"suggested": true
},
"imageDesc": {
"label": "Image Description",
"suggested": true
},
"Religion": {},
"Parents": {
"description": "If they're unconfirmed to be parents, then explain that in parenthesis after the name.",
"example": "Melissa, Jack (claimed), Jason (unconfirmed)",
"type": "string"
}
}
},
},
Line 128: Line 137:
"infoboxHeader",
"infoboxHeader",
"image",
"image",
"imageDesc",
"name",
"name",
"EnemyStatus",
"Knownas",
"Knownas",
"DOB",
"DOB",
Line 134: Line 145:
"Gender",
"Gender",
"Nationality",
"Nationality",
"EnemyStatus",
"Parents",
"label6",
"Religion",
"value6",
"label7",
"value7",
"label8",
"label8",
"value8",
"value8",

Revision as of 22:09, 16 December 2023

Infobox
{{{imageDesc}}}
Name: {{{name}}}
Tony Alignment: {{{EnemyStatus}}}
Also known as: {{{Knownas}}}
DOB: {{{DOB}}}
Biological Gender: {{{Sex}}}
Gender Identity: {{{Gender}}}
Nationality: {{{Nationality}}}
Nationality: {{{Religion}}}
Nationality: {{{Parents}}}
{{{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
Image DescriptionimageDesc

no description

Unknownsuggested
Namename

The name of whoever this is

Example
Tony Chase
Stringrequired
Enemy StatusEnemyStatus

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

Suggested values
Enemy Ally Neutral
Unknownsuggested
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
ParentsParents

If they're unconfirmed to be parents, then explain that in parenthesis after the name.

Example
Melissa, Jack (claimed), Jason (unconfirmed)
Stringoptional
ReligionReligion

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