© 2015 X2Engine Inc.
Difference between revisions of "Wiki Usage:For contributors"
From X2Engine
X2WikiAdmin (talk | contribs) (→Extra InterWiki Prefixes) |
|||
Line 12: | Line 12: | ||
;Links | ;Links | ||
: [[mw:Help:Links]] | : [[mw:Help:Links]] | ||
− | |||
− | |||
;Formatting | ;Formatting | ||
: [[mw:Help:Formatting]] | : [[mw:Help:Formatting]] | ||
Line 22: | Line 20: | ||
;All help topics | ;All help topics | ||
: [[mw:Help:Contents]] | : [[mw:Help:Contents]] | ||
+ | |||
+ | == Interwiki Links == | ||
+ | Relevant page: [[mw:Manual:Interwiki|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: | ||
+ | <pre>[[{prefix}:{page}|]]</pre> | ||
+ | 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 == | == Extra InterWiki Prefixes == | ||
− | + | Prefixes have been added for common locations throughout this wiki; | |
;Class documentation in the X2Engine class reference | ;Class documentation in the X2Engine class reference | ||
: <pre>[[x2doc:{class name}|]]</pre> Example: [[x2doc:Contacts|Contacts]] | : <pre>[[x2doc:{class name}|]]</pre> Example: [[x2doc:Contacts|Contacts]] | ||
Line 31: | Line 34: | ||
;Pages on x2engine.com | ;Pages on x2engine.com | ||
: <pre>[[x2:{page name}|]]</pre> Example: [[x2:partners|partners]] | : <pre>[[x2:{page name}|]]</pre> Example: [[x2:partners|partners]] | ||
− | |||
− | |||
− |
Revision as of 23:39, 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
- Formatting
- mw:Help:Formatting
- Lists
- mw:Help:List
- Tables
- mw:Help:Tables
- All help topics
- mw:Help:Contents
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