×
Create a new article
Write your page title here:
We currently have 2,646 articles on Yume Nikki Fangames Wiki. Type your article name above or click on one of the titles below and start writing!



Yume Nikki Fangames Wiki

Template:Characterbox: Difference between revisions

(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:120%| {{{name|{{PAGENAME}}}}}
! 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'''
|&nbsp;'''Meaning'''
|  
|&nbsp;{{{name origin|Unknown}}}
{{{name origin}}}
|-
|-
{{#if:{{{age|}}}|
{{#if:{{{age|}}}|
{{!}} '''Age'''
{{!}} '''Age'''
{{!}}  
{{!}}&nbsp;{{{age}}}}}
{{{age}}}}}
|-
|-
| '''Gender'''
|&nbsp;'''Gender'''
|  
|&nbsp;{{#if:{{{gender|}}}|{{{gender}}}[[Category:{{{gender}}}]]|Not specified}}
{{{gender}}}
|-
|-
! class="infoBox-collapse" colspan="2"|
| 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
NoImage.png
Basic Info
 Meaning  Unknown
 Gender  Not specified
Appearance
Hair

Not specified

Eyes

Not specified

Shirt

Not specified


Documentation (for the above template, sometimes hidden or invisible)

Template used in showing a character's basic information.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
namename

The name of the character, if it is different from the page name.

Stringoptional
imageimage

An image depicting the character.

Filesuggested
captioncaption

Description of the character's image, specifying if the artwork is official or fan-made. Be sure to cite the source.

Stringsuggested
image2image2

Image of the character's in-game sprite.

Filesuggested
name originname origin

The character name's etymology.

Default
Unknown
Stringsuggested
ageage

The character's age.

Default
Unknown
Stringsuggested
gendergender

The character's gender.

Default
Unknown
Stringsuggested
hair colorhair color

The character's hair color.

Default
Unknown
Stringsuggested
eye coloreye color

The character's eye color.

Default
Unknown
Stringsuggested
shirt designshirt design

A description of the character's shirt/clothing design.

Default
Unknown
Stringsuggested

Visit Template:Characterbox/doc to edit this text! (How does this work?)