Template:CiteNPC/doc

From Old School RuneScape Wiki
Jump to: navigation, search
Information icon-grey.svg
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 has custom formatting.

ParameterDescriptionTypeStatus
NPCnpc

The name of the Non-player character being cited.

Default
empty
Example
e.g. Wise Old Man
Auto value
empty
Unknownrequired
Quotequote

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

Default
empty
Example
empty
Auto value
empty
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.

Default
empty
Example
e.g. Animal Magnetism
Auto value
empty
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.

Default
empty
Example
empty
Auto value
empty
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.

Default
empty
Example
empty
Auto value
empty
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.

Default
empty
Example
empty
Auto value
empty
Unknownoptional