Difference between revisions of "Template:Outcome"

From Wildermyth Wiki
(Collapsed outcome)
 
(Revert back to div for less clunky show animation. Fix indentation issue by using HTML instead of wiki table markup)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><table style="min-width:200px;"><!--
{| style="min-width:200px;"
--><tr><td><!--
| <!-- Div embedded in a table since mw-collapsible doesn't seem to handle min-width or floating inline-block --><div class="toccolours mw-collapsible mw-collapsed" style="overflow:auto;" data-expandtext="Show" data-collapsetext="Hide"><!--
--><div class="toccolours mw-collapsible mw-collapsed" style="overflow:auto;" data-expandtext="Show" data-collapsetext="Hide"><!--
--><div style="font-weight:bold;line-height:1.6;">Outcome</div><!--
--><div style="font-weight:bold;line-height:1.6;">Outcome</div><!--
--><div class="mw-collapsible-content"><!--
--><div class="mw-collapsible-content"><!--
-->{{#if:{{{outcome|}}}|{{{outcome}}}|???}}<!--
-->{{#if:{{{outcome|}}}|{{{outcome}}}|???}}<!--
--></div></div>
--></div></div></td></tr></table><!--
|}</includeonly><noinclude>
--></includeonly><noinclude>
{{Outcome/doc}}
{{Outcome/doc}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 18:02, 24 November 2019

This documentation is transcluded from Template:Outcome/doc

Usage

This template displays a collapsed outcome for an event choice.

The template uses the following parameters:

outcome
The resulting outcome from a choice that the player made

Example

{{Outcome
| outcome = The hero gets [[Ability:Flamesoul]]
}}
Outcome
The hero gets Ability:Flamesoul

Example with indentation

::{{Outcome
| outcome = The hero gets [[Ability:Flamesoul]]
}}
Outcome
The hero gets Ability:Flamesoul