Template:Dialogue start: Difference between revisions
Template page
More actions
Aurelianus (talk | contribs) Create HarvestWiki-styled fillable template |
Aurelianus (talk | contribs) Remove unsupported parser functions and finalize fillable template rendering |
||
| Line 1: | Line 1: | ||
<includeonly><div class="hw-dialogue{{ | <includeonly><div class="hw-dialogue {{{class|}}}" lang="{{{language|en}}}"> | ||
<div class="hw-dialogue-title">{{{title|Dialogue}}}</div></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 11: | ||
{{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 02:46, 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.