Personal tools
Class Notes

Difference between revisions of "Help:Editing"

From Our Story

(Formatting)
Line 1: Line 1:
 
 
== Edit a page ==
 
== Edit a page ==
  
Line 17: Line 16:
  
 
You can learn more about formatting in a wiki at: http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_Page_Help/Do-It-Yourself/Formatting_Text
 
You can learn more about formatting in a wiki at: http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_Page_Help/Do-It-Yourself/Formatting_Text
 +
  
 
== Preview ==
 
== Preview ==
  
 
It's a good idea to use the 'Show preview' button to see what your change will look like, before you save it. This is also related to tracking changes because every time you save, this is displayed to others as a separate change. This isn't something to worry about too much, but it's good to get into the habit of eliminating mistakes in your own work, by using a preview before saving, rather than saving several minor corrections afterwards.
 
It's a good idea to use the 'Show preview' button to see what your change will look like, before you save it. This is also related to tracking changes because every time you save, this is displayed to others as a separate change. This isn't something to worry about too much, but it's good to get into the habit of eliminating mistakes in your own work, by using a preview before saving, rather than saving several minor corrections afterwards.
 +
  
 
== Text formatting in a wiki ==
 
== Text formatting in a wiki ==
  
{| align="center" {{Prettytable}}
+
{| align="center" cellspacing="5" style="background-color:#ccc;"
|-
+
!'''Description'''
|{{Hl2}} |'''Description'''
+
!'''You type'''
|{{Hl2}} |'''You type'''
+
!'''You get'''
|{{Hl2}} |'''You get'''
 
 
|-
 
|-
 
| colspan="3" align="center" | ''applies anywhere''
 
| colspan="3" align="center" | ''applies anywhere''
Line 184: Line 184:
 
<!--This is comment-->|}
 
<!--This is comment-->|}
  
