Template:DialogueStart: Difference between revisions

From Ephinea PSO Wiki
(More rephrasing)
(More text, hopefully the last edit here for now (also fixing an oops))
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
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.
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 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.
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.
 
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>
Due to the current dialogue structure, lines after this template should be prefixed with at least one <code><nowiki>:</nowiki></code> indent for convenient editing and visibility.

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.