Template:Hasdialogue: Difference between revisions

From [N8]
Jump to navigation Jump to search
Created page with "<includeonly> {| class="messagebox hasdialogue standard-talk plainlinks" style="border-left:none; padding: 0 10px" |- | align="center" | {{#switch: {{lc: {{{1}}} }} | #default..."
 
mNo edit summary
 
Line 4: Line 4:
| align="center" | {{#switch: {{lc: {{{1}}} }}
| align="center" | {{#switch: {{lc: {{{1}}} }}
| #default = This article has an associated transcript page.<br />'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for the transcript.
| #default = This article has an associated transcript page.<br />'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for the transcript.
| npc = This article on an [[NPC]] has an associated dialogue page.<br />'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for a transcript of conversations with this NPC.
| npc = This article on an [[Characters|NPC]] has an associated dialogue page.<br />'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for a transcript of conversations with this NPC.
| mission = This article on a [[mission]] has an associated dialogue page.<br />'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for a transcript of conversations encountered throughout the mission.{{#ifeq:{{{journal|yes}}}|no||<br />'''[[{{{2|Transcript:{{PAGENAME}}}}}/Journal|Click here]]''' for a transcript of the quest's journal entry.}}
| mission = This article on a [[missions|mission]] has an associated dialogue page.<br />'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for a transcript of conversations encountered throughout the mission.{{#ifeq:{{{journal|yes}}}|no||<br />'''[[{{{2|Transcript:{{PAGENAME}}}}}/Journal|Click here]]''' for a transcript of the quest's journal entry.}}
| miniquest = This article on a [[miniquests|miniquest]] has an associated dialogue page.<br />'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for a transcript of possible conversations encountered throughout the miniquest.
| miniquest = This article on a [[miniquests|miniquest]] has an associated dialogue page.<br />'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for a transcript of possible conversations encountered throughout the miniquest.
| event = This article on an [[event]] has an associated dialogue page.<br />'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for a transcript of possible conversations encountered throughout the event.
| event = This article on an [[event]] has an associated dialogue page.<br />'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for a transcript of possible conversations encountered throughout the event.

Latest revision as of 23:10, 13 June 2020

Template documentation
This documentation is transcluded from Template:Hasdialogue/doc. [edit] [purge]

The {{hasdialogue}} 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
    • mission
    • event
  • 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 npc to show dialogues for, if different from the page name.
  • journal - Optional. Enter value 'no' if there's no journal. Default is yes.

Examples

{{hasdialogue}}
produces:
{{hasdialogue|Mission|journal=no}}
produces:


{{hasdialogue|article|Transcripts}}
produces:

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 {{hasdialogue}} template is used to indicate and link to a dialogue page for any given article.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Type1

The type of article the dialogue belongs to (one of: npc, familiar, pet, quest, miniquest, saga, event, item, case, voyage, mystery, research, 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 npc, familiar or pet to show dialogues for, if different from the page name.

Example
Wise Old Man
Page nameoptional