Template:Character Infobox: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <table class="infobox"> | ||
<caption>{{{name|Unnamed Character}}}</caption> | |||
<tr> | |||
<td>{{{#if:{{{image|}}}|[[File:{{{image|}}}|250px|center]]|''No image''}}}</td> | |||
</tr> | |||
{{ | </table> | ||
{{#if:{{{image|}}} | | |||
[[File:{{{image}}}| | |||
< | |||
</ | |||
<noinclude> | <noinclude> | ||
<templatedata> | |||
< | { | ||
{{Character | "description": "Infobox for a character", | ||
"params": { | |||
"name": { | |||
"label": "Character Name", | |||
"type": "string", | |||
"required": true, | |||
"description": "Full name of the character" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
}} | "type": "wiki-file-name", | ||
</ | "required": false, | ||
"description": "Image of the character" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 14:51, 26 June 2026
| [[File:|250px|center]] |
Infobox for a character
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Character Name | name | Full name of the character | String | required |
| Image | image | Image of the character | File | optional |