Template:Dialogue/doc: Difference between revisions
Content deleted Content added
Johnrdorazio (talk | contribs) m 1 revision imported |
Johnrdorazio (talk | contribs) No edit summary |
||
Line 2:
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
This is a complex template designed to make it easy to write out lines of [[wikipedia:dialogue|dialogue]]. '''This template ''cannot'' be <code>subst:</code>'d'''. The template can handle most standard formats of writing dialogue, and can be indented, bulleted or numbered.
{{tl|Dialogue}} facilitates the writing of [[wikipedia:dialogue|dialogue]] in a standard format.
==Syntax==
This is how to write the template in [[wikipedia:wikitext|wikitext]] onto your article:
<pre>{{dialogue
Line 34:
Name shortcuts apply to your main dialogue text. If you use a shortcut specified here for a character name, then the full name will be replaced for it.
Named parameters of the form "<code>mood1</code>", "<code>mood2</code>", "<code>mood3</code>", etc., up to "<code>
<pre>...
Line 52:
:;<code>Parameter 7</code> ''(optional)'' : so on...
This extends for
Note: if any character is called "<code>action</code>" then that line will be construed as an action line. It still counts as a ''line'' nonetheless.
Line 60:
<pre>{{dialogue
|harry=[[wikipedia:Harry Enfield|Harry]]
|bryan=[[wikipedia:Bryan Adams|Bryan]]
|harry|Hello! |mood1=happy
Line 78:
{{dialogue
|harry=[[wikipedia:Harry Enfield|Harry]]
|bryan=[[wikipedia:Bryan Adams|Bryan]]
|harry|Hello! |mood1=happy
Line 159:
You will get the odd spacing error (e.g. "Speech<code><space></code>") if you lay out your dialogue on multiple lines. If you need 11 or more lines, you must split the template up. Otherwise you'll see this:
{{dialogue|Line
==See also==
|