Template:Hasdialogue: Difference between revisions
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
The {{hasdialogue}} template is used to indicate and link to a dialogue page for any given article.
Usage
{{hasdialogue|type|link}}
Parameters
- type - Optional (required if specifying link). Possible types are:
npcmissionevent
- 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.
|
||||||||||||||||||||