© 2015 X2Engine Inc.

Difference between revisions of "Wiki Usage:For contributors"

From X2Engine
Jump to: navigation, search
Line 8: Line 8:
 
;Categorize a page
 
;Categorize a page
 
: Place at the top of the page: <pre>[[Category:{Category name}]]</pre>
 
: Place at the top of the page: <pre>[[Category:{Category name}]]</pre>
;Images
+
* [[mw:Help:Images|Help:Images]]
: [[mw:Help:Images]]
+
* [[mw:Help:Links|Help:Links]]
;Links
+
* [[mw:Help:Formatting|Help:Formatting]]
: [[mw:Help:Links]]
+
* [[mw:Help:List|Help:List]]
;Formatting
+
* [[mw:Help:Tables|Help:Tables]]
: [[mw:Help:Formatting]]
+
* [[mw:Help:Contents|All help topics]]
;Lists
 
: [[mw:Help:List]]
 
;Tables
 
: [[mw:Help:Tables]]
 
;All help topics
 
: [[mw:Help:Contents]]
 
  
 
== Interwiki Links ==
 
== Interwiki Links ==

Revision as of 23:40, 13 September 2012


Bare Essentials

Edit/create a page
Search for it, and if it doesn’t exist you’ll see a link to create it.
Edit/create a category
Search for Category:{Category Name} and create it in much the same way as with creating a page.
Categorize a page
Place at the top of the page:
[[Category:{Category name}]]

Interwiki Links

Relevant page: The InterWiki manual. Interwiki links are a great way to quickly link to a page in another instance of MediaWiki without including the full URL. The syntax is:

[[{prefix}:{page}|]]

Where the pipe is added at the end of the link to hide the interwiki prefix in the resulting link, which makes links look nicer in general. You can optionally set the link text manually by inserting it after the pipe.

Extra InterWiki Prefixes

Prefixes have been added for common locations throughout this wiki;

Class documentation in the X2Engine class reference
[[x2doc:{class name}|]]
Example: Contacts
Class documentation in the Yii Framework class reference
[[yii:{class name}|]]
Example: CActiveRecord
Pages on x2engine.com
[[x2:{page name}|]]
Example: partners