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



YumeWiki
3,036Articles

Template:NPCBox/doc: Difference between revisions

No edit summary
(rearranged parameters as they are listed, added 4 new parameters to list)
Line 5: Line 5:
"description": "The header's background color.",
"description": "The header's background color.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"example": "#3366CC"
},
},
"headerfontcolor": {
"headerfontcolor": {
"description": "The header's text color.",
"description": "The header's text color.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"example": "#ffffff"
},
},
"image": {
"image": {
"description": "An image representing the NPC.",
"description": "An image representing the NPC.",
"type": "string",
"type": "string",
"suggested": true
"required": true
},
},
"caption": {
"caption": {
Line 24: Line 26:
"description": "The NPC's location.",
"description": "The NPC's location.",
"type": "string",
"type": "string",
"suggested": true
"required": true
},
},
"role": {
"role": {
"description": "The NPC's purpose.",
"description": "The NPC's purpose.",
"type": "content",
"type": "content",
"suggested": true
"required": true
},
},
"size": {
"size": {
"description": "The NPC's physical size.",
"description": "The NPC's physical size.",
"type": "string",
"type": "string"
"suggested": true
},
},
"killable": {
"killable": {
"description": "Whether the NPC can be killed.",
"description": "Whether the NPC can be killed.",
"type": "string",
"type": "string",
"suggested": true
"required": true
},
},
"notes": {
"notes": {
Line 70: Line 71:
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
"species": {
"description": "The in-game species of the NPC.",
"type": "string"
},
"name": {
"description": "The name of the NPC (if different than the page name).",
"type": "string"
},
"imagewidth": {
"description": "A custom width for the NPC's image.",
"example": "200px",
"type": "string"
},
"headerfontsize": {
"example": "40px",
"type": "string",
"description": "The header's font size."
}
}
},
},
"description": "A template used in displaying NPC information.",
"description": "A template used in displaying NPC information.",
"format": "{{_\n|_ = _\n}}"
"format": "{{_\n|_ = _\n}}",
"paramOrder": [
"name",
"headercolor",
"headerfontcolor",
"headerfontsize",
"image",
"imagewidth",
"caption",
"species",
"role",
"location",
"Effects",
"Wallpapers",
"Menu",
"Events",
"size",
"killable",
"notes",
"EffectName"
]
}
}
</templatedata>
</templatedata>

Revision as of 20:54, 14 April 2023

A template used in displaying NPC information.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
namename

The name of the NPC (if different than the page name).

Stringoptional
headercolorheadercolor

The header's background color.

Example
#3366CC
Stringsuggested
headerfontcolorheaderfontcolor

The header's text color.

Example
#ffffff
Stringsuggested
headerfontsizeheaderfontsize

The header's font size.

Example
40px
Stringoptional
imageimage

An image representing the NPC.

Stringrequired
imagewidthimagewidth

A custom width for the NPC's image.

Example
200px
Stringoptional
captioncaption

A caption describing the NPC's image.

Stringoptional
speciesspecies

The in-game species of the NPC.

Stringoptional
rolerole

The NPC's purpose.

Contentrequired
locationlocation

The NPC's location.

Stringrequired
EffectsEffects

The effect that you can get from this NPC.

Stringoptional
WallpapersWallpapers

Wallpapers that you can get from this NPC.

Example
WP #1
Stringsuggested
MenuMenu

Menu themes that the NPC would you.

Example
Menu Theme #1
Stringsuggested
EventsEvents

Events associated with this NPC.

Stringsuggested
sizesize

The NPC's physical size.

Stringoptional
killablekillable

Whether the NPC can be killed.

Stringrequired
notesnotes

Additional notes related to the NPC.

Contentsuggested
EffectNameEffectName

The name of the effect associated with this NPC.

Stringoptional