Difference between revisions of "Template:Outcome"

From Wildermyth Wiki
(Test whether inline table keeps table on same line as indentation)
(Revert back to div for less clunky show animation. Fix indentation issue by using HTML instead of wiki table markup)
 
Line 1: Line 1:
<includeonly>
<includeonly><table style="min-width:200px;"><!--
{| role="presentation" class="wikitable mw-collapsible mw-collapsed" style="display: inline-table;" data-expandtext="Show" data-collapsetext="Hide"
--><tr><td><!--
| <span style="font-weight:bold;line-height:1.6;">Outcome</span>&nbsp;
--><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><!--
| {{#if:{{{outcome|}}}|{{{outcome}}}|???}}
--><div class="mw-collapsible-content"><!--
|}</includeonly><noinclude>
-->{{#if:{{{outcome|}}}|{{{outcome}}}|???}}<!--
--></div></div></td></tr></table><!--
--></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 17: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