Template:Dialogue Branch: Difference between revisions

From The Talos Principle Wiki
Responses are second argument now
m Corrected name
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="collapsible-dialogue">''Option:'' {{{1}}} [ <span class="collapsible-dialogue-link">Choose</span> ]<div class="collapsible-dialogue-content">{{{2|}}}</div>
<div class="collapsible-dialogue">[[1k (1000)]] ''Option:'' {{{1}}} [ <span class="collapsible-dialogue-link">Choose</span> ]<div class="collapsible-dialogue-content">{{{2|}}}</div>
</div><noinclude>
</div><noinclude>
== Usage ==
== Usage ==
Line 8: Line 8:
[[Byron (7)]]: How are you?
[[Byron (7)]]: How are you?


{{Dialogue Choice|I'm fine.|
{{Dialogue Branch|I'm fine.|


[[Byron (7)]]: That's good.
[[Byron (7)]]: That's good.
Line 15: Line 15:
}}
}}


{{Dialogue Choice|Not great.|
{{Dialogue Branch|Not great.|


[[Melville (142)]]: Why is that?
[[Melville (142)]]: Why is that?


{{Dialogue Choice|I'm tired.|
{{Dialogue Branch|I'm tired.|


[[Melville (142)]]: Try Sleep Mode.
[[Melville (142)]]: Try Sleep Mode.
}}
}}


{{Dialogue Choice|I don't know.|
{{Dialogue Branch|I don't know.|


[[Melville (142)]]: Hm...
[[Melville (142)]]: Hm...
Line 38: Line 38:
[[Byron (7)]]: How are you?
[[Byron (7)]]: How are you?


{{Dialogue Choice|I'm fine.|
{{Dialogue Branch|I'm fine.|


[[Byron (7)]]: That's good.
[[Byron (7)]]: That's good.
Line 45: Line 45:
}}
}}


{{Dialogue Choice|Not great.|
{{Dialogue Branch|Not great.|


[[Melville (142)]]: Why is that?
[[Melville (142)]]: Why is that?


{{Dialogue Choice|I'm tired.|
{{Dialogue Branch|I'm tired.|


[[Melville (142)]]: Try Sleep Mode.
[[Melville (142)]]: Try Sleep Mode.
}}
}}


{{Dialogue Choice|I don't know.|
{{Dialogue Branch|I don't know.|


[[Melville (142)]]: Hm...
[[Melville (142)]]: Hm...

Latest revision as of 05:10, 3 December 2023

1k (1000) Option: {{{1}}} [ Choose ]

Usage

Example:

[[1k (1000)]]: Hello!

[[Byron (7)]]: How are you?

{{Dialogue Branch|I'm fine.|

[[Byron (7)]]: That's good.

[[Melville (142)]]: I'm glad.
}}

{{Dialogue Branch|Not great.|

[[Melville (142)]]: Why is that?

{{Dialogue Branch|I'm tired.|

[[Melville (142)]]: Try Sleep Mode.
}}

{{Dialogue Branch|I don't know.|

[[Melville (142)]]: Hm...

[[Byron (7)]]: Maybe you're tired?
}}
}}

produces

1k (1000): Hello!

Byron (7): How are you?

1k (1000) Option: I'm fine. [ Choose ]

Byron (7): That's good.

Melville (142): I'm glad.

1k (1000) Option: Not great. [ Choose ]

Melville (142): Why is that?

1k (1000) Option: I'm tired. [ Choose ]

Melville (142): Try Sleep Mode.

1k (1000) Option: I don't know. [ Choose ]

Melville (142): Hm...

Byron (7): Maybe you're tired?

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Choice1

no description

Stringrequired
Response2

no description

Contentsuggested