Difference between revisions of "Help:Editing"

From Missouri Academy Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
For practice with wiki syntax, try the [[Moacad_wiki:Sandbox|sandbox]].
 
For practice with wiki syntax, try the [[Moacad_wiki:Sandbox|sandbox]].
  
==General Posting Guidelines==
+
==Formatting==
To Create a section use equals signs <nowiki>==Section==</nowiki>
+
===Headers===
Example: all the sections in here
+
To create a header, surround the text with equals signs. There are five levels of headers, denoted by the number of equals signs. For example, the largest headers have two equals signs on each side, while the smallest have six.<br>
 +
This is how you type the headers:<br>
 +
<nowiki>==Header Level 1==</nowiki><br>
 +
<nowiki>===Header Level 2===</nowiki><br>
 +
<nowiki>====Header Level 3====</nowiki><br>
 +
<nowiki>=====Header Level 4=====</nowiki><br>
 +
<nowiki>======Header Level 5======</nowiki><br>
 +
<nowiki>=======Header Level 6=======</nowiki><br>
  
To create sub sections just use three equals signs <nowiki>===Sub Section===</nowiki>
+
===Lists===
Example: ===Sub Section===
+
There are two methods of making lists. You can use HTML if you wish, but MediaWiki makes it more convenient by allowing us to use asterisks to denote list items and their level. Note that in order for MediaWiki to catch asterisks, they have to be the first things on a new line, *no spaces*. This is because it would be a terrible design flaw for every asterisk to be turned into a bullet, and very few text parsers would be able to figure out exactly what you want in every circumstance.<br>
 +
<table style="border-width:1px; padding:3px;padding-top:2px;">
 +
<tr><td>
 +
*List item<br>
 +
**Sub-list item
 +
</td>
 +
<td>&nbsp; &nbsp; ''translates to'' &nbsp; &nbsp;</td>
 +
<td>
 +
*List item
 +
**Sub-list item
 +
</td></tr>
 +
</table>
  
Sections go by the number of equals signs around the name: as there are more equals signs the text gets smaller.
+
===Tabbing===
 +
MediaWiki (to a degree) ignores whitespace, and treats it all like it's one space. One helpful formatting tool is the tabbing ability, which is very much like the lists, but it doesn't use bullets. So the same rules apply, but you use colons (:), rather than asterisks.<br>
 +
Example:
 +
:One colon.
 +
::Two colons.
  
When making lists use the astrict (*) for a bullet, sub sections should be done with two astricts (**) which will tab over that line.
+
===Whitespace===
Example:  
+
Earlier it was mentioned that MediaWiki ignores whitespace. This is not entirely true, but is also not immediately obvious how it handles things. Here are some rules that it follows:
*List item.
+
* Multiple spaces are translated into one space.
**Sub-list item.
+
* One newline is considered no different from a space (presumably for the sake of making the code behind the pages easier to deal with without undue worrying about whitespace).
 
+
* Two newlines signify a new paragraph, and MediaWiki will start the new paragraph on a new line, with a 1.5 line spacing between paragraphs.
You can also tab over directly useing collons (:) each collon used will result in 1 tab. This is helpful when discussing topics because it allows users to show who their responding to.
+
* Colons (and asterisks) may be on adjacent lines, and not be condensed into one. For an example, see the [[#Lists|lists]] section of this page.
Example:
 
:One collon.
 
::Two collons.
 
  
 
==Links==
 
==Links==

Revision as of 07:28, 28 December 2004

For practice with wiki syntax, try the sandbox.

Formatting

Headers

To create a header, surround the text with equals signs. There are five levels of headers, denoted by the number of equals signs. For example, the largest headers have two equals signs on each side, while the smallest have six.
This is how you type the headers:
==Header Level 1==
===Header Level 2===
====Header Level 3====
=====Header Level 4=====
======Header Level 5======
=======Header Level 6=======

Lists

There are two methods of making lists. You can use HTML if you wish, but MediaWiki makes it more convenient by allowing us to use asterisks to denote list items and their level. Note that in order for MediaWiki to catch asterisks, they have to be the first things on a new line, *no spaces*. This is because it would be a terrible design flaw for every asterisk to be turned into a bullet, and very few text parsers would be able to figure out exactly what you want in every circumstance.

*List item
**Sub-list item
    translates to    
  • List item
    • Sub-list item

Tabbing

MediaWiki (to a degree) ignores whitespace, and treats it all like it's one space. One helpful formatting tool is the tabbing ability, which is very much like the lists, but it doesn't use bullets. So the same rules apply, but you use colons (:), rather than asterisks.
Example:

One colon.
Two colons.

Whitespace

Earlier it was mentioned that MediaWiki ignores whitespace. This is not entirely true, but is also not immediately obvious how it handles things. Here are some rules that it follows:

  • Multiple spaces are translated into one space.
  • One newline is considered no different from a space (presumably for the sake of making the code behind the pages easier to deal with without undue worrying about whitespace).
  • Two newlines signify a new paragraph, and MediaWiki will start the new paragraph on a new line, with a 1.5 line spacing between paragraphs.
  • Colons (and asterisks) may be on adjacent lines, and not be condensed into one. For an example, see the lists section of this page.

Links

Internal links: Use brackets [[link_here]] This will link to the "link_here" article on the moacad wiki Example: link_here

To specify a different name put a pipe '|' after the topic and before what the link should say [[link_here|Link here]] Example: Link Here

External links: Use single brackets [http://google.com] or no brackets, but to specify a title just use a space instead of a pipe. Example:

No-brackets: http://google.com
Just brackets: [1]
Brackes and title: Google is Cool

Discussions

use four tildes (~~~~) to post a timestamp. Example: Andy 20:12, 24 Dec 2004 (EST)

three tildes will just post your linked name without a time stamp --Chrax

five tildes will put just the time 21:16, 24 Dec 2004 (EST)