© 2015 X2Engine Inc.

Difference between revisions of "Wiki Usage:For contributors"

From X2Engine
Jump to: navigation, search
(Bare Essentials)
(Extra InterWiki Prefixes)
Line 26: Line 26:
 
The following shorthand can be used for quickly making inter-site links:
 
The following shorthand can be used for quickly making inter-site links:
 
;Class documentation in the X2Engine class reference
 
;Class documentation in the X2Engine class reference
: <pre>[[x2doc:{class name}]]</pre> Example: [[x2doc:Contacts]]
+
: <pre>[[x2doc:{class name}|]]</pre> Example: [[x2doc:Contacts|Contacts]]
 
;Class documentation in the Yii Framework class reference
 
;Class documentation in the Yii Framework class reference
: <pre>[[yii:{class name}]]</pre> Example: [[yii:CActiveRecord]]
+
: <pre>[[yii:{class name}|]]</pre> Example: [[yii:CActiveRecord|CActiveRecord]]
 
;Pages on x2engine.com
 
;Pages on x2engine.com
: <pre>[[x2:{page name}]]</pre> Example: [[x2:partners]]
+
: <pre>[[x2:{page name}|]]</pre> Example: [[x2:partners|partners]]
 +
 
 +
== Interwiki Link Convention ==
 +
At the end of every interwiki link, there should be a pipe ("|"). This hides the interwiki prefix and makes links look nicer in general.

Revision as of 23:29, 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}]]
Images
mw:Help:Images
Links
mw:Help:Links
InterWiki links
mw:Manual:Interwiki
Formatting
mw:Help:Formatting
Lists
mw:Help:List
Tables
mw:Help:Tables
All help topics
mw:Help:Contents

Extra InterWiki Prefixes

The following shorthand can be used for quickly making inter-site links:

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

Interwiki Link Convention

At the end of every interwiki link, there should be a pipe ("|"). This hides the interwiki prefix and makes links look nicer in general.