Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(More changes soon to make this actually, like, good) |
||
Line 3: | Line 3: | ||
<div style="margin: 0.5em;"> | <div style="margin: 0.5em;"> | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
<div style="text-align: center; max-width:100%; height:auto;">{{{image|250x250px}}}</div> | <div style="text-align: center; max-width:100%; height:auto;">[[{{{image|250x250px}}}]]</div> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{name|}}} | <div><b>Name</b>: {{{name}}}</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 18: | Line 18: | ||
</div> | </div> | ||
</div> | </div> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"image": { | |||
"description": "Image", | |||
"example": "Tony_Chase.png", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"label2": {}, | |||
"value2": {}, | |||
"label3": {}, | |||
"value3": {}, | |||
"label4": {}, | |||
"value4": {}, | |||
"label5": {}, | |||
"value5": {}, | |||
"label6": {}, | |||
"value6": {}, | |||
"label7": {}, | |||
"value7": {}, | |||
"label8": {}, | |||
"value8": {}, | |||
"label9": {}, | |||
"value9": {}, | |||
"label10": {}, | |||
"value10": {}, | |||
"name": { | |||
"description": "The name of whoever this is", | |||
"example": "Tony Chase", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "This is a template meant to easily display information about a given person/character", | |||
"paramOrder": [ | |||
"image", | |||
"name", | |||
"label2", | |||
"value2", | |||
"label3", | |||
"value3", | |||
"label4", | |||
"value4", | |||
"label5", | |||
"value5", | |||
"label6", | |||
"value6", | |||
"label7", | |||
"value7", | |||
"label8", | |||
"value8", | |||
"label9", | |||
"value9", | |||
"label10", | |||
"value10" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 18:30, 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 | optional |
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 |