Template:DialogueOption

From Ephinea PSO Wiki
Revision as of 15:39, 4 January 2022 by Twilight (talk | contribs) (Rephrasing; Adjusted parameters)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{{text}}}

Usage[edit source]

Meant for showing the option(s) a player can choose in between dialogue text, can be more than one in case they lead to a similar dialogue branch.
Will automatically close a div tag earlier opened either by itself or {{DialogueStart}} beforehand and re-open the tag afterward to avoid issues involving the option box as well as later dialogue text.

Currently supports up to 5 indents, or : inserts preceding the option box. Due to the current Dialogue structure, at least one indent is needed if initial dialogue text is used, though it is possible to write indent=0 or simply omit the indent field if an NPC starts with an option prompt without initial dialogue text.

Example[edit source]

{{DialogueOption|indent=2|text=Green<br/>Blue<br/>Purple<br/>Red<br/>Yellow}}
Green
Blue
Purple
Red
Yellow