Difference between revisions of "Template:Outcome"

From Wildermyth Wiki
(Collapsed outcome)
 
(Divs don't indent. Resorting to collapsible table.)
Line 1: Line 1:
<includeonly>
<includeonly>
{| style="min-width:200px;"
{| role="presentation" class="wikitable mw-collapsible mw-collapsed" data-expandtext="Show" data-collapsetext="Hide"
| <!-- 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"><!--
| <span style="font-weight:bold;line-height:1.6;">Outcome</span>&nbsp;
--><div style="font-weight:bold;line-height:1.6;">Outcome</div><!--
|-
--><div class="mw-collapsible-content"><!--
| {{#if:{{{outcome|}}}|{{{outcome}}}|???}}
-->{{#if:{{{outcome|}}}|{{{outcome}}}|???}}<!--
--></div></div>
|}</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>

Revision as of 16:38, 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]]
}}


Example with indentation

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