Template:Script/choice: Difference between revisions
From Love and Deepspace Wiki
Content deleted Content added
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
--><div class="script-choice">'''[CHOICE]''' {{{choice1|}}} |
--><div class="script-choice">'''[CHOICE]''' {{{choice1|}}} |
||
⚫ | |||
### Choice 2 |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{{choice2Dialogue|}}} |
{{{choice2Dialogue|}}} |
||
}}<!-- |
|||
⚫ | |||
⚫ | |||
### Choice 3 |
|||
⚫ | |||
⚫ | |||
{{{choice3Dialogue|}}} |
{{{choice3Dialogue|}}} |
||
}}<!-- |
|||
⚫ | |||
⚫ | |||
### Choice 4 |
|||
-->{{#if:{{{choice4|}}} | |
|||
⚫ | |||
{{{choice4Dialogue|}}} |
{{{choice4Dialogue|}}} |
||
}} |
}} |
Revision as of 04:58, 18 February 2024
Description
Template:Script encompasses several subtemplates to help create stylized scripts.
Required
Script Parts
Example
{{Script/start}} {{Script/location|Grassy Fields}} {{Script/action|The sun warms the air while the wind blows through the grassy fields. A girl runs across.}} {{Script/speaker|Girl|Wheeeeeeeeeee!!!!}} {{Script/end}}
Script
Grassy Fields
The sun warms the air while the wind blows through the grassy fields. A girl runs across.
Girl: Wheeeeeeeeeee!!!!
Adding Location Links
If you want the location to link to a specific page, you can add the link
field. This will also store the link into Cargo as the location for querying. For example, if you want Southeastern corner of Hat Island
to link to Hat Island
, do the following (either way):
{{Script/location|Southeastern corner of Hat Island|link=Hat Island}} {{Script/location|location=Southeastern corner of Hat Island|link=Hat Island}}
Adding Choices
If a script has choices, use Template:Script/choice. The template is as follows:
{{Script/choice |choice1= |choice1Dialogue= |choice2= |choice2Dialogue= |choice3= |choice3Dialogue= |choice4= |choice4Dialogue= }}
Here's an example of its usage.
{{Script/start}} {{Script/location|Grassy Fields}} {{Script/action|The sun warms the air while the wind blows through the grassy fields. What do you do?}} {{Script/choice |choice1=RUN ACROSS! |choice1Dialogue= {{Script/speaker|Girl|Wheeeeeeeeeee!!!!}} {{Script/speaker|Girl|So fun!!!!!}} |choice2=Sit and relax. |choice2Dialogue= {{Script/speaker|Girl|Cozy.}} |choice3=Go back inside. |choice3Dialogue= {{Script/speaker|Girl|No time for sun.}} {{Script/speaker|Girl|More time for Love and Deepspace.}} }} {{Script/end}}
Script
Grassy Fields
The sun warms the air while the wind blows through the grassy fields. What do you do?
[CHOICE] RUN ACROSS!
Girl: Wheeeeeeeeeee!!!!
Girl: So fun!!!!!
[CHOICE] Sit and relax.
Girl: Cozy.
[CHOICE] Go back inside.
Girl: No time for sun.
Girl: More time for Love and Deepspace.