Template:Dialogue/doc

Purpose
This is a complex template designed to make it easy to write out lines of dialogue. This template cannot be 'd. The template can handle most standard formats of writing dialogue, and can be indented, bulleted or numbered.

Dialogue facilitates the writing of dialogue in a standard format.

Syntax
This is how to write the template in wikitext onto your article:

These parameters are explained more fully below.

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

{{dialogue ...
 * short=full
 * short=full
 * short=full

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 " ", " ", " ", etc., up to " ", specify moods for the corresponding line number (e.g. " " specifies line 1). They are placed in a line like this:

... ...
 * Character|Speech|mood1=angry
 * Character|Speech|mood2=quiet
 * Character|Speech|mood3=ecstatic

Positional parameters form the text of the dialogue (i.e. any line not containing an " " will be construed as part of the dialogue.


 * (required) : Character name speaking
 * (optional) : Line to speak
 * (optional) : Next character
 * (optional) : Next line
 * (optional) : Next character
 * (optional) : Next line
 * (optional) : so on...

This extends for 10 lines at maximum. After that, unfortunately the template will have to be manually called again from the code.

Note: if any character is called " " then that line will be construed as an action line. It still counts as a line nonetheless.

Examples
Here is an example of a full template usage:

The above would generate:

The below code demonstrates examples of extended use:

The above would generate: