Template:CiteNPC/doc

From RuneRealm Wiki
Jump to navigation Jump to search
This is a documentation subpage for Template:CiteNPC.
It contains usage information, categories, and other content that is not part of the original template page.
Template:CiteNPC invokes function npcref in Module:References using Lua.

Usage

{{CiteNPC|npc=|quote=|loc=|notes=|name=}}

npc

The name of the Non-player character being cited.

quote

What the NPC says that is being cited, quoted verbatim. Try to keep this short but relevant.

loc

Optional. The name of the Quest, Holiday event, or other piece of game content during or after which the NPC says the quote being cited, if applicable. Note that this is not the location that the NPC can be found.

Standard parameters

The following parameters are standard across all citation templates.

notes

Optional. This parameter allows you to add text beginning one space after the end of the citation. Having no formatting (meaning you will have to format it yourself), this area can be used for anything you require.

name

Optional. If you want to use this reference more than once, you must name it the first time you use it, then whenever you want to use it again, add {{NamedRef|name}} wherever you want it to re-appear.

group

Optional. This can be used to put the reference into a specific group, to separate it from other types of reference. See here for more on reference groups.

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Cites dialogue spoken by a non-player characters.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
NPCnpc

The name of the Non-player character being cited.

Example
e.g. Wise Old Man
Unknownrequired
Quotequote

What the NPC says that is being cited, quoted verbatim. Try to keep this short but relevant.

Unknownrequired
Locationloc

Optional. The name of the Quest, Holiday event, or other piece of game content during or after which the NPC says the quote being cited, if applicable. Note that this is not the location that the NPC can be found.

Example
e.g. Animal Magnetism
Unknownoptional
notesnotes

Optional. This parameter allows you to add text beginning one space after the end of the citation. Having no formatting (meaning you will have to format it yourself), this area can be used for anything you require.

Unknownoptional
namename

Optional. If you want to use this reference more than once, you must name it the first time you use it, then whenever you want to use it again, add {{NamedRef|name}} wherever you want it to re-appear.

Unknownoptional
groupgroup

Optional. This can be used to put the reference into a specific group, to separate it from other types of reference. See here for more on reference groups.

Unknownoptional