Revision of Twine FAQ/How-to, first draft from Sat, 05/18/2013 - 02:59

How to install CSS code / stylesheets
Paste the code into a passage with "stylesheet" in the tags box.
Such passages must only contain CSS code.

How to install macro code / Javascript code
Paste the code into a passage with "script" in the tags box.
Such passages must only contain Javascript code.

How to center the text of all passages
CSS:
.passage { text-align:center; max-width:50%; margin:auto; }
Note: 50% can be changed to a different value if you want the text to be wider.

How to remove the entire Sugarcane sidebar
CSS:
#sidebar { display: none; }
If you're also centering the text, also include this:
#passages ( margin-left: 0; }

How to remove the vertical line to the left of Sugarcane passages
CSS:
#passages { border-left: 0; }

How to link to a passage whose name is in a variable
Macro:
<<print "[[Link text|" + $variable + "]]">>

How to <<display>> a passage whose name is in a variable
Install this script.

How to change the page title
Macro:
<<set document.title = "Page title">>

pensive-mosquitoes