Template:Character Infobox: Difference between revisions
Template page
More actions
Replaced content with "<table class="infobox"> <caption><!-- character name goes here --></caption> <tr> <td><!-- image goes here --></td> </tr> </table>" Tag: Replaced |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<table class="infobox"> | <table class="infobox"> | ||
<caption> | <caption>{{{name|Unnamed Character}}}</caption> | ||
<tr> | <tr> | ||
<td> | <td>{{{#if:{{{image|}}}|[[File:{{{image|}}}|250px|center]]|''No image''}}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"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> | |||
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 |