1,482
edits
imported>DarkRider No edit summary |
m (Convert source tags to syntaxhighlight) |
||
| Line 144: | Line 144: | ||
Text representing a block of Papyrus code should begin with a <nowiki><source lang="papyrus"></nowiki> tag, and end with a <nowiki></source></nowiki> tag, which color-codes keywords and formats them cleanly: | Text representing a block of Papyrus code should begin with a <nowiki><source lang="papyrus"></nowiki> tag, and end with a <nowiki></source></nowiki> tag, which color-codes keywords and formats them cleanly: | ||
< | <syntaxhighlight lang="papyrus"> | ||
scriptName [Name] extends [Object] | scriptName [Name] extends [Object] | ||
{A line of comment text.} | {A line of comment text.} | ||
| Line 151: | Line 151: | ||
;Do something here. | ;Do something here. | ||
EndFunction | EndFunction | ||
</ | </syntaxhighlight> | ||
Non-Papyrus text, like console commands, can be formatted in a similar way by just starting each line with a space: | Non-Papyrus text, like console commands, can be formatted in a similar way by just starting each line with a space: | ||