How to link
 
  
{| {{Prettytable}}
+
== How to link ==
 +
 
 +
{| align="center" cellspacing="5" style="background-color:#ccc;"
 
|-
 
|-
|{{Hl3}}|'''Description'''
+
!'''Description'''
|{{Hl3}}|'''You type'''
+
!'''You type'''
|{{Hl3}}|'''You get'''
+
!'''You get'''
 
|-
 
|-
 
|Internal link
 
|Internal link

Revision as of 00:13, January 16, 2009

Edit a page

You must be a registered user and logged in to edit pages in Our Story.

To edit a page, click on the "Edit" link in the top right corner of a page, or on an individual section of a page. A page may be protected, meaning not everyone can edit that page.

Formatting

When formatting a page, you can use the tools at the top of the edit box.

You can also format your text using "wiki markup." This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two single quotes like this See the table below for wiki formatting characters.

Our Story ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a new line with the HTML tags <br> or <br/>.

Some HTML tags are allowed, for example <code>, <div>, <span> and <font>.

You can learn more about formatting in a wiki at: http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_Page_Help/Do-It-Yourself/Formatting_Text


Preview

It's a good idea to use the 'Show preview' button to see what your change will look like, before you save it. This is also related to tracking changes because every time you save, this is displayed to others as a separate change. This isn't something to worry about too much, but it's good to get into the habit of eliminating mistakes in your own work, by using a preview before saving, rather than saving several minor corrections afterwards.


Text formatting in a wiki

Description You type You get
applies anywhere
Italic text ''italic'' italic
Bold text '''bold''' bold
Bold and italic '''''bold & italic''''' bold & italic
Escape wiki markup <nowiki>no "markup"</nowiki> no ''markup''
Fixed width text

<tt>Fixed width text</tt>

Fixed width text

only at the beginning of the line
Indent text

:Single indent
::Double indent
:::::Multiple indent

Single indent
Double indent
Multiple indent
Headings of

different levels <ref>An article with four or more headings will automatically create a table of contents.</ref>

=level 1=<ref>Use of a level 1 heading is highly discouraged as it appears with the same formatting and size as the page title, which can be confusing.</ref>
==level 2==
===level 3===
====level 4====
=====level 5=====
======level 6======

Level 1

Level 2

Level 3
Level 4
Level 5
Level 6

Horizontal rule

----


Bullet list

* one
* two
* three
** three point one
** three point two

  • one
  • two
  • three
    • three point one
    • three point two
Numbered list

# one
# two<br />spanning several lines<br />without breaking the numbering
# three
## three point one
## three point two

  1. one
  2. two
    spanning several lines
    without breaking the numbering
  3. three
    1. three point one
    2. three point two
Mixture of bulleted
and numbered lists

# one
# two
#* two point one
#* two point two

  1. one
  2. two
    • two point one
    • two point two
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2
Preformatted text

  preformatted text is done with
  a space at the
  beginning of the line

preformatted text is done with
a space at the 
beginning of the line
Preformatted text with no indentation

 <pre> some preformatted text with no indentation </pre>

some preformatted
text with no indentation
Blockquotes

Body
text text text text text text text text text text text text text text text text text text text text text text text text

<blockquote> quote quote quote quote quote quote </blockquote>

text text text text text text text text text text text text

Body
text text text text text text text text text text text text text text text text text text text text text text text text

quote quote quote quote quote quote

text text text text text text text text text text text text

Comment

<!--This is comment-->


How to link

Description You type You get
Internal link [[Main Page]] Main Page
Piped link [[Main Page|different text]] different text
External link http://mediawiki.org http://mediawiki.org
External link,

different title

[http://mediawiki.org MediaWiki] MediaWiki
External link,

numbered

[http://mediawiki.org] [1]
Anchor link [[#See also]] #See also
Anchor link at another page [[Help:Images#See also]] Help:Images#See also
Category link [[:Category:Help]] Category:Help
Internal link to image file [[media:example.jpg]] media:example.jpg
Internal link to pdf file [[media:example.pdf]] media:example.pdf
Interwiki link [[Wikipedia:MediaWiki]] Wikipedia:MediaWiki
mailto link [mailto:info@example.org email me] email me
redirect #REDIRECT [[Main Page]] Main Page
External link to video file (.avi, .mpg) [http://en.wikipedia.org/wiki/.avi .avi] .avi
External link to sound file (.mp3, .ogg, .wav) [http://en.wikipedia.org/wiki/.wav .wav] .wav
External link to a document (.doc, .pdf) [http://en.wikipedia.org/wiki/.doc .doc] .doc

By default, when you write a link (URL) as is, it will be transformed to an external link.


Images

Before you place an image on a page, you must upload the file. "Upload file" is usually an option in the Toolbox in the right sidebar.

You may use the "Embedded image" button at the top of the edit box to place an image, or other file such as sound or video.

If you want to include an image, the wiki formatting is: [[Image:{name}|{options}]] Where options can be zero or more of the following, separated by pipes:

  • thumb, thumbnail, frame, or frameless: Controls how the image is formatted
  • left, right, center, none: Controls the alignment of the image on the page
  • baseline, sub, super, top, text-top, middle, bottom, text-bottom: Controls the vertical alignment of the image on the page
  • {width}px: Resizes the image to the given width in pixels
  • Special cases:
    • page=1: Displays the specified page when showing a djvu file
  • link={destination}: Allows to link to an arbitrary title, URL or just nowhere (1.14+)
  • alt={alternative text}: For changing the alternative text (alt="") of an image (1.14+)

The options can be given in any order. If a given option does not match any of the other possibilities, it is assumed to be the caption text. Caption text can contain wiki links or other formatting.

For more image formatting options, visit: http://www.mediawiki.org/wiki/Help:Images


Tables

Tables may be authored in wiki pages using either HTML table elements directly, or using wikicode formatting to define the table. HTML table elements and their use are well described on various web pages and will not be discussed here. The benefit of wikicode is that the table is constructed of character symbols which tend to make it easier to perceive the table structure in the article editing view compared to HTML table elements.

As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.

To learn more: http://www.mediawiki.org/wiki/Help:Tables

Our Story site map

Our Story main page | Our Story categories | Help Desk
Contact | Give | Advertise
Washington State Magazine | Washington State University | Class Notes

Our Story is coordinated by

In partnership with

Our Story and Washington State Magazine are publications of Washington State University. All rights reserved.
P.O. Box 641227, Washington State University, Pullman, WA 99164-1227 USA | wsm@wsu.edu, 509-335-2388
Accessibility | Copyright | Policies