Jump to content

Template:Plot disorder: Difference between revisions

From The Battle for Wesnoth Wiki
Sub2pewds (talk | contribs)
Added outline to all parts of plot disorder template
Sub2pewds (talk | contribs)
Added documentation
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
|-
|-
| style="border:1px #E4BC7B solid;" | {{{contents 1|}}}
| style="border:1px #E4BC7B solid;" | {{{contents 1|}}}
|-
</tr><tr><th style="background:#F2DEB6; border:1px #E4BC7B solid; width:90%; text-align: center">https://raw.githubusercontent.com/wesnoth/wesnoth/master/images/icons/icon-editor.png {{{title 2|}}}</th></tr><tr><td style="border:1px #E4BC7B solid;">
|<tr><th style="background:#F2DEB6; border:1px #E4BC7B solid; width:90%; text-align: center">https://raw.githubusercontent.com/wesnoth/wesnoth/master/images/icons/icon-editor.png {{{title 2|}}}</th></tr><tr><td style="border:1px #E4BC7B solid;">
{{{contents 2|}}}</td></tr>
{{{contents 2|}}}</td></tr>
{{#if:{{{title 3|}}}
{{#if:{{{title 3|}}}
|<tr><th style="background:#F2DEB6; border:1px #E4BC7B solid; width:90%; text-align: center">https://raw.githubusercontent.com/wesnoth/wesnoth/master/images/icons/icon-editor.png {{{title 3}}}</th></tr><tr><tdstyle="border:1px #E4BC7B solid;">
|<tr><th style="background:#F2DEB6; border:1px #E4BC7B solid; width:90%; text-align: center">https://raw.githubusercontent.com/wesnoth/wesnoth/master/images/icons/icon-editor.png {{{title 3}}}</th></tr><tr><td style="border:1px #E4BC7B solid;">
{{{contents 3|}}}</td></tr>}}
{{{contents 3|}}}</td></tr>}}
{{#if:{{{title 4|}}}
{{#if:{{{title 4|}}}
|<tr><th style="background:#F2DEB6; border:1px #E4BC7B solid; width:90%; text-align: center">https://raw.githubusercontent.com/wesnoth/wesnoth/master/images/icons/icon-editor.png {{{title 4}}}</th></tr><tr><tdstyle="border:1px #E4BC7B solid;">
|<tr><th style="background:#F2DEB6; border:1px #E4BC7B solid; width:90%; text-align: center">https://raw.githubusercontent.com/wesnoth/wesnoth/master/images/icons/icon-editor.png {{{title 4}}}</th></tr><tr><td style="border:1px #E4BC7B solid;">
{{{contents 4|}}}</td></tr>}}
{{{contents 4|}}}</td></tr>}}
|}
|}
</onlyinclude>
</onlyinclude>
<noinclude>{{template}}</noinclude>
<noinclude>{{Plot disorder/doc}}{{template}}</noinclude>

Latest revision as of 03:52, 14 July 2019

The order of the following events is contingent on in-game decisions.
icon-editor.png
icon-editor.png

This template produces a series of events, the order of which is determined by in-game decisions.

Parameters

title 1 and title 2 denote the titles for the first and second events respectively.

contents 1 and contents 2 denote the text for the first and second events respectively.

title 3 and title 4 denote the titles for the third and fourth events respectively. Each is optional.

contents 3 and contents 4 denote the text for the third and fourth events respectively. Each is optional.

Usage

{{Plot disorder
|title 1=Kalenz harvested the silverweed
|contents 1=Kalenz traveled west to find the silverweed needed to produce the invulnerability potion.
|title 1=Kalenz obtained the firedust powder
|contents 1=Kalenz traveled north to dig out the last remaining firedust powder for the invulnerability potion.
|title 1=Kalenz slew the fire dragon
|contents 1=Kalenz traveled south to slay the fire dragon and retrieve its heart for the invulnerability potion.
}}
The order of the following events is contingent on in-game decisions.
icon-editor.png Kalenz harvested the silverweed
Kalenz traveled west to find the silverweed needed to produce the invulnerability potion.
icon-editor.png Kalenz obtained the firedust powder
Kalenz traveled north to dig out the last remaining firedust powder for the invulnerability potion.
icon-editor.png Kalenz slew the fire dragon
Kalenz traveled south to slay the fire dragon and retrieve its heart for the invulnerability potion.