(→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" | + | {| align="center" cellspacing="5" style="background-color:#ccc;" |
− | + | !'''Description''' | |
− | + | !'''You type''' | |
− | + | !'''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 == |
+ | |||
+ | {| align="center" cellspacing="5" style="background-color:#ccc;" | ||
|- | |- | ||
− | + | !'''Description''' | |
− | + | !'''You type''' | |
− | + | !'''You get''' | |
|- | |- | ||
|Internal link | |Internal link |
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.
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
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.
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 |
|
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 1 |
Horizontal rule |
---- |
|
Bullet list |
* one |
|
Numbered list |
# one |
|
Mixture of bulleted and numbered lists |
# one |
|
Definition list |
;Definition |
|
Preformatted text |
preformatted text is done with |
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 <blockquote> quote quote quote quote quote quote </blockquote> text text text text text text text text text text text text |
Body quote quote quote quote quote quote text text text text text text text text text text text text |
Comment |
<!--This is comment--> |
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.
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 formattedleft
, right
, center
, none
: Controls the alignment of the image on the pagebaseline
, 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 pixelspage=1
: Displays the specified page when showing a djvu filelink={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 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