Template:Infobox: Difference between revisions

From Tony Chase
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: {{{label1|}}}{{{value1|}}} | <div><b>{{{label1}}}</b>: {{{value1}}}</div> }}
         {{#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

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
imageimage

Image

Example
Tony_Chase.png
Filesuggested
namename

The name of whoever this is

Example
Tony Chase
Stringoptional
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