Editing Template:DialogueOption
From Ephinea PSO Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
</div> | </div> | ||
{{#switch:{{{indent|}}}|5 = :::::|4 = ::::|3 = :::|2 = ::|1 = : | {{#switch:{{{indent|}}}|5 = :::::|4 = ::::|3 = :::|2 = ::|1 = :}}<div align=center class="psoBackground psoStyle" style="max-width:200px; font-size:15px;">{{{text}}}</div> | ||
<div style="line-height:50%;"><noinclude></div> | <div style="line-height:50%;"><noinclude></div> | ||
Line 6: | Line 6: | ||
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. | 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. | ||
<br> | <br> | ||
Will automatically close | Will automatically close the div structure beforehand and re-open it afterward to avoid issues involving the option box as well as later dialogue text. | ||
Currently supports up to 5 indents, or <code><nowiki>:</nowiki></code> inserts preceding the option box. Due to the current Dialogue structure, at least one indent is | Currently supports up to 5 indents, or <code><nowiki>:</nowiki></code> inserts preceding the option box. | ||
<br> | |||
Due to the current Dialogue structure, at least one indent is preferred in order to line up with initial dialogue text. | |||
==Example== | ==Example== | ||
<pre> | <pre> | ||
{{DialogueOption|indent=2|text=Green<br | {{DialogueOption|indent=2|text=Green<br>Blue<br>Purple<br>Red<br>Yellow}} | ||
</pre> | </pre> | ||
{{DialogueOption|indent=2|text=Green<br | {{DialogueOption|indent=2|text=Green<br>Blue<br>Purple<br>Red<br>Yellow}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |