Template:Dialogue: Difference between revisions

From [N8]
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 11: Line 11:
|npc = [[Category:NPC dialogue]]
|npc = [[Category:NPC dialogue]]
|mission = [[Category:Mission transcript]]
|mission = [[Category:Mission transcript]]
|missionjournal = [[Category:Mission journal transcript]] [[Category:Nonspoken Transcripts]]
|missionjournal = [[Category:Mission journal transcript]]
|event = [[Category:Event transcript]]
|event = [[Category:Event transcript]]
|#default = [[Category:Miscellaneous transcript]]
|#default = [[Category:Miscellaneous transcript]]

Latest revision as of 18:45, 16 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