Template:Choice Text
Jump to navigation
Jump to search
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Used with Template:Choices and Template:Choice Character to structure choice pathing in story pages
- This template can't be used on the same line as Template:Choice Character, see #For NPC Characters for more info.
How to Use
{{Choice Text |Text 1 = Choice 1 Text (optional) |Text 2 = Choice 2 Text (optional) |# = use if there are multiple choices in page }}
Example
With Template:Choices and Character, 2 Paths
Choice 1: Option 1 | Choice 2: Option 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}} {{Choice Text|Text 1 = Path 1|Text 2 = Path 2|# = 1}} |- |}
With Template:Choices and Character, Only 1 Path
Choice 1: Option 1 | Choice 2: Option 2 | |
Path 1 | ||
Converge |
{| class="storytable" | class="choice" colspan="2" |{{Choices|Choice # = 1|Text = Option 1|# = 2}} | class="choice" width="50%" |{{Choices|Choice # = 2|Text = Option 2|# = 2}} |- | style="width:150px;" |{{Choice Character|Chara 1 = Grim|# = 2}} | colspan="2" |{{Choice Text|Text 1 = Path 1|# = 2}} |- |{{Story Character|Crowley}} | colspan="2" |Converge |}
Choice 1: Option 1 | Choice 2: Option 2 | |
Converge |
{| class="storytable" | class="choice" colspan="2" |{{Choices|Choice # = 1|Text = Option 1|# = 3}} | class="choice" width="50%" |{{Choices|Choice # = 2|Text = Option 2|# = 3}} |- | style="width:150px;" |{{Choice Character|Chara 2 = Grim|# = 3}} {{Choice Text|Text 2 = Path 2|# = 3}} |- |{{Story Character|Crowley}} | colspan="2" |Converge |}
For NPC Characters
- Since this template can't be used on the same line as Template:Choice Character, instead you use 2 one path rows to give the same effect.
Choice 1: Option 1 | Choice 2: Option 2 | |
Path 1 | ||
Converge |
{| class="storytable" | class="choice" colspan="2" |{{Choices|Choice # = 1|Text = Option 1|# = 4}} | class="choice" width="50%" |{{Choices|Choice # = 2|Text = Option 2|# = 4}} |- | style="width:150px;" |{{Choice Character|Chara 1 = Grim|# = 4}} {{Choice Text|Text 1 = Path 1|# = 4}} |- | class="character"|{{Choice Text|Text 2 = NPC|# = 4}} {{Choice Text|Text 2 = Path 2|# = 4}} |- |{{Story Character|Crowley}} | colspan="2" |Converge |}
Template Data
Used alongside the Choices and Choice Character templates to structure pathing in story pages
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text 1 | Text 1 | The text corresponding to the first option in the choice
| String | suggested |
Text 2 | Text 2 | The text corresponding to the second option in the choice | String | suggested |
Choice number | # | Specifies which choice in the story page this corresponds to
| Number | required |