Template:Infobox: Difference between revisions
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: # | {{#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
Parameter | Description | Type | Status | |
---|---|---|---|---|
image | image | Image
| File | suggested |
name | name | The name of whoever this is
| String | required |
Aliases/Also Known As | Knownas | Other names for a person
| String | optional |
Date of Birth | DOB | In M-D-Y format, please | Unknown | suggested |
label2 | label2 | no description | Unknown | optional |
value2 | value2 | no description | Unknown | optional |
label3 | label3 | no description | Unknown | optional |
value3 | value3 | no description | Unknown | optional |
label4 | label4 | no description | Unknown | optional |
value4 | value4 | no description | Unknown | optional |
label5 | label5 | no description | Unknown | optional |
value5 | value5 | no description | Unknown | optional |
label6 | label6 | no description | Unknown | optional |
value6 | value6 | no description | Unknown | optional |
label7 | label7 | no description | Unknown | optional |
value7 | value7 | no description | Unknown | optional |
label8 | label8 | no description | Unknown | optional |
value8 | value8 | no description | Unknown | optional |
label9 | label9 | no description | Unknown | optional |
value9 | value9 | no description | Unknown | optional |
label10 | label10 | no description | Unknown | optional |
value10 | value10 | no description | Unknown | optional |