Template:Dialogue
Jump to navigation
Jump to search
A template for formatting dialogue.
For dialogue with multiple conversation paths, wrap the branching text in {{Dialogue-child}}. Examples of this are shown below.
Syntax
{{Dialogue|title=<title>|class=<class>|<dialogue>}}
- 1
- Required. The dialogue.
- title
- Optional. Adds a title above the dialogue.
- class
- Optional. Used to add additional CSS classes--for example,
plainlist, which causes a bulleted list to render without the bullets.
Examples
- Code
{{Dialogue|title=Kalaen|
I can instruct you in jewelcrafting. Interested?
{{Trainer|Train me.}}<br>
{{Buy|Let me browse your goods.}}
}}
- Result
Kalaen
I can instruct you in jewelcrafting. Interested?
- Code
{{Dialogue|class=plainlist|
*{{text|say|Zang Cloudwalker|Greetings! Please step into the basket... and prepare for the most educational balloon ride of your life.}}
*{{text|say|Zang Cloudwalker|Today we will be taking a scenic balloon tour over the ancient city of Suramar.}}
*{{text|say|Zang Cloudwalker|But first, I will be taking attendance.}}
*{{text|say|Zang Cloudwalker|<Name>? Is <name> here?}}
*{{text|say|Zang Cloudwalker|Please, just say "here".}}
*{{text|say|Zang Cloudwalker|Very well. Do we have a <name> in attendance today?}}
*{{text|say|Zang Cloudwalker|I see. And, last on the list is <name>. That must be you, correct?}}
*{{text|say|Zang Cloudwalker|Quite the talkative bunch. On with the tour!}}
}}
- Result
- Zang Cloudwalker says: Greetings! Please step into the basket... and prepare for the most educational balloon ride of your life.
- Zang Cloudwalker says: Today we will be taking a scenic balloon tour over the ancient city of Suramar.
- Zang Cloudwalker says: But first, I will be taking attendance.
- Zang Cloudwalker says: <Name>? Is <name> here?
- Zang Cloudwalker says: Please, just say "here".
- Zang Cloudwalker says: Very well. Do we have a <name> in attendance today?
- Zang Cloudwalker says: I see. And, last on the list is <name>. That must be you, correct?
- Zang Cloudwalker says: Quite the talkative bunch. On with the tour!
With Dialogue-child
- Code
{{Dialogue|
Greetings, <class>. Can I interest you in some high quality equipment?
{{Gossip|Remind me about professional equipment.}}
{{Dialogue-child|
Of course, <name>.
You can equip professional tools and accessories next to your recipes.
Professional equipment has benefits for you as a crafter or gatherer. You can inspect the equipment to find out more.
}}
{{Gossip|I would like to talk about my profession equipment.}}
{{Dialogue-child|
How may I help?
{{Gossip|Limit how much I see my crafting equipment. Hide my accessories and only show my tool while crafting.}}
}}}}
- Result
Greetings, <class>. Can I interest you in some high quality equipment?
Gossip Remind me about professional equipment.
Of course, <name>.
You can equip professional tools and accessories next to your recipes.
Professional equipment has benefits for you as a crafter or gatherer. You can inspect the equipment to find out more.
Gossip I would like to talk about my profession equipment.
How may I help?
Gossip Limit how much I see my crafting equipment. Hide my accessories and only show my tool while crafting.