Template:D3 Dialog

From Diablo Wiki
Jump to: navigation, search
{{{player_q1}}}Barbarian Portrait.png
{{{player_q2}}}Demon Hunter Portrait.png
{{{player_q3}}}Monk Portrait.png
{{{player_q4}}}Witch Doctor Portrait.png
{{{player_q5}}}Wizard Portrait.png
{{{player_q6}}}Crusader Portrait.png
link={{{npc_c}}}[[{{{npc_c}}}]]{{{npc_q}}}
Documentation

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.Barbarian Portrait.png Monk Portrait.png Wizard Portrait.png 
Leah, is it? Rumford said that you survived the fallen star's impact.Demon Hunter Portrait.png
You are Leah. The captain says you survived the fallen star.Witch Doctor Portrait.png
Leah Portrait.png
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.Barbarian Portrait.png Monk Portrait.png Wizard Portrait.png 
Leah, is it? Rumford said that you survived the fallen star's impact.Demon Hunter Portrait.png
You are Leah. The captain says you survived the fallen star.Witch Doctor Portrait.png
Leah Portrait.png
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.Barbarian Portrait.png
Leah Portrait.png
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}}}.