Template:Transcript

Revision as of 07:28, 4 November 2024 by BlackHawk (talk | contribs) (Created page with "<includeonly>{{#invoke:Dialogue|invoke_main}}</includeonly><noinclude>{{/doc}}{{PAGENAME}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
This documentation is transcluded from Template:Transcript/doc. [edit] [history] [purge]
Template:Transcript invokes function invoke_main in Module:Dialogue using Lua.

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

Usage

{{Transcript|type|link=optional}}

Possible types are:

  • item
  • npc
  • quest
  • scenery

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 transcripts.

Examples

{{Transcript|npc}}
produces:

Script error: No such module "Dialogue".

{{Transcript|link=Brighter Shores}}
produces:

Script error: No such module "Dialogue".

{{Transcript|link=Brighter Shores|linkb=Captain Jal Degreene}}
produces:

Script error: No such module "Dialogue".

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 'HasTranscript' template which is placed on article pages.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Type1

Type of article the dialogue belongs to (one of: npc, quest, item, scenery)

Example
npc
Lineoptional
Articlelink

Name of the article the transcript relates to

Example
Runescape
Stringoptional
Additional articlelinkb

Name of an additional article the transcript relates to

Example
Foo
Stringoptional