User talk:Rhavlovick
This page contains an example script that contains many different elements of Papyrus for the purpose of demonstrating the wiki's syntax highlighting. I plan to use it to configure a Notepad++ user-defined language to use as close to the same styles as possible.
Unfortunately, Notepad++ doesn't seem to be able to differentiate between operators and brackets in a user-defined language, yet the wiki does, so unless I'm missing something a Notepad++ user-defined language's syntax highlighting style can't be made to exactly match the wiki's style.
ScriptName SyntaxHighlightingTest extends Form
{This script demonstrates syntax highlighting
of various structures}
float Property Number = 0.0 auto
{This is some property documentation}
bool Property Boolean = false
Function Set(bool value)
Boolean = value
EndFunction
bool Function Get()
return Boolean
EndFunction
EndProperty
string HelloWorld = "Hello, world!" ; This is a line comment
ObjectReference PlayerRef
int[] Array = new int[20]
Event OnHit(ObjectReference akAggressor, Form akWeapon, Projectile akProjectile)
PlayerRef = (Game.GetPlayer() as ObjectReference)
if (false != true)
Boolean = !((Boolean || false) && true)
Number = Number - int.Length * 1.0
Kill(Self)
elseif (Game.GetPlayer as Form)
; Do stuff
;/ else
Kill(Self) /;
endif
EndEvent
It seems the following categories are used:
KeywordsEdit
kw1Edit
Keywords related to script structure e.g. ScriptName extends EndFunction as endif
kw2Edit
The names of literals e.g. int bool
kw3Edit
The names of scripts e.g. ObjectReference Game Math ActiveMagicEffect
kw4Edit
The names of property member functions: Get Set
kw5Edit
The names of functions, including events e.g. GetPlayer OnHit
CommentsEdit
coMULTIEdit
Documentation comments surrounded by curly braces: {This is a comment}
Multi-line comments delimited by ";/" and "/;": ;/ This is a comment ;/
co1Edit
Line comments preceded by a semi-colon (semi-colons inside string literals don't count): ; This is a comment
StringsEdit
st0Edit
Strings surrounded by double quotes: "This is a string"
SymbolsEdit
sy0Edit
Operators such as the following: + - = += && || . ,
BracketsEdit
br0Edit
Brackets such as the following: ( ) [ ]
NumbersEdit
nu0Edit
Numbers, including decimal points: 1 9 3.0 2.5
Group RightsEdit
Hi ! I write a translation of the Creation Kit wiki in french, with pages and categories creation, languages bar and tutorial indexes. Of course, I have number of mistakes in french titles of redirections... because some words seamed a good translation to understand the concepts for a beginer... and it was not a good idea. I also put some colon (I see you don't recommand it in the help page) and want to change in Hyphen.
How is it possible to have the rights to rename pages and also to delete the french pages ?
My references on other wikis :
- User=Mike89 Administrator of the wiki http://wiwiki.wiwiland.net/index.php/Accueil (Wiwiland is a popular french Elders scrolls community)
- User=Ereksen Administrator of the wiki http://www.lagardedenuit.com/wiki/index.php (A community a fans of George R. R. Martin A Song of Ice an Fire)
- I am also Admin of the associated forums.
Regards, --Ereksen (talk) 07:48, 23 October 2012 (EDT)
CaptchaEdit
For information,
To confirm the edition when captcha ask a game, only the image of Obli is displayed, but never an other. It's like a lotery to answer, sometime 3 time to have right. (Sorry). Some images fails. --Ereksen (talk) 07:48, 23 October 2012 (EDT)