Notice something wrong, missing, or inadequate? Feel free to edit pages yourself and make use of discussion pages.
Wiki content is created, maintained, and administrated by players. Learn how you can help!

Difference between revisions of "Template:NPCtag"

From SoDWiki
Jump to navigationJump to search
m
m
Line 6: Line 6:
 
| 5 = ''(<small>[[{{#dpl: include = {infobox NPC}:Zone5|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown zone|mode=userformat}}]]{{#if: {{#dpl: titlematch = {{ucfirst:{{{1}}}}}|include = {infobox NPC}:Location5|mode=userformat}} | {{space}}at {{#dpl: include = {infobox NPC}:Location5|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown loc|mode=userformat}}}}
 
| 5 = ''(<small>[[{{#dpl: include = {infobox NPC}:Zone5|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown zone|mode=userformat}}]]{{#if: {{#dpl: titlematch = {{ucfirst:{{{1}}}}}|include = {infobox NPC}:Location5|mode=userformat}} | {{space}}at {{#dpl: include = {infobox NPC}:Location5|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown loc|mode=userformat}}}}
 
| 6 = ''(<small>[[{{#dpl: include = {infobox NPC}:Zone6|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown zone|mode=userformat}}]]{{#if: {{#dpl: titlematch = {{ucfirst:{{{1}}}}}|include = {infobox NPC}:Location6|mode=userformat}} | {{space}}at {{#dpl: include = {infobox NPC}:Location6|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown loc|mode=userformat}}}}
 
| 6 = ''(<small>[[{{#dpl: include = {infobox NPC}:Zone6|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown zone|mode=userformat}}]]{{#if: {{#dpl: titlematch = {{ucfirst:{{{1}}}}}|include = {infobox NPC}:Location6|mode=userformat}} | {{space}}at {{#dpl: include = {infobox NPC}:Location6|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown loc|mode=userformat}}}}
| ''(<small>[[{{#dpl: include = {infobox NPC}:Zone|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown zone|mode=userformat}}]]{{#if: {{#dpl: titlematch = {{ucfirst:{{{1}}}}}|include = {infobox NPC}:Location|mode=userformat}} | {{space}}at {{#dpl: include = {infobox NPC}:Location|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown loc|mode=userformat}}}}
+
| ''(<small>[[{{#dpl: include = {infobox NPC}:Zone|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown zone|mode=userformat}}]]{{#if: {{#dpl: titlematch = {{ucfirst:{{{1}}}}}|include = {infobox NPC}:Location|mode=userformat}} | {{space}}at {{#dpl: include = {infobox NPC}:Location|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown loc|mode=userformat}}}}}}{{#if: {{#dpl: titlematch = {{ucfirst:{{{1}}}}}|include = {infobox NPC}:Loc Details2|mode=userformat}} | {{dot}} {{#dpl: include = {infobox NPC}:Loc Details2|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown loc|mode=userformat}}}}</small>)''{{#ifeq:{{{2|}}}|nocat||[[Category:Quests which {{ucfirst:{{{1}}}}} is involved in]]}}</includeonly>
}}{{#if: {{#dpl: titlematch = {{ucfirst:{{{1}}}}}|include = {infobox NPC}:Loc Details2|mode=userformat}} | {{dot}} {{#dpl: include = {infobox NPC}:Loc Details2|titlematch = {{ucfirst:{{{1}}}}}|noresultsheader = unknown loc|mode=userformat}}}}</small>)''{{#ifeq:{{{2|}}}|nocat||[[Category:Quests which {{ucfirst:{{{1}}}}} is involved in]]}}</includeonly>
 
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Revision as of 18:40, 13 February 2018


[edit] [purge] Template-info.png Template documentation


Usage

{{NPCtag|NPC name}}

Functions

Displays [[NPC name]] ([[Zone]] at (location)</small>). This is for use on quest pages to identify the name, zone and location of key NPCs the first time they are mentioned in the walkthrough.

Example

Code Result
{{NPCtag|Scout Leader Azzyk}} Scout Leader Azzyk (Dreadlands at 1200, 8900, 1050 • At the zone in)
{{NPCtag|Scout Leader Azzyk|nocat}} Scout Leader Azzyk (Dreadlands at 1200, 8900, 1050 • At the zone in)
{{NPCtag|Scout Leader Azzyk||1}} Scout Leader Azzyk (Dreadlands at 1200, 8900, 1050 • At the zone in)
{{NPCtag|Scout Leader Azzyk||2}} Scout Leader Azzyk (Forest of the Fallen at 2440, -3300 • At the zone in)
{{NPCtag|Scout Leader Azzyk||3}} Scout Leader Azzyk ([[]] • At the zone in)
{{NPCtag|FakeNPC}} FakeNPC (unknown zone)

The first parameter is required and used to define the name of the NPC to be displayed.

Optional: The second parameter is used to define that no categories should be created with this template. Use only as necessary.

Optional: The third parameter is used to select the shown zone. Currently supports up to 6 zones. Shows first zone listed on NPC by default.

See also