Template:Dialogue/doc: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 36: Line 36:


== Example ==
== Example ==
== Introduction ==
{{Dialogue start}}
{{Dialogue start}}
'''Nettie:''' Give me a moment. I'll be right with you.
'''Nettie:''' Give me a moment. I'll be right with you.

Latest revision as of 18:30, 24 February 2024


Set of templates used to aid in formatting transcribed dialogue trees. Dialogue trees should exclusively use asterisks or <ul>/<li> elements.

Template:Dialogue start
Starts a dialogue. Also tags a page as a transcript.
Template:Dialogue end
Ends a dialogue
Template:dopt
Indicates a (numbered in the game) player option in a dialogue. We don't have numbers because they can vary depending on player flags and dialogue progress.
Template:dcond
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, optionally with a link to an anchor on the same page. Includes the following:
action arguments result
end end (End of dialogue)
previous previous (Shows previous options)
initial initial (Shows initial options)
other other (Shows other options)
above above (Same as above)
seeabove seeabove (See above)
seebelow seebelow (See below)
continues continues (Continues below)
pay gold=50 (Player pays 50 gold.)

Example

Nettie: Give me a moment. I'll be right with you.

  • Player: Is there anything I can do to help?
    • Nettie: A moment!
    • Vis medicatrix...
    • There. It's up to her now. Life or death.
    • (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.
        • Player: Where did you see another drow?
          • Nettie: That's neither here nor there.
          • Look, you obviously want something. What is it?
          • (Continues below)
        • 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.
          • (Continues below)
        • 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.
          • (Continues below)
    • (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.
      • (Continues below)
    • (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.
      • (Continues below)
  • Player: Wait patiently.
  • Player: Excuse me? I'm more important than some bird.
  • Leave.
    • (End of dialogue)
  • Nettie: Now, what was it you needed?
  • Nettie: I'm a busy woman who's here to chew bubblegum and heal birds, and I'm all outta birds.
  • (End of dialogue)