(make image2 optional, caption line not appear if empty, and decrease roundness) |
(fix width for mobile, make header larger, fix bolding, add placeholders if params not specified) |
||
Line 1: | Line 1: | ||
{| class="infobox" align="right" border="1" style="padding: 2px; font-size:89%; width:300px; border-radius:6px; border:1px solid #660066;" | {| class="infobox" align="right" border="1" style="padding: 2px; font-size:89%; width:min(300px, 100%); border-radius:6px; border:1px solid #660066;" | ||
|- | |- | ||
! colspan="2" class="color1" font-size: | ! colspan="2" class="color1" style="font-size:200%;"| {{{name|{{PAGENAME}}}}} | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
| colspan="2" style="padding:0.5em;" | [[File:{{{image|NoImage.png}}}|280px]]{{#if: {{{caption|}}} |<br> ''{{{caption}}}''}} | | colspan="2" style="padding:0.5em;" | [[File:{{{image|NoImage.png}}}|280px]]{{#if: {{{caption|}}} |<br> ''{{{caption}}}''}} | ||
Line 12: | Line 12: | ||
! colspan="2" class="color1" | Basic Info | ! colspan="2" class="color1" | Basic Info | ||
|- | |- | ||
| '''Meaning''' | | '''Meaning''' | ||
| | | {{{name origin|Unknown}}} | ||
{{{name origin}}} | |||
|- | |- | ||
{{#if:{{{age|}}}| | {{#if:{{{age|}}}| | ||
{{!}} '''Age''' | {{!}} '''Age''' | ||
{{!}} | {{!}} {{{age}}}}} | ||
{{{age}}}}} | |||
|- | |- | ||
| '''Gender''' | | '''Gender''' | ||
| | | {{#if:{{{gender|}}}|{{{gender}}}[[Category:{{{gender}}}]]|Not specified}} | ||
{{{gender}}} | |||
|- | |- | ||
| class="infoBox-collapse" colspan="2"| | |||
{|class="mw-collapsible mw-collapsed" border="1" width="100%" style="border-collapse:collapse; padding: 2px; " | {|class="mw-collapsible mw-collapsed" border="1" width="100%" style="border-collapse:collapse; padding: 2px; text-align:center;" | ||
| colspan="2" style="background-color:#33CCCC; font-size:110%; padding:0.25em; text-align:center;" | '''<span style="color:#ffffff;">''Appearance''''' | | colspan="2" style="background-color:#33CCCC; font-size:110%; padding:0.25em; text-align:center;" | '''<span style="color:#ffffff;">''Appearance''''' | ||
|- | |- | ||
| '''Hair''' | | '''Hair''' | ||
| | | | ||
{{{hair color}}} | {{{hair color|Not specified}}} | ||
|- | |- | ||
| '''Eyes''' | | '''Eyes''' | ||
| | | | ||
{{{eye color}}} | {{{eye color|Not specified}}} | ||
|- | |- | ||
| '''Shirt''' | | '''Shirt''' | ||
| | | | ||
{{{shirt design}}} | {{{shirt design|Not specified}}} | ||
|} | |} | ||
|} | |} |
Revision as of 20:26, 18 May 2024
Characterbox | |||||||||
---|---|---|---|---|---|---|---|---|---|
Basic Info | |||||||||
Meaning | Unknown | ||||||||
Gender | Not specified | ||||||||
|
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?)