Template:Infobox: Difference between revisions

From Tony Chase
Jump to navigation Jump to search
mNo edit summary
(Might break the infoboxes O:)
Line 15: Line 15:
         </div>
         </div>
         <div style="{{#if: {{{EnemyStatus|}}} | | display: none; }}">
         <div style="{{#if: {{{EnemyStatus|}}} | | display: none; }}">
             <div style="padding: 0 3px 0; border-top: 1px dashed black; background-color:{{#switch: {{{EnemyStatus}}}| Ally = green| Enemy = red| #default = gray /* Change this to the default color for neutral */}};"><b>Tony Alignment</b>: {{{EnemyStatus}}}</div>
             <div style="padding: 0 3px 0; border-top: 1px dashed black; 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:Ally]]|}}{{#ifeq: {{{EnemyStatus}}}|Enemy|[[Category:Enemy]]|}}</div>
         </div>
         </div>
         <div style="{{#if: {{{DOB|}}} | | display: none; }}">
         <div style="{{#if: {{{DOB|}}} | | display: none; }}">

Revision as of 02:30, 21 December 2023

Infobox
{{{imageDesc}}}
Name: {{{name}}}
Also known as: {{{Knownas}}}
Tony Alignment: {{{EnemyStatus}}}
DOB: {{{DOB}}}
Biological Gender: {{{Sex}}}
Gender Identity: {{{Gender}}}
Nationality: {{{Nationality}}}
Religion: {{{Religion}}}
Parents: {{{Parents}}}

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
Aliases/Also Known AsKnownas

Other names for a person

Example
Prince Rockefeller Hughes
Stringoptional
Enemy StatusEnemyStatus

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

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