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: Difference between revisions

Template page
Use native image field fallback without ParserFunctions
Correct NPC image parameter example
Line 35: Line 35:
{{NPC
{{NPC
| name = Rowan
| name = Rowan
| photo = Rowan.png
| image = [[File:Rowan.png|frameless|600px]]
| location = [[Mainland]]
| location = [[Mainland]]
| number of quests = 2
| number of quests = 2

Revision as of 09:36, 29 July 2026

This template displays an NPC profile followed by embedded Quest and Dialogue sections. The quests and dialogues fields accept any number of stacked quest or dialogue templates.

Usage

{{NPC
| name = Rowan
| image = [[File:Rowan.png|frameless|600px]]
| location = [[Mainland]]
| number of quests = 2
| follow up quests = Yes
| has dialogue = Yes
| quests =
{{Quest
| name = First Quest
| giver = [[Rowan]]
}}
{{Quest
| name = Second Quest
| giver = [[Rowan]]
}}
| dialogues =
{{Dialogue start|title=Introduction}}
:'''[[Rowan]]:''' Welcome.
{{Dialogue end}}
}}

Use number of quests = 0 and leave the content fields empty when none are documented.


Set | image = File:Example.png to display an uploaded file in the infobox. Leave it empty to show “No Picture Uploaded”.

Contents