{{{player_q1}}} | ||
{{{player_q2}}} | ||
{{{player_q3}}} | ||
{{{player_q4}}} | ||
{{{player_q5}}} | ||
{{{player_q6}}} | ||
[[{{{npc_c}}}]] | {{{npc_q}}} |
Documentation
[purge]
This is a template intended for the use of dialogue illustration. It is assembled piece-wise and can be extended to any size by controlling the {{{top}}}
and {{{bottom}}}
parameters.
Parameters[]
player_q1 .. player_q6 | = quotes for the first line through fifth |
player_c1 .. player_c6 | = characters (default if omitted: Barbarian, Demon Hunter, Monk, Witch Doctor, Wizard) |
npc_c | = npc character |
npc_q | = npc quote |
npc_q_1 .. npc_q_n | = additional npc quotes (if any) |
npc_image | = title of image (default if omitted: "{{{npc_c}}} Portrait.png") |
npc_align | = right; to shift the NPC to the right, instead of the default left |
top | = set this template as the top portion (start of the conversation) |
bottom | = set this template as the bottom portion (end of the conversation) |
Example[]
{{D3 Dialog |top = 1 |player_q1 = Are you Leah? Rumford said you survived the fallen star. |player_c1_1 = Barbarian |player_c1_2 = Monk |player_c1_3 = Wizard |player_q2 = Leah, is it? Rumford said that you survived the fallen star's impact. |player_q4 = You are Leah. The captain says you survived the fallen star. |npc_c = Leah |npc_q = I did. But it blasted my uncle, Deckard Cain, into the depths of the old cathedral. I tried to search for him, but the dead were already rising. }}
Produces:
Are you Leah? Rumford said you survived the fallen star. | ||
Leah, is it? Rumford said that you survived the fallen star's impact. | ||
You are Leah. The captain says you survived the fallen star. | ||
Leah | I did. But it blasted my uncle, Deckard Cain, into the depths of the old cathedral. I tried to search for him, but the dead were already rising. |
but can then be extended by adding the same template underneath without the {{{top}}}
and removing the {{{bottom}}}
from the first:
{{D3 Dialog |top = 1 |player_q1 = Are you Leah? Rumford said you survived the fallen star. |player_c1_1 = Barbarian |player_c1_2 = Monk |player_c1_3 = Wizard |player_q2 = Leah, is it? Rumford said that you survived the fallen star's impact. |player_q4 = You are Leah. The captain says you survived the fallen star. |npc_c = Leah |npc_q = I did. But it blasted my uncle, Deckard Cain, into the depths of the old cathedral. I tried to search for him, but the dead were already rising. }} {{D3 Dialog |bottom = 1 |player_q1 = I will send them back to their graves. I will save your town. |npc_c = Leah |npc_q = Thank you. You should speak with Captain Rumford at the gate. He can tell you what to do. }}
Are you Leah? Rumford said you survived the fallen star. | ||
Leah, is it? Rumford said that you survived the fallen star's impact. | ||
You are Leah. The captain says you survived the fallen star. | ||
Leah | I did. But it blasted my uncle, Deckard Cain, into the depths of the old cathedral. I tried to search for him, but the dead were already rising. | |
I will send them back to their graves. I will save your town. | ||
Leah | Thank you. You should speak with Captain Rumford at the gate. He can tell you what to do. |
For the middle pieces, just omit both {{{top}}}
and {{{bottom}}}
.