Template:Script
Jump to navigation
Jump to search
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 Noelle (New Year) to link to Noelle, then you would write Noelle (New Year)!Noelle. 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=Rain!Rain,Phiria!Phiria,Test!Vagner |scriptHeader=Another header name |script= {{SL|Rain|My name is Rain!}} {{SL|Phiria|Hi Rain!}} {{SL|Phiria|My name is Phiria!}} {{SL|Test|Hi Phiria!}} }}
Another header name
- Also supports script choices
{{Script |characterLinks=Rain!Rain,Phiria!Phiria,Test!Vagner |scriptHeader=Another header name |script= {{SC |choice1=Talk to Rain! |script1= {{SL|Rain|My name is Rain!}} {{SL|Test|Hi Rain!}} |choice2=Talk to Phiria! |script2= {{SL|Phiria|My name is Phiria!}} {{SL|Test|Hi Phiria!}} }} }}
The above documentation is transcluded from Template:Script/doc. (edit | history)