Difference between revisions of "Wiki Editing CheatSheet"
Mark Bridger (talk | contribs) (→Links to External Pages) |
Mark Bridger (talk | contribs) |
||
Line 9: | Line 9: | ||
* Put your page under one or more [[Wiki_Editing_CheatSheet#Categories|Categories]]. | * Put your page under one or more [[Wiki_Editing_CheatSheet#Categories|Categories]]. | ||
+ | More help can be found [https://www.mediawiki.org/wiki/Help:Contents mediawiki.org for more help] | ||
Line 25: | Line 26: | ||
==='''Bold Text'''=== | ==='''Bold Text'''=== | ||
+ | '''Bold Text''' | ||
− | |||
<pre>'''Bold Text'''</pre> | <pre>'''Bold Text'''</pre> | ||
===''Italicized Text''=== | ===''Italicized Text''=== | ||
+ | ''Italicized Text'' | ||
− | |||
<pre>''Italicized Text''</pre> | <pre>''Italicized Text''</pre> | ||
===Adding<sup>Superscript</sup>=== | ===Adding<sup>Superscript</sup>=== | ||
+ | text<sup>superscript</sup> | ||
− | |||
<pre>Text<sup>superscript</sup></pre> | <pre>Text<sup>superscript</sup></pre> | ||
===Adding<sub>Subscript</sub>=== | ===Adding<sub>Subscript</sub>=== | ||
+ | Text<sub>subscript</sub> | ||
− | |||
<pre>Text<sub>subscript</sub></pre> | <pre>Text<sub>subscript</sub></pre> | ||
===#Numbered...=== | ===#Numbered...=== | ||
− | |||
# Item | # Item | ||
# Item | # Item | ||
Line 62: | Line 62: | ||
==Heading Levels== | ==Heading Levels== | ||
− | |||
Level 1 is for page name. | Level 1 is for page name. | ||
− | <pre> | + | <pre>==level 2== |
− | ==level 2== | ||
===Level 3=== | ===Level 3=== | ||
====Level 4==== | ====Level 4==== | ||
Line 77: | Line 75: | ||
To change this behavior, at the top of the page, add: | To change this behavior, at the top of the page, add: | ||
− | <pre> | + | <pre>__NOTOC__ Hides the table of contents (TOC). |
− | __NOTOC__ Hides the table of contents (TOC). | ||
__FORCETOC__ Forces the table of contents to appear at its normal position (before the first header). | __FORCETOC__ Forces the table of contents to appear at its normal position (before the first header). | ||
__TOC__ Places a table of contents at the word's current position (overriding <nowiki>__NOTOC__). | __TOC__ Places a table of contents at the word's current position (overriding <nowiki>__NOTOC__). | ||
− | </pre> | + | </nowiki></pre> |
==Hyperlinks== | ==Hyperlinks== |
Revision as of 13:00, 5 July 2019
This page is intended to assist editors of the SmartSimple Wiki please refer to this page before you make revisions and additions.
Follow these practices for building your Wiki page:
- Make it brief.
- Add hyperlinks to other pages where SmartSimple's terminology is used.
- Add an image of the subject(s) of the article.
- Add a "See Also" section with related articles that may or may not have been mentioned in the text.
- Put your page under one or more Categories.
More help can be found mediawiki.org for more help
Contents
Text Formatting
Bullets
Create bullets like an unordered-list
- Bullet 1
- Bullet 2
* Bullet 1 * Bullet 2
Bold Text
Bold Text
'''Bold Text'''
Italicized Text
Italicized Text
''Italicized Text''
AddingSuperscript
textsuperscript
Text<sup>superscript</sup>
AddingSubscript
Textsubscript
Text<sub>subscript</sub>
#Numbered...
- Item
- Item
- Item
- Item
# Item # Item # Item # Item
Preformatted text
You can have HTML or WIKI syntax appear the way you typed it by wrapping the code with an opening < and pre and > then a closing < / pre and > tag. This is used for examples of what to type into the wiki.
your code goes here
Heading Levels
Level 1 is for page name.
==level 2== ===Level 3=== ====Level 4==== =====Level 5===== ======Level 6======
Tables of Contents
MediaWiki adds a table of contents at the top of the page when you have four or more headers.
To change this behavior, at the top of the page, add:
__NOTOC__ Hides the table of contents (TOC). __FORCETOC__ Forces the table of contents to appear at its normal position (before the first header). __TOC__ Places a table of contents at the word's current position (overriding __NOTOC__).
Hyperlinks
Links to Internal Pages
Link to internal page
[[Branding]]
Link to internal page with different text
[[Branding|Different text]]
Links to External Pages
Add a link to an external webpage
[https://www.smartsimple.com smartsimple.com]
Note:
- You must specify text for the link or it will show up as a number.
- All external links open in a new window.
Image Files
- Under the toolbox, click Upload file.
- Upload the image.
- On the page you wish to display the image: enter this format:
[[File:imgname.png|thumb|none|500px|Caption for under the image]]
Image linked to external link
[[File:Who-is-using-btn.png|330px|link=http://www.smartsimple.com/collaborators-online.html]]
Image linked to internal link
[[File:thumbnail-blue-white.jpg|400px|link=Blue and White]]
For more info, go to MediaWiki Help: Images
Tables
Syntax
¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶<code>
</code>¶¶¶
{| | table start |
|+ | table caption, optional; only between table start and first table row |
|- | table row, optional on first row -- wiki engine assumes the first row |
! | table header cell, optional. Consecutive table header cells may be added on same line separated by double marks (!! ) or start on new lines, each with its own single mark (! ).
|
| | table data cell, required! Consecutive table data cells may be added on same line separated by double marks ( |
) or start on new lines, each with its own single mark (> ).
| |
|} | table end |
Example
This
{| class="wikitable" |- !|Sample Header !|Sample Header |- ||Sample Text ||Sample Text |- ||Sample Text ||Sample Text |- |}
Creates
Sample Header | Sample Header |
---|---|
Sample Text | Sample Text |
Sample Text | Sample Text |
Categories
Adding a Category to a Page
[[Category:Help]]
Adding a Category to a Page with a Different Label
[[Category:Help|Help category]]
Adding a Link to a Category Page
[[:Category:Help|Help category]]
For more info, go to MediaWiki Help: Categories
Templates
Pages that start with the phrase "Template:" can be used in a similar fashion to SmartSimple's System Variables. They can contain blocks of text, such as commonly used terms, Wiki tables and uploaded images. You should use templates if a term, table or image will be repeated across multiple pages. The template can be referenced by surrounding the template name (minus the leading "Template:" string) with {{double brackets}}.
Example Templates
- {{UTA}} - returns
- {{GUA}} - returns Global User Administrator
- {{LUA}} - returns Local User Administrator
- {{XML}} - returns XML custom field
- {{ROSV}} - returns Read Only – System Variables
- {{WPV}} - returns Web Page View
- {{l1}} - returns Level 1
- {{l2}} - returns Level 2
- {{CopyIcon}} - returns
How to Add a User to Wiki:
- On left panel, click on Special pages
- Under Login / create account, click on Create account
- Fill in details and send random password
- On left panel, click on Special pages again
- Under Users and rights, click on User rights management
- Type in username, click on Edit user groups
- Add administrator, bureaucrat and smartstaff groups, click on Save user groups