Template:DialogueStart: Difference between revisions

From Ephinea PSO Wiki
(Rephrasing; Added text)
(More text, hopefully the last edit here for now (also fixing an oops))
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


==Usage==
==Usage==
Simple template meant for starting Dialogue sections of a page, only having to use <code><nowiki>{{DialogueStart}}</nowiki></code> rather than find and copy/paste the equivalent div tag involved.
Simple template meant for starting Dialogue sections of a page and clearly marking them during editing, only having to use <code><nowiki>{{DialogueStart}}</nowiki></code> rather than having to remember or find and copy/paste the equivalent div tag involved.
 
Should the NPC start with a group of options for the player to choose from instead of initial dialogue text, requiring use of <code><nowiki>{{DialogueOption|indent=0|text=...}}</nowiki></code>, use of <code><nowiki>{{DialogueStart}}</nowiki></code> beforehand is preferred in order to avoid later issues with the dialogue structure.
 
Due to the current dialogue structure, non-DialogueTemplate lines after this template should be prefixed with at least one <code><nowiki>:</nowiki></code> indent for convenient editing and visibility, with more/less indents as dialogue branches are successively encountered/finished.


Should the NPC start with a selection of options instead of initial dialogue text, requiring use of <code><nowiki>{{DialogueOption|indent=0|text=...}}</nowiki></code>, use of <code><nowiki>{{DialogueStart}}</nowiki></code> beforehand is preferred in order to avoid later issues with the dialogue structure.
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 16:24, 4 January 2022

Usage[edit source]

Simple template meant for starting Dialogue sections of a page and clearly marking them during editing, only having to use {{DialogueStart}} rather than having to remember or find and copy/paste the equivalent div tag involved.

Should the NPC start with a group of options for the player to choose from instead of initial dialogue text, requiring use of {{DialogueOption|indent=0|text=...}}, use of {{DialogueStart}} beforehand is preferred in order to avoid later issues with the dialogue structure.

Due to the current dialogue structure, non-DialogueTemplate lines after this template should be prefixed with at least one : indent for convenient editing and visibility, with more/less indents as dialogue branches are successively encountered/finished.