Log in

View Full Version : Wiki page creating



Lorenc
08-25-2011, 06:57 AM
Hey, I was creating a page on the wiki so I started to test out doing a example of GetPlayerName.

https://wiki.vaultmp.com/index.php/GetPlayerName

The design is really ugly though and there's no code tags for this. How the hell can I put it on? And plus I have to space everything to make a paragraph.

example:


== Usage ==

''new name[ 24 ];

GetPlayerName(clientID, name);

printf("This guys name is %s", name);
''

It's annoying and is there any simple way of doing this?

Thanks

foxtacles
08-25-2011, 03:18 PM
I'm not familiar with the wiki-style. This might be a good start: https://meta.wikimedia.org/wiki/Help:Editing

If theres anything you would like to have installed on the wiki (such as code highlighting tags), give me a link to the extension and I'll do it ;)

Lorenc
08-26-2011, 08:18 AM
Try this out Recycler, it has a syntax. We could possibly use C++ for the syntax highlighting; not sure if it'll work but it should.

https://swinbrain.ict.swin.edu.au/wiki/CodeSyntaxHighlight_MediaWiki_Extension

foxtacles
09-05-2011, 03:33 PM
The wiki now has some extension for syntax highlighting:

https://www.mediawiki.org/wiki/Extension:GeSHiCodeTag
https://wiki.vaultmp.com/index.php/GetPlayerName

CTCCoco
09-05-2011, 03:53 PM
The wiki now has some extension for syntax highlighting:

https://www.mediawiki.org/wiki/Extension:GeSHiCodeTag
https://wiki.vaultmp.com/index.php/GetPlayerName


I will help with some functions as well.