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/doc"

From SoDWiki
Jump to navigationJump to search
m
Line 14: Line 14:
 
! Result
 
! Result
 
|-
 
|-
| <code><nowiki>{{NPCtag|Artificier Malitha}}</nowiki></code>
+
| <code><nowiki>{{NPCtag|Scout Leader Azzyk}}</nowiki></code>
| {{NPCtag|Artificier Malitha}}
+
| {{NPCtag|Scout Leader Azzyk}}
 +
|-
 +
| <code><nowiki>{{NPCtag|Scout Leader Azzyk|nocat}}</nowiki></code>
 +
| {{NPCtag|Scout Leader Azzyk|nocat}}
 +
|-
 +
| <code><nowiki>{{NPCtag|Scout Leader Azzyk||2}}</nowiki></code>
 +
| {{NPCtag|Scout Leader Azzyk||2}}
 +
|-
 
|}
 
|}
 +
 +
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 ===
 
=== See also ===

Revision as of 23:12, 29 December 2017


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  • Refuge)
{{NPCtag|Scout Leader Azzyk|nocat}} Scout Leader Azzyk (Dreadlands  at 1200, 8900, 1050  • Refuge)
{{NPCtag|Scout Leader Azzyk||2}} Scout Leader Azzyk (Forest of the Fallen at 2440, -3300  • At the zone in)

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