Template:Dialogue start: Difference between revisions
Template page
More actions
Aurelianus (talk | contribs) Create HarvestWiki-styled fillable template |
Aurelianus (talk | contribs) Keep collapsed dialogue titles visible |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div class="hw-dialogue | <includeonly><div class="hw-dialogue" lang="{{{language|en}}}"> | ||
<div class="hw-dialogue-title">{{{title|Dialogue}}}</div> | |||
<div class="hw-dialogue-body {{{class|}}}"></includeonly><noinclude> | |||
Starts a styled dialogue tree. Close every use with {{Dialogue end}}. | Starts a styled dialogue tree. Close every use with {{Dialogue end}}. | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{Dialogue start|title=First Meeting}} | {{Dialogue start|title=First Meeting|language=en}} | ||
:'''Khasuhaa:''' Welcome, cultivator. | :'''Khasuhaa:''' Welcome, cultivator. | ||
:{{Dialogue choice|Who are you?}} | :{{Dialogue choice|Who are you?}} | ||
| Line 11: | Line 12: | ||
{{Dialogue end}} | {{Dialogue end}} | ||
</pre> | </pre> | ||
Add <code>|class=mw-collapsible mw-collapsed</code> when the dialogue should start collapsed. | |||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 09:53, 28 July 2026
Starts a styled dialogue tree. Close every use with .
Usage
{{Dialogue start|title=First Meeting|language=en}}
:'''Khasuhaa:''' Welcome, cultivator.
:{{Dialogue choice|Who are you?}}
::'''Khasuhaa:''' A guide, for now.
{{Dialogue end}}
Add |class=mw-collapsible mw-collapsed when the dialogue should start collapsed.