Difference between revisions of "Help:Editing"

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 2.7. Up-to-date documentation for the latest stable version of Moodle may be available here: Editing.

(External links: HTML to MediaWiki converter)
(Formatting)
Line 9: Line 9:
 
Before saving the page, it's considered good practice to enter a very brief summary of your changes in the summary box below the edit-box.
 
Before saving the page, it's considered good practice to enter a very brief summary of your changes in the summary box below the edit-box.
  
== Formatting ==
+
This is Mr. Browns World History/Geography Web page
 
 
Most '''formatting''' is usually done with Wiki markup - you don't have to learn HTML!
 
 
 
=== Bold and italics ===
 
'''Bolding''' and ''italicizing'' is done by surrounding a word or phrase with multiple apostrophes (<tt>'</tt>):
 
 
 
:<code><nowiki>''italics''</nowiki></code> appears as ''italics''. (2 apostrophes on both sides)
 
:<code><nowiki>'''bold'''</nowiki></code> appears as '''bold'''. (3 apostrophes on both sides)
 
:<code><nowiki>'''''bolded italics'''''</nowiki></code> appears as '''''bolded italics'''''.  (5 apostrophes on both sides)
 
 
 
=== Headings and subheadings ===
 
Headings and subheadings are an easy way to improve the organization of an article.
 
 
 
Headings can be created like this:
 
:<code><nowiki>==Top level heading==</nowiki></code> (2 equals signs)
 
:<code><nowiki>===Subheading===</nowiki></code> (3 equals signs)
 
:<code><nowiki>====Another level down====</nowiki></code> (4 equals signs)
 
 
 
If an article has at least four headings, a table of contents will automatically be generated.
 
 
 
=== Indentations ===
 
The simplest way of indenting is to place a colon (<code>:</code>) at the beginning of a line. The more colons you put, the further indented the text will be. A newline marks the end of the indented paragraph e.g.
 
:<code>This is aligned all the way to the left.</code>
 
:<code><nowiki>:</nowiki>This is indented slightly.</code>
 
:<code><nowiki>::</nowiki>This is indented more.</code>
 
is shown as
 
:This is aligned all the way to the left.
 
::This is indented slightly.
 
:::This is indented more.
 
 
 
=== Lists ===
 
{| border="1" cellpadding="2" cellspacing="0"
 
|-
 
!What it looks like
 
!What you type
 
|-
 
|
 
* ''Unordered lists'' are easy to do:
 
** start every line with a star
 
*** more stars means deeper levels
 
*A newline
 
*in a list 
 
marks the end of the list.
 
 
 
|<pre><nowiki>* Unordered Lists are easy to do:
 
** start every line with a star
 
*** more stars means deeper levels
 
*A newline
 
*in a list 
 
marks the end of the list.
 
</nowiki></pre>
 
|-
 
|
 
# Numbered lists are also good
 
## very organized
 
## easy to follow
 
#A newline
 
#in a list 
 
marks the end of the list.
 
|<pre><nowiki># Numbered lists are also good
 
## very organized
 
## easy to follow
 
#A newline
 
#in a list 
 
marks the end of the list.
 
</nowiki></pre>
 
|}
 
 
 
=== Preserving formatting ===
 
 
 
{| border="1" cellpadding="2" cellspacing="0"
 
|-
 
!What it looks like
 
!What you type
 
|-
 
|
 
Leading spaces are another way to preserve formatting.
 
 
 
Putting a space at the beginning of each line
 
stops the text from being reformatted.
 
|<pre><nowiki>
 
Leading spaces are another way to preserve formatting.
 
 
 
Putting a space at the beginning of each line
 
stops the text from being reformatted.
 
</nowiki></pre>
 
|}
 
  
 
== Links ==
 
== Links ==

Revision as of 04:21, 18 February 2006

Editing

Every wiki page has an "edit" tab at the top plus edit links at the side. These links lets you do exactly what they say i.e. edit the page you're looking at. Please try it in the sandbox!

Show preview

This lets you see what the page will look like after your edit, before you actually save. We all make mistakes; this feature lets you catch them immediately. Using Show preview before saving also lets you try format changes and other edits without cluttering up the page history, and has a number of other advantages. Don't forget to save your edits after previewing, though!

Edit summary

Before saving the page, it's considered good practice to enter a very brief summary of your changes in the summary box below the edit-box.

This is Mr. Browns World History/Geography Web page

Links

Wiki links

To make a wiki link, simply put the word in double square brackets, like this:
[[Sandbox]]

If you want to use words other than the article title as the text of the link, you can do so by adding the pipe "|" divider (SHIFT + BACKSLASH on English-layout and other keyboards) followed by the alternative name.

For example, if you wanted to make a link to the sandbox, but wanted it to say "my text" you would write it as:
[[sandbox|my text]]...
It would appear as: my text... but would link to the sandbox.

External links

The easiest way to make an external link is to simply type in the full URL for the page you want to link to e.g. http://www.google.com.

To make the link display something other than the URL, use one square bracket at each end. If you want to make a link to Google, type
[http://www.google.com/]

This will display the link as a number in brackets, like this: [1].

If you want the link to appear with text that you specify, add an alternative title after the address separated by a space (not a pipe). So if you want the link to appear as Google search engine, just type
[http://www.google.com Google search engine]
.

Categories

To put a page in a category, just type
[[Category:]]
, and put the name of the category between the colon and the brackets.

External links