Template:Transcript/doc

From Brighter Shores Wiki
Jump to navigation Jump to search
This is a documentation subpage for Template:Transcript.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Transcript invokes function invoke_main in Module:Transcript 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:

{{Transcript|link=Brighter Shores}}

produces:

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

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 'HasTranscript' 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, 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