(Added the template's documentation.) |
(make image2 optional, caption line not appear if empty, and decrease roundness) |
||
Line 1: | Line 1: | ||
{| class="infobox" align="right" border="1" style="padding: 2px; font-size:89%; width:300px; border-radius: | {| class="infobox" align="right" border="1" style="padding: 2px; font-size:89%; width:300px; border-radius:6px; border:1px solid #660066;" | ||
|- | |- | ||
! colspan="2" class="color1" font-size:120%| {{{name|{{PAGENAME}}}}} | ! colspan="2" class="color1" font-size:120%| {{{name|{{PAGENAME}}}}} | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
| colspan="2" style="padding:0.5em;" | [[ | | colspan="2" style="padding:0.5em;" | [[File:{{{image|NoImage.png}}}|280px]]{{#if: {{{caption|}}} |<br> ''{{{caption}}}''}} | ||
|- | |- | ||
! colspan="2" class="color1" | {{#if: {{{image2|}}} | ||
|! colspan="2" class="color1"{{!}} Sprite | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align:center; padding:0.5em;" {{!}} [[File:{{{image2}}}|40px]] | |||
! colspan="2" class="color1" | | {{!}}- }} | ||
! colspan="2" class="color1" | Basic Info | |||
|- | |- | ||
| '''Meaning''' | | '''Meaning''' | ||
Line 40: | Line 41: | ||
{{{shirt design}}} | {{{shirt design}}} | ||
|} | |} | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
<br | <br clear=all> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 09:36, 18 May 2024
Characterbox | |||||||||
---|---|---|---|---|---|---|---|---|---|
Basic Info | |||||||||
Meaning |
{{{name origin}}} | ||||||||
Gender |
{{{gender}}} | ||||||||
|
Documentation (for the above template, sometimes hidden or invisible)
Template used in showing a character's basic information.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the character, if it is different from the page name. | String | optional |
image | image | An image depicting the character. | File | suggested |
caption | caption | Description of the character's image, specifying if the artwork is official or fan-made. Be sure to cite the source. | String | suggested |
image2 | image2 | Image of the character's in-game sprite. | File | suggested |
name origin | name origin | The character name's etymology.
| String | suggested |
age | age | The character's age.
| String | suggested |
gender | gender | The character's gender.
| String | suggested |
hair color | hair color | The character's hair color.
| String | suggested |
eye color | eye color | The character's eye color.
| String | suggested |
shirt design | shirt design | A description of the character's shirt/clothing design.
| String | suggested |
Visit Template:Characterbox/doc to edit this text! (How does this work?)