Jump to content

Template:Plot branch/doc: Difference between revisions

From The Battle for Wesnoth Wiki
Sub2pewds (talk | contribs)
Created documentation
 
Sub2pewds (talk | contribs)
m →Usage: Fixed whitespace
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:


'''contents 2''' denotes the second text for a mutually exclusive event. Optional.
'''contents 2''' denotes the second text for a mutually exclusive event. Optional.
== Usage ==
<nowiki>{{Plot branch
|branch text=Konrad went west
|contents=Konrad hurried off to the west with Delfador, risking being abandonend by the elves.
|branch text 2=Konrad went east
|contents 2=Konrad hurried off to the east with Kalenz, risking being attacked by the undead.
}}</nowiki>
{{Plot branch
|branch text=Konrad went west
|contents=Konrad hurried off to the west with Delfador, risking being abandonend by the elves.
|branch text 2=Konrad went east
|contents 2=Konrad hurried off to the east with Kalenz, risking being attacked by the undead.
}}

Latest revision as of 03:33, 14 July 2019

This template creates a set of mutually exclusive events that occur during a campaign in Battle for Wesnoth.

Parameters

branch text denotes the first title for a mutually exclusive event.

contents denotes the first text for a mutually exclusive event.

branch text 2 denotes the second title for a mutually exclusive event. Optional.

contents 2 denotes the second text for a mutually exclusive event. Optional.

Usage

{{Plot branch
|branch text=Konrad went west
|contents=Konrad hurried off to the west with Delfador, risking being abandonend by the elves.
|branch text 2=Konrad went east
|contents 2=Konrad hurried off to the east with Kalenz, risking being attacked by the undead.
}}
signpost.png Plot branch : Konrad went west
Konrad hurried off to the west with Delfador, risking being abandonend by the elves.
signpost.png Plot branch : Konrad went east
Konrad hurried off to the east with Kalenz, risking being attacked by the undead.