Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Npc infobox/doc: Difference between revisions

Template page
Add TemplateData
 
Add image param
Line 5: Line 5:
"description": {
"description": {
"en": "This template is used for displaying the infobox for an NPC.",
"en": "This template is used for displaying the infobox for an NPC.",
"cs": "Этот шаблон используется для отображения информационного блока для NPC."
"ru": "Этот шаблон используется для отображения информационного блока для NPC."
},
},
"format": "block",
"params": {
"params": {
"name": {
"name": {
"label": {
"label": {"en": "NPC name", "ru": "Имя NPC"},
"en": "NPC name",
"ru": "Имя NPC"
},
"type": "string",
"type": "string",
"required": true
"required": true
},
"image": {
"label": {"en": "Image", "ru": "Изображение"},
"type": "string",
"required": false
}
}
}
}
}
}
</TemplateData>
</TemplateData>

Revision as of 19:15, 5 March 2025

This template is used for displaying the infobox for an NPC.

This template is used for displaying the infobox for an NPC.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
NPC namename

no description

Stringrequired
Imageimage

no description

Stringoptional