×
Create a new article
Write your page title here:
We currently have 3,093 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,093Articles

Template:NPCBox: Difference between revisions

No edit summary
No edit summary
Line 47: Line 47:
{{!}}}
{{!}}}
<noinclude>
<noinclude>
<templatedata>
{{documentation}}
{
"params": {
"headercolor": {
"description": "The header's background color."
},
"headerfontcolor": {
"description": "The header's text color."
},
"image": {
"description": "An image representing the NPC."
},
"caption": {
"description": "A caption describing the NPC's image."
},
"location": {
"description": "The NPC's location."
},
"role": {
"description": "The NPC's purpose."
},
"size": {
"description": "The NPC's physical size."
},
"killable": {
"description": "Whether the NPC can be killed."
},
"notes": {
"description": "Additional notes related to the NPC."
}
},
"description": "A template used in displaying NPC information.",
"format": "block"
}
</templatedata>
</noinclude>
</noinclude>

Revision as of 06:57, 5 September 2021

NPCBox
NPC Info
Location {{{location}}}
Role {{{role}}}
Effects

Effect{{{Effects}}}

Wallpapers/Puzzles

{{{Wallpapers}}}

Events

{{{Events}}}

Size {{{size}}}
Killable {{{killable}}}
Documentation (for the above template, sometimes hidden or invisible)

Displays an infobox containing a character's details.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Header colorheadercolor

The header's background color.

Default
#3366CC
Stringsuggested
Header font colorheaderfontcolor

The header's text color.

Default
#ffffff
Stringsuggested
NPC imageimage

The file name for the image to be displayed. It should clearly show the NPC in its usual appearance.

Example
Uboa.png
Filerequired
Rolerole

The NPC's purpose.

Example
Gives the [[Yume 2kki:Effects#Boy|Boy]] effect
Stringrequired
CollectiblesCollectibles Wallpapers Menu

Collectibles that you can unlock by interacting with the NPC.

Example
WP #87, Menu Theme #65
Stringrequired
EventsEvents

Events associated with this NPC.

Stringrequired
Locationlocation

The NPC's location, or a comma-separated list of locations.

Stringrequired
Sizesize

The NPC's physical size.

Example
Standard
Stringsuggested
Killable?killable

Whether the NPC is able to be killed using the game's weapon effect.

Suggested values
Yes No
Stringsuggested
Speciesspecies

The in-game species of the NPC.

Stringoptional
Misc. Notesnotes

Any further notes on the NPC that are important enough to include in the box.

Stringoptional
Display Namename

Overrides using the page name as the header text. If the name of the character should be changed on the wiki, move the page instead of using this parameter.

Auto value
{{PAGENAME}}
Stringoptional
Header font sizeheaderfontsize

The header's font size as a percentage.

Default
200%
Stringoptional
Image widthimagewidth

The image width in px.

Default
250
Numberoptional
Image captioncaption

A corresponding caption for the image, visible if a value is provided.

Stringoptional

General usage

{{NPCBox
|name = Uboa
|headercolor = #000000
|headerfontcolor = #ffffff
|image = Uboa.png
|role = Traps [[Yume Nikki:Madotsuki|Madotsuki]] in [[Yume Nikki:Poniko's House#Uboa's Trap|Uboa's Trap]]
|Collectibles = None
|Events = [[Yume Nikki:Events#Uboa|Uboa]]
|location = [[Yume Nikki:Poniko's House|Poniko's House]], [[Yume Nikki:Uboa's Trap|Uboa's Trap]]
|size = Standard
|killable = No
|species = 
|notes = 
}}

will return:

Uboa
Uboa.png
NPC Info
Location Poniko's House, Uboa's Trap
Role Traps Madotsuki in Uboa's Trap
Effects

Effect{{{Effects}}}

Wallpapers/Puzzles

{{{Wallpapers}}}

Events

Uboa

Size Standard
Killable No



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