Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
DOORS Site Logo

Welcome to the Official DOORS Wiki!
Please read the Wiki Rules the Manual of Style and familiarise yourself with our Wiki Policies before contributing to get a better understanding of what content is allowed on our wiki and how to display it properly, if you need help don't hesitate to reach out to a DOORS Wiki Staff Member.

Editing Template:Dialogue/doc

Template page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{t|Dialogue}} facilitates the writing of dialogue in a standard format. The template can handle most standard formats of writing dialogue, and can be indented, bulleted or numbered. '''This template ''cannot'' be <code>subst:</code>'d'''.
<noinclude>{{Documentation subpage}}</noinclude>
{{T|Dialogue}} facilitates the writing of dialogue in a standard format. The template can handle most standard formats of writing dialogue, and can be indented, bulleted or numbered. '''This template ''cannot'' be <code>subst:</code>'d'''.


This template uses the [[w:Help:Lua|Lua templating language]], and more information can be found [[w:c:dev:Global_Lua_Modules/Dialogue|on the Global Lua Module page]]. '''For a traditional wikitext version of this template, see [[w:c:templates:Template:Dialogue/wikitext|Dialogue on Templates Wiki]]'''.
This template uses the [[w:Help:Lua|Lua templating language]], and more information can be found [[w:c:dev:Global_Lua_Modules/Dialogue|on the Global Lua Module page]]. '''For a traditional wikitext version of this template, see [[w:c:templates:Template:Dialogue/wikitext|Dialogue on Templates Wiki]]'''.


== Syntax ==
==Syntax==
This is how to write the template in [[w:Help:wikitext|wikitext]] onto your article:
This is how to write the template in [[w:Help:wikitext|wikitext]] onto your article:


<pre>{{Dialogue
<pre>{{dialogue
|short=full
|short=full
|short=full
|short=full
Line 21: Line 20:
These parameters are explained more fully below.
These parameters are explained more fully below.


== Parameters ==
==Parameters==
'''Named parameters specify name shortcuts. They are all optional.''' They are placed at the top of the template call, like this:
'''Named parameters specify name shortcuts. They are all optional.''' They are placed at the top of the template call, like this:


<pre>{{Dialogue
<pre>{{dialogue
|short=full
|short=full
|short=full
|short=full
Line 54: Line 53:
To write a dialogue description/source, use <code>cite =</code>
To write a dialogue description/source, use <code>cite =</code>


== Examples ==
==Examples==
Here is an example of a full template usage:
Here is an example of a full template usage:


<pre>{{Dialogue
<pre>{{dialogue
|harry=Harry Enfield
|harry=Harry Enfield
|bryan=Bryan Adams
|bryan=Bryan Adams
Line 75: Line 74:
The above would generate:
The above would generate:


{{dialogue
{{Dialogue
|harry=Harry Enfield
|harry=Harry Enfield
|bryan=Bryan Adams
|bryan=Bryan Adams
Line 93: Line 92:
The below code demonstrates examples of extended use:
The below code demonstrates examples of extended use:


<pre>{{Dialogue
<pre>{{dialogue
|george=Georgie Boy
|george=Georgie Boy
|rachel=Rachel
|rachel=Rachel
Line 111: Line 110:
The above would generate:
The above would generate:


{{dialogue
{{Dialogue
|george=Georgie Boy
|george=Georgie Boy
|rachel=Rachel
|rachel=Rachel
Line 127: Line 126:
}}
}}


=== Notes ===
===Notes===

You can number, bullet or indent your dialogue:
You can number, bullet or indent your dialogue:


<pre>:{{Dialogue|Me|Hello|You|Howdido!}}</pre>
<pre>:{{dialogue|Me|Hello|You|Howdido!}}</pre>


:{{Dialogue|Me|Hello|You|Howdido!}}
:{{dialogue|Me|Hello|You|Howdido!}}


<pre>#{{Dialogue|Me|Hello|You|Howdido!}}
<pre>#{{dialogue|Me|Hello|You|Howdido!}}
#{{Dialogue|Them|Good afternoon|Us|What a load of rubbish!}}</pre>
#{{dialogue|Them|Good afternoon|Us|What a load of rubbish!}}</pre>


#{{Dialogue|Me|Hello|You|Howdido!}}
#{{dialogue|Me|Hello|You|Howdido!}}
#{{Dialogue|Them|Good afternoon|Us|What a load of rubbish!}}
#{{dialogue|Them|Good afternoon|Us|What a load of rubbish!}}


<pre>*{{Dialogue
<pre>*{{dialogue
|angel=Fortitude
|angel=Fortitude
|angel|I am an angel!|Crowd|We don't believe you!}}
|angel|I am an angel!|Crowd|We don't believe you!}}
* {{Dialogue
*{{dialogue
|angel=Fortitude
|angel=Fortitude
|angel|But I'm being quite serious!|Crowd|Too bad for you then!}}</pre>
|angel|But I'm being quite serious!|Crowd|Too bad for you then!}}</pre>


* {{Dialogue
*{{dialogue
|angel=Fortitude
|angel=Fortitude
|angel|I am an angel!|Crowd|We don't believe you!}}
|angel|I am an angel!|Crowd|We don't believe you!}}
* {{Dialogue
*{{dialogue
|angel=Fortitude
|angel=Fortitude
|angel|But I'm being quite serious!|Crowd|Too bad for you then!}}
|angel|But I'm being quite serious!|Crowd|Too bad for you then!}}
Line 156: Line 156:
You will get the odd spacing error (e.g. "Speech<code><nowiki><space></nowiki></code>") if you lay out your dialogue on multiple lines.
You will get the odd spacing error (e.g. "Speech<code><nowiki><space></nowiki></code>") if you lay out your dialogue on multiple lines.


<includeonly>[[Category:Quote templates]]</includeonly>
<includeonly>[[Category:Quote templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
Please note that all contributions to DOORS Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see DOORS Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above.

View this template