6,366
editsAd placeholder
Template:Dialogue/doc: Difference between revisions
Jump to navigation
Jump to search
Expand examples
(Initial docs) |
(Expand examples) |
||
Line 1: | Line 1: | ||
Set of templates used to aid in formatting transcribed [[dialogue]] trees. | <includeonly>''Transcluded from [[Template:Dialogue/doc]].''</includeonly> | ||
Set of templates used to aid in formatting transcribed [[dialogue]] trees. Dialogue trees should exclusively use asterisks or <code><nowiki><ul>/<li></nowiki></code> elements. | |||
;[[Template:Dialogue start]] | ;[[Template:Dialogue start]] | ||
Line 9: | Line 11: | ||
;[[Template:dcond]] | ;[[Template:dcond]] | ||
: Indicates a prerequisite for a dialogue option to be selected, or for a character to respond in a certain way. | : Indicates a prerequisite for a dialogue option to be selected, or for a character to respond in a certain way. | ||
;[[Template:dact]] | |||
: Indicates some kind of action. Includes the following: | |||
{| class="wikitable" | |||
!action!!arguments!!result | |||
|- | |||
|end || end || {{dact|end}} | |||
|- | |||
|previous || previous || {{dact|previous}} | |||
|- | |||
|initial || initial || {{dact|initial}} | |||
|- | |||
|other || other || {{dact|other}} | |||
|- | |||
|above || above || {{dact|above }} | |||
|- | |||
|seeabove || seeabove || {{dact|seeabove}} | |||
|- | |||
|seebelow || seebelow || {{dact|seebelow}} | |||
|- | |||
|continues || continues || {{dact|continues}} | |||
|- | |||
|pay || pay|gold=50 || {{dact|pay|gold=50}} | |||
|} | |||
== Example == | |||
<templatestyles src="Template:Dialogue/testcss.css"/> | |||
== Introduction == | |||
{{Dialogue start}} | |||
'''Nettie:''' Give me a moment. I'll be right with you. | |||
* {{dopt|'''Player''': Is there anything I can do to help?}} | |||
** '''Nettie:''' A moment! | |||
** Vis medicatrix... | |||
** There. It's up to her now. Life or death. | |||
** {{dcond|If the player is a Drow or Duergar and has not exposed [[Kagha]]}} | |||
*** '''Nettie:''' Now, what - | |||
*** '''Nettie:''' Drow. Last time I saw one of you folk, he tried to slit me open. I hope you're more agreeable. | |||
*** {{dact|continues|initial-dialogue}} | |||
**** {{dopt|'''Player''': Where did you see another drow?}} | |||
***** '''Nettie:''' That's neither here nor there. | |||
***** Look, you obviously want something. What is it? | |||
*** {{dact|continues|initial-dialogue}} | |||
**** {{dopt|'''Player:''' Enough. I need your abilities.}} | |||
***** '''Nettie:''' Just be glad my bedside manner's better than yours. | |||
***** Come here. Let's have a look at you. | |||
*** {{dact|continues|initial-dialogue}} | |||
**** {{dopt|'''Player:''' That depends. How good of a healer are you?}} | |||
***** '''Nettie:''' A grey dwarf. Never thought I'd meet a decent one, but I heard what you did at the gates. | |||
***** {{dact|continues|initial-dialogue}} | |||
** {{dcond|If the player is a Duergar and has exposed [[Kagha]]}} | |||
*** '''Nettie:''' So. A grey dwarf. Never thought I'd meet a decent one, but I heard what you did out there. | |||
*** {{dact|continues|initial-dialogue}} | |||
** {{dcond|If the player is a Drow and has exposed [[Kagha]]}} | |||
*** '''Nettie:''' So. The last time I saw a drow, he tried to slit me open. I hope you're more agreeable. | |||
*** {{dact|continues|initial-dialogue}} | |||
* {{dopt|'''Player:''' Wait patiently.}} | |||
** {{dact|seebelow|initial-dialogue}} | |||
* {{dopt|'''Player:''' Excuse me? I'm more important than some bird.}} | |||
** '''Nettie:''' I don't care bout you. | |||
** {{dact|continues|initial-dialogue}} | |||
* {{dopt|Leave.}} | |||
** {{dact|end}} | |||
* {{anchor|initial-dialogue}}'''Nettie:''' Now, what was it you needed? | |||
* {{anchor|initial-dialogue}}'''Nettie:''' I'm a busy woman who's here to chew bubblegum and heal birds, and I'm all outta birds. | |||
* {{dact|end}} | |||
{{Dialogue end}} | |||
[[Category:Templates]] |