Template:HasTranscript/doc

From Brighter Shores Wiki
Revision as of 07:03, 4 November 2024 by BlackHawk (talk | contribs) (Created page with "{{Documentation}} The {{t|HasTranscript}} template is used to indicate and link to a dialogue page for any given article. ==Usage== * {{t|HasTranscript|type|link}} ==Parameters== *'''type''' - Optional (required if specifying link). Possible types are: ** <code>npc</code> ** <code>quest</code> ** <code>item</code> ** <code>scenery</code> *'''link''' - Optional. If the dialogue page is not found at <nowiki>Transcript:{{PAGENAME}}</nowiki> (which should only be the cas...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:HasTranscript.
It contains usage information, categories, and other content that is not part of the original template page.

The {{HasTranscript}} template is used to indicate and link to a dialogue page for any given article.

Usage

Parameters

  • type - Optional (required if specifying link). Possible types are:
    • npc
    • quest
    • item
    • scenery
  • link - Optional. If the dialogue page is not found at Transcript:{{PAGENAME}} (which should only be the case in exceptional circumstances), used in place of the default link.
  • name - Optional. Name of the page to show dialogues for, if different from the page name.

Examples

{{HasTranscript}}

produces:

{{HasTranscript|npc}}

produces:

{{HasTranscript|article|Brighter Shores:Sandbox}}

produces:

{{HasTranscript|npc|name=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.

The {{HasTranscript}} template is used to indicate and link to a dialogue page for any given article.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Type1

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

Example
npc
Stringoptional
Link2

Link to the dialogue page if it is not Transcript:{{PAGENAME}} (this should only be needed in exceptional circumstances)

Stringoptional
Namename

Name of the page to show dialogues for, if different from the page name.

Example
Captain Jal Degreene
Page nameoptional