Template:Dialogue

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Dialogue/doc. [edit] [history] [purge]
Template:Dialogue invokes function invoke_main in Module:Dialogue using Lua.

{{Dialogue}} is placed at the top of pages in the Transcript namespace. It is used in conjunction with the {{Hasdialogue}} template which is placed on article pages.

Usage

{{Dialogue|type|link=optional}}

Possible types are:

  • npc
  • familiar
  • pet
  • quest
  • miniquest
  • saga
  • event
  • item
  • music
  • voyage
  • case
  • casedocument
  • mystery
  • research
  • scenery
  • dgjournal
  • museumdisplay

The type of dialogue does not change the template itself, but alters the category used by the template. If the type parameter is not filled out, it defaults to Category:Miscellaneous transcript.

Examples

{{Dialogue|npc}}
produces:
{{Dialogue|link=RuneScape}}
produces:
{{Dialogue|link=RuneScape|linkb=foo}}
produces:

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.

This template is placed at the top of pages in the Transcript namespace. It is used in conjunction with the 'Hasdialogue' template which is placed on article pages.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Type1

Type of article the dialogue belongs to (one of: npc, familiar, pet, quest, miniquest, saga, event, item, music, voyage, case, mystery, research, scenery, dgjournal, museumdisplay)

Example
npc
Lineoptional
Articlelink

Name of the article the dialogue relates to

Example
Runescape
Stringoptional
Additional articlelinkb

Name of an additional article the dialogue relates to

Example
Foo
Stringoptional