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
Add optional overview slot before embedded quests and dialogue
m Reverted edit by Zetiar (talk) to last revision by Aurelianus
Tag: Rollback
 
(2 intermediate revisions by 2 users not shown)
Line 17: Line 17:
</div>
</div>
{{{overview|}}}
{{{overview|}}}
<div class="hw-npc-embedded-content">
<div class="hw-npc-section-clear"></div>
<div class="hw-npc-content-section hw-npc-content-section--quests" aria-label="Quests offered by {{{name|{{PAGENAME}}}}}">
 
<div class="hw-npc-content-overline">AVAILABLE TASKS</div>
== Quests ==
<div id="Quests" class="hw-npc-content-title" role="heading" aria-level="2">Quests</div>
{{{quests|<p class="hw-npc-content-empty">No quests documented.</p>}}}
<div class="hw-npc-content-body">{{{quests|<p class="hw-npc-content-empty">No quests documented.</p>}}}</div>
 
</div>
== Dialogue ==
<div class="hw-npc-content-section hw-npc-content-section--dialogue" aria-label="Dialogue for {{{name|{{PAGENAME}}}}}">
{{{dialogues|<p class="hw-npc-content-empty">No dialogue documented.</p>}}}
<div class="hw-npc-content-overline">CONVERSATION ARCHIVE</div>
<div id="Dialogue" class="hw-npc-content-title" role="heading" aria-level="2">Dialogue</div>
<div class="hw-npc-content-body">{{{dialogues|<p class="hw-npc-content-empty">No dialogue documented.</p>}}}</div>
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>
This template displays an NPC profile, an optional Overview that flows beside the infobox, and embedded Quest and Dialogue sections. The <code>quests</code> and <code>dialogues</code> fields accept any number of stacked quest or dialogue templates.
This template displays an NPC profile, an optional Overview that flows beside the infobox, and standard collapsible Quest and Dialogue sections. The <code>quests</code> and <code>dialogues</code> fields accept any number of stacked quest or dialogue templates.


== Usage ==
== Usage ==

Latest revision as of 01:44, 23 August 2026

This template displays an NPC profile, an optional Overview that flows beside the infobox, and standard collapsible 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
| overview =
== Overview ==
Write the NPC overview here. It will flow beside the infobox.
| 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