Editing Template:Script/doc

From Tears of Themis Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 7: Line 7:
{{Script
{{Script
|scriptHeader=
|scriptHeader=
|noHeader=
|characterLinks=
|noStyle=
|collapsed=
|collapsed=
|characterLinks=
|script=
|script=
}}
}}
Line 17: Line 15:
==Parameters==
==Parameters==
* <code>characterLinks</code> - 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.
* <code>characterLinks</code> - 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.
* <code>script</code> - Where you define the character lines using [[Template:SL]].
===Styling Parameters===
The other parameters used by the template are mostly for styling purposes.
* <code>scriptHeader</code> - Optional if you want to change the header text. Defaults to "Script".
* <code>scriptHeader</code> - Optional if you want to change the header text. Defaults to "Script".
* <code>collapsed</code> - Adding in this variable will default the script div to be collapsed instead of expanded.
* <code>collapsed</code> - Adding in this variable will default the script div to be collapsed instead of expanded.
* <code>noHeader</code> - Removes the header and collapsed/expand text.
* <code>script</code> - Where you define the character lines using [[Template:SL]].
* <code>noStyle</code> - Removes the outer div box. Use this if you only want text.


==Example==
==Example==
Please note that all contributions to Tears of Themis Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Tears of Themis Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)