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: 10px 0 10px; text-align: center; max-width:100%; height:auto;">[[{{{image|250x250px}}}]]</div>
             <div style="margin: 10px 0 10px; text-align: center; max-width:100%; height:auto;">[[{{{image|250x250px}}}]]</div>
         }}
         }}
         {{#if: {{{name|}}} | <div  style="background: #bababa;"><b>Name</b>: {{{name}}}</div> }}
         {{#if: {{{name|}}} | <div  style="background: #cecece; padding: 0 3px 0"><b>Name</b>: {{{name}}}</div> }}
        {{#if: {{{Knownas|}}} | <div  style="background: #ffffff; padding: 0 3px 0"><b>Also Known As</b>: {{{Knownas}}}</div> }}
        {{#if: {{{DOB|}}} | <div  style="background: #cecece; padding: 0 3px 0"><b>DOB</b>: {{{DOB}}}</div> }}
         {{#if: {{{label2|}}}{{{value2|}}} | <div><b>{{{label2}}}</b>: {{{value2}}}</div> }}
         {{#if: {{{label2|}}}{{{value2|}}} | <div><b>{{{label2}}}</b>: {{{value2}}}</div> }}
         {{#if: {{{label3|}}}{{{value3|}}} | <div><b>{{{label3}}}</b>: {{{value3}}}</div> }}
         {{#if: {{{label3|}}}{{{value3|}}} | <div><b>{{{label3}}}</b>: {{{value3}}}</div> }}
Line 51: Line 53:
"type": "string",
"type": "string",
"required": true
"required": true
},
"Knownas": {
"label": "Aliases/Also Known As",
"description": "Other names for a person",
"example": "Prince Rockefeller Hughes",
"type": "string"
},
"DOB": {
"label": "Date of Birth",
"description": "In M-D-Y format, please",
"suggested": true
}
}
},
},
Line 57: Line 70:
"image",
"image",
"name",
"name",
"Knownas",
"DOB",
"label2",
"label2",
"value2",
"value2",

Revision as of 19:03, 10 December 2023

Infobox







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

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
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
label2label2

no description

Unknownoptional
value2value2

no description

Unknownoptional
label3label3

no description

Unknownoptional
value3value3

no description

Unknownoptional
label4label4

no description

Unknownoptional
value4value4

no description

Unknownoptional
label5label5

no description

Unknownoptional
value5value5

no description

Unknownoptional
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