Template:Choices/doc

From Twisted Wonderland Wiki
Jump to navigation Jump to search

Used with Template:Choice Character and Template:Choice Text to structure choice pathing in story pages

How to Use

{{Choices
|Choice # = 1/2
|Text = choice text
|# = use if there are multiple choices in page
}}

Example

Only Choices Template

Choice 1: Option 1 Choice 2: Option 2
{| class="storytable"
| class="choice" |{{Choices|Choice # = 1|Text = Option 1|# = 1}}
| class="choice" width="50%" |{{Choices|Choice # = 2|Text = Option 2|# = 1}}
|}

With Choice Character and Text

Choice 1: Option 1 Choice 2: Option 2
Story Grim.png
Grim
Grim
Story Grim.png
colspan="2" Path 1
{| class="storytable"
| class="choice" colspan="2" |{{Choices|Choice # = 1|Text = Option 1|# = 1}}
| class="choice" width="50%" |{{Choices|Choice # = 2|Text = Option 2|# = 1}}
|-
| style="width:150px;" |{{Choice Character|Chara 1 = Grim|Chara 2 = Crowley|# = 1}}
| colspan="2" |{{Choice Text|Text 1 = Path 1|Text 2 = Path 2|# = 1}}
|}

Template Data

Used alongside the Choice Text and Choice Character templates to structure pathing in story pages

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Choice numberChoice #

Specifies which option the text corresponds to (1 or 2)

Auto value
1
Numberrequired
TextText

The text of the choice option

Auto value
Linerequired
Choice number#

Specifies which choice in the story page this corresponds to

Auto value
1
Numberrequired