Template:Dialogue: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
(A more useful template for flagging the effects of dialogue options.)
 
mNo edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{{x}}}
<includeonly>{{#switch: {{{1}}}
  | loop = {{ReverseBlue|This selection loops to another branch of this conversation which is already documented.}}
  | loop = {{ReverseBlue|This selection loops to another branch of this conversation which is already documented.}}
  | close = {{ReverseRed|This selection closes the dialogue.}}
  | close = {{ReverseRed|This selection closes the dialogue.}}

Revision as of 15:12, 11 February 2024

[edit] [purge] Documentation

Usage

This template is intended for use when documenting dialogue trees and the effects of certain choices.

Parameters

This template takes the following parameters:

Accept

For a dialogue option that ends the current and accepts the next task of a mission.

This selection accepts the next task.
{{Dialogue|accept}}
Close

For a dialogue option that closes the dialogue window (usually has no effect)

This selection closes the dialogue.
{{Dialogue|close}}
End

For a dialogue option that ends the current mission.

This selection ends the mission.
{{Dialogue|end}}
Loop

For a dialogue option that loops back to a previously documented piece of text. This is used by default for backwards compatibility.

This selection loops to another branch of this conversation which is already documented.
{{Dialogue|loop}}

See also