Template:Dialogue Start/doc: Difference between revisions
Appearance
Created page with "{{Documentation/Header}} {{CSS|Dialogue}} Adds a <code>div</code> with the class <code>dialogue</code>. Indicates the start of a dialogue section, which continues until {{T|Dialogue End}}. ==Syntax== {{T|Dialogue Start|v1=hide=yes|v2=lang=lang code|v3=no_indent=1|v4=left-line=1}} * {{F|1}} — include to display dialogue inside a bullet list or similar. Line breaks must be {{F|<br />}} See Project:Dialogue Guide for more info. ==Examples== '''Example code:'''<b..." |
m CSS |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation/Header}} | {{Documentation/Header}} | ||
{{CSS|Dialogue}} | {{CSS|Template:Dialogue/styles}} | ||
Adds a <code>div</code> with the class <code>dialogue</code>. Indicates the start of a dialogue section, which continues until {{T|Dialogue End}}. | Adds a <code>div</code> with the class <code>dialogue</code>. Indicates the start of a dialogue section, which continues until {{T|Dialogue End}}. | ||
==Syntax== | ==Syntax== | ||
| Line 11: | Line 11: | ||
'''Example code:'''<br /> | '''Example code:'''<br /> | ||
<pre> | <pre> | ||
{{Dialogue | {{Dialogue Start}} | ||
:'''Bob''' Hi, I'm bob! | :'''Bob''' Hi, I'm bob! | ||
{{Dialogue | {{Dialogue End}} | ||
</pre> | </pre> | ||
<br /> | <br /> | ||
'''Example result:'''<br /> | '''Example result:'''<br /> | ||
{{Dialogue | {{Dialogue Start}} | ||
:'''Bob''' Hi, I'm bob! | :'''Bob''' Hi, I'm bob! | ||
{{Dialogue | {{Dialogue End}} | ||
Latest revision as of 14:32, 24 April 2026
This is the documentation page for Dialogue Start. It contains usage information, categories, and other content not part of the original template page. | ||
|---|---|---|
| Main | Documentation | Usage |
This template uses CSS found at Template:Dialogue/styles.css.
Adds a div with the class dialogue. Indicates the start of a dialogue section, which continues until {{Dialogue End}}.
Syntax
[edit source]{{Dialogue Start|hide = yes|lang = lang code|no_indent = 1|left-line = 1}}
- 1 — include to display dialogue inside a bullet list or similar. Line breaks must be
See Project:Dialogue Guide for more info.
Examples
[edit source]Example code:
{{Dialogue Start}}
:'''Bob''' Hi, I'm bob!
{{Dialogue End}}
Example result:
- Bob Hi, I'm bob!