Template:Script

From Tears of Themis Wiki
Revision as of 02:00, 7 August 2021 by imported>Elaeagnifolia
Template-info.png Documentation

Description

Template used for writing scripts.

Usage

{{Script
|scriptHeader=
|noHeader=
|noStyle=
|collapsed=
|characterLinks=
|script=
}}

Parameters

  • characterLinks - Use this parameter to define character names to pages. For example, if you want You to link to Main Character, then you would write You!Main Character. You can define multiple characters using a comma delimiter. Defining them here will automatically set the links when you write them later in the script text.
  • script - Where you define the character lines using Template:SL.

Styling Parameters

The other parameters used by the template are mostly for styling purposes.

  • scriptHeader - Optional if you want to change the header text. Defaults to "Script".
  • collapsed - Adding in this variable will default the script div to be collapsed instead of expanded.
  • noHeader - Removes the header and collapsed/expand text.
  • noStyle - Removes the outer div box. Use this if you only want text.

Example

{{Script
|characterLinks=Artem!Artem Wing,Luke!Luke Pearce,You!Main Character
|scriptHeader=Another header name
|script=
{{SL|Artem|My name is Artem!}}
{{SL|You|Hi Artem!}}
{{SL|Luke|My name is Luke!}}
{{SL|You|Hi Luke!}}
}}
Another header name

Artem: My name is Artem!

You: Hi Artem!

Luke: My name is Luke!

You: Hi Luke!

  • Also supports script choices
{{Script
|characterLinks=Artem!Artem Wing,Luke!Luke Pearce,You!Main Character
|scriptHeader=Another header name
|script=
{{SC
|choice1=Talk to Artem!
|script1=
{{SL|Artem|My name is Artem!}}
{{SL|You|Hi Artem!}}
|choice2=Talk to Luke!
|script2=
{{SL|Luke|My name is Luke!}}
{{SL|You|Hi Luke!}}
}}
}}
Another header name
Talk to Artem!

Artem: My name is Artem!

You: Hi Artem!

Talk to Luke!

Luke: My name is Luke!

You: Hi Luke!