Template:Related NPCs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
include cutscene NPCs |
||
| Line 1: | Line 1: | ||
<includeonly>{{#vardefine:quest|{{{1|{{#titleparts:{{PAGENAME}}}}}}}}}{{#ifeq:{{{format|gallery}}}|ul|{{#ask:[[-Has related NPC::{{#var:quest}}]] OR [[-Has quest giver::{{#var:quest}}]]|format=ul}}|{{Image Gallery|NPCs|conditions=-Has related NPC::{{#var:quest}}|or-conditions=-Has quest giver::{{#var:quest}}}}}}</includeonly><noinclude>{{documentation}} | <includeonly>{{#vardefine:quest|{{{1|{{#titleparts:{{PAGENAME}}}}}}}}}{{#ifeq:{{{format|gallery}}}|ul|{{#ask:[[-Has related NPC::{{#var:quest}}]] OR [[-Has quest giver::{{#var:quest}}]] OR [[-Has cutscene NPC::{{#var:quest}}]]|format=ul}}|{{Image Gallery|NPCs|conditions=-Has related NPC::{{#var:quest}}|or-conditions=-Has quest giver::{{#var:quest}}|or-conditions=-Has cutscene NPC::{{#var:quest}}}}}}</includeonly><noinclude>{{documentation}} | ||
==Examples== | ==Examples== | ||
===Gallery Format (default)=== | ===Gallery Format (default)=== | ||
Revision as of 20:30, 25 January 2026
This template is used in the "Related NPCs" section of quest pages. It shows the NPCs with spoken dialogue during the quest. By default, a gallery of the NPC infobox images will be displayed.
Parameters
- unnamed parameter 1
- Optional. Quest title. Defaults to the page name.
- format
- Optional. Set to "ul" to display a bulleted list instead of an image gallery. (Generally used for older quests that are missing many NPC images.)
Examples
Gallery Format (default)
{{Related NPCs|We Three Kinderpunsch}}
List Format (for older quests without NPC images)
{{Related NPCs|We Three Kinderpunsch|format=ul}}