Template:Dialogue: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Swapped colours for End and Close and added Icons for completion options.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1}}} | <includeonly>{{#switch: {{{1}}} | ||
| loop = {{ReverseBlue|This selection loops to another branch of this conversation which is already documented.}} | | loop = {{ReverseBlue|This selection loops to another branch of this conversation which is already documented.}} | ||
| close = {{ | | close = {{ReverseGreen|This selection closes the dialogue.}} | ||
| end = {{ | | end = [[File:Mission Selected.png|20px]] {{ReverseRed|This selection ends the mission.}} | ||
| accept = {{ReverseMaize|This selection completes the current task and accepts the next.}} | | accept = [[File:Mission Selected2.png|20px]] {{ReverseMaize|This selection completes the current task and accepts the next.}} | ||
| #default = {{ReverseBlue|This selection loops to another branch of this conversation which is already documented.}} | | #default = {{ReverseBlue|This selection loops to another branch of this conversation which is already documented.}} | ||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 19:56, 16 February 2024
[edit] [ ] Documentation
Usage
This template is intended for use when documenting dialogue trees and the effects of certain choices.
Parameters
This template takes the following parameters:
- Accept
For a dialogue option that ends the current and accepts the next task of a mission.
For a dialogue option that closes the dialogue window (usually has no effect)
- This selection closes the dialogue.
{{Dialogue|close}}
- End
For a dialogue option that ends the current mission.
For a dialogue option that loops back to a previously documented piece of text. This is used by default for backwards compatibility.
- This selection loops to another branch of this conversation which is already documented.
{{Dialogue|loop}}