Open main menu
Home
Random
Log in
Settings
About the CreationKit Wiki
Disclaimers
the CreationKit Wiki
Search
Editing
Help:Wiki Editing Syntax Guide
(section)
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.
Anti-spam check. Do
not
fill this in!
==Code Boxes== (this section can be confusing if you don't look at the plaintext version - click the [edit] link to the left of the header to see it) Script code, and other types of specialized text, require monospace fonts and no margins. There are two ways to format a section of text as code. First, start each line with a space ScriptName ShowOffMyTextBox Begin GameMode MessageBox, "Look at me!" End First, note that even the blank lines start with a space - if you don't, the Wiki will assume your box is done, and then start another box with the next line. See this example, which is the same as the above except that the blank lines don't have spaces: ScriptName ShowOffMyTextBox Begin GameMode MessageBox, "Look at me!" End Second, be aware that words will not wrap inside this box - they will continue off to the right, off the paper color of this Wiki, into the black borders, right off the side of the page. This makes them unreadable and can cause the page to stretch. Avoid this if at all possible. The other way to create a code box is to use the <nowiki><pre></nowiki> tag. This is the same script as above, but there are no spaces starting any of the lines - the code box will not end until you use the <nowiki></pre></nowiki> tag: <pre>ScriptName ShowOffMyTextBox Begin GameMode MessageBox, "Look at me!" End</pre> To be consistent, tabs for the indentation of script lines are typically typed as two spaces. This is in addition to the space you used to create the code box if you use that format.
Summary:
Please note that all contributions to the CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
CreationKit: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!
Cancel
Editing help
(opens in new window)