Template:Dialogue Start/doc: Difference between revisions

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 start}}
{{Dialogue Start}}
:'''Bob''' Hi, I'm bob!
:'''Bob''' Hi, I'm bob!
{{Dialogue end}}
{{Dialogue End}}
</pre>
</pre>
<br />
<br />
'''Example result:'''<br />
'''Example result:'''<br />
{{Dialogue start}}
{{Dialogue Start}}
:'''Bob''' Hi, I'm bob!
:'''Bob''' Hi, I'm bob!
{{Dialogue end}}
{{Dialogue End}}