Template:Dialogue: Difference between revisions

From [N8]
Jump to navigation Jump to search
Created page with "<includeonly> {| class="messagebox standard-talk plainlinks" style="border-left:none; text-align:center;" |- | This page contains {{#switch:{{lc:{{{1|}}}}} |missionjournal = d..."
 
mNo edit summary
Line 4: Line 4:
| This page contains {{#switch:{{lc:{{{1|}}}}}
| This page contains {{#switch:{{lc:{{{1|}}}}}
|missionjournal = dialogue related to {{#if:{{{linkb|}}}|[[{{{linkb}}}]] and}} [[{{{link|{{#titleparts:{{PAGENAME}}|-1}}}}}|{{{link|{{#titleparts:{{PAGENAME}}|-1}}}}}]]
|missionjournal = dialogue related to {{#if:{{{linkb|}}}|[[{{{linkb}}}]] and}} [[{{{link|{{#titleparts:{{PAGENAME}}|-1}}}}}|{{{link|{{#titleparts:{{PAGENAME}}|-1}}}}}]]
|mission = dialogue related to {{#if:{{{linkb|}}}|[[{{{linkb}}}]] and}} missions [[{{{link|{{PAGENAME}}}}}|{{{link|{{PAGENAME}}}}}]]
|mission = dialogue related to {{#if:{{{linkb|}}}|[[{{{linkb}}}]] and}} mission [[{{{link|{{PAGENAME}}}}}|{{{link|{{PAGENAME}}}}}]]
|#default = dialogue related to {{#if:{{{linkb|}}}|[[{{{linkb}}}]] and}} [[{{{link|{{PAGENAME}}}}}|{{{link|{{PAGENAME}}}}}]]
|#default = dialogue related to {{#if:{{{linkb|}}}|[[{{{linkb}}}]] and}} [[{{{link|{{PAGENAME}}}}}|{{{link|{{PAGENAME}}}}}]]
}}.<br clear="all" /><div style="font-size:0.85em; line-height:1.4em;">The content below is copied verbatim from ''Gemini Station'' and thus copyrighted by {{User|Noresist}}.</div>
}}.<br clear="all" /><div style="font-size:0.85em; line-height:1.4em;">The content below is copied verbatim from ''Gemini Station'' and thus copyrighted by {{User|Noresist}}.</div>

Revision as of 20:39, 14 June 2020

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

{{Dialogue}} is placed at the top of pages in the Transcript namespace. It is used in conjunction with {{Hasdialogue}}.

Usage

{{Dialogue|type|link=optional}}

Possible types are:

  • npc
  • mission
  • event

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

Examples

{{Dialogue|npc}}
produces:
{{Dialogue|link=JayCo - A Brief History Part 2}}
produces:
{{Dialogue|link=Gemini Station|linkb=foo}}
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.

{{Dialogue}} is placed at the top of pages in the Transcript namespace. It is used in conjunction with {{Hasdialogue}}.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Type1

Type of article the dialogue belongs to

Example
npc
Stringoptional
Articlelink

Name of the article the dialogue relates to

Stringoptional
Additional articlelinkb

Name of an additional article the dialogue relates to

Example
Foo
Stringoptional