(→How to link) |
|||
Line 266: | Line 266: | ||
You can read more about links here: http://www.mediawiki.org/wiki/Help:Links | You can read more about links here: http://www.mediawiki.org/wiki/Help:Links | ||
− | == Images == | + | == Images == |
− | Before you place an image on a page, you must | + | Before you place an image on a page, you must first put the photo or image on Our Story, by [[Help:Managing files|uploading the file]]. "Upload file" is usually an option in the Toolbox in the right sidebar. (You can also upload more than one photo at a time, through the [[Special:MultipleUpload|Multiple Upload page]].) |
− | You | + | You can use the "Image" button at the top of the edit box to place an image, or other file such as sound or video. In the image menu, you can search for your image, resize it, add a caption, and choose alignment on the page. |
− | + | For example, if you want to put a photo of the [[:Image:Apple Cup 1939 KenWise.jpg|1939 Apple Cup]] on your page, you would click on your story where you want the photo. Then, click the "Image" button on your editing toolbar (looks like a square with a mountain on a yellow background, similar to Microsoft Word). Search for the photo by typing in the first few letters ("apple"). Some choices will appear. You can then write a caption, resize, or put a frame or border around your photo through the "Special Type" menu. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | NOTE: If you want to resize your photo, choose "Thumb" or "Border" in the "Special Type" menu. If you choose "Frame," the photo will not be resized. | |
− | + | When editing a story, you can right-click your image to change "Image Properties." | |
+ | If you would like to browse available images, you can go to these pages: | ||
+ | |||
+ | *[[Special:Newimages|Gallery of new images]] - If you just uploaded one, you will see it here. | ||
+ | *[[Special:Imagelist|All images]] - Shows all of the image files uploaded to Our Story. | ||
+ | |||
+ | You can also find images of WSU at these websites: | ||
+ | |||
+ | *[http://www.wsulibs.wsu.edu/holland/masc/masc.htm WSU Libraries, Manuscripts, Archives, and Special Collections] - A partner in the development of Our Story. | ||
+ | *[http://photos.wsu.edu/ WSU Photos Online] | ||
+ | |||
+ | '''Images, the wiki markup way''' | ||
+ | |||
+ | If you want to include an image by directly coding in the wiki language, the wiki formatting is: <code><nowiki>[[Image:{name}|{options}]]</nowiki></code> Where options can be zero or more of the following, separated by pipes: | ||
+ | |||
+ | *<code>thumb</code>, <code>thumbnail</code>, <code>frame</code>, or <code>frameless</code>: Controls how the image is formatted | ||
+ | *<code>left</code>, <code>right</code>, <code>center</code>, <code>none</code>: Controls the alignment of the image on the page | ||
+ | *<code>baseline</code>, <code>sub</code>, <code>super</code>, <code>top</code>, <code>text-top</code>, <code>middle</code>, <code>bottom</code>, <code>text-bottom</code>: Controls the vertical alignment of the image on the page | ||
+ | *<code>{width}px</code>: Resizes the image to the given width in pixels | ||
+ | *Special cases: | ||
+ | **<code>page=1</code>: Displays the specified page when showing a djvu file | ||
+ | *<code>link={destination}</code>: Allows to link to an arbitrary title, URL or just nowhere ([[Rev:41727|1.14+]]) | ||
+ | *<code>alt={alternative text}</code>: For changing the alternative text (<code>alt=""</code>) of an image ([[Rev:41837|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 and how to create a gallery of images on your page, visit: http://www.mediawiki.org/wiki/Help:Images | ||
== Tables == | == Tables == |
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.
You can read more about links here: http://www.mediawiki.org/wiki/Help:Links
Before you place an image on a page, you must first put the photo or image on Our Story, by uploading the file. "Upload file" is usually an option in the Toolbox in the right sidebar. (You can also upload more than one photo at a time, through the Multiple Upload page.)
You can use the "Image" button at the top of the edit box to place an image, or other file such as sound or video. In the image menu, you can search for your image, resize it, add a caption, and choose alignment on the page.
For example, if you want to put a photo of the 1939 Apple Cup on your page, you would click on your story where you want the photo. Then, click the "Image" button on your editing toolbar (looks like a square with a mountain on a yellow background, similar to Microsoft Word). Search for the photo by typing in the first few letters ("apple"). Some choices will appear. You can then write a caption, resize, or put a frame or border around your photo through the "Special Type" menu.
NOTE: If you want to resize your photo, choose "Thumb" or "Border" in the "Special Type" menu. If you choose "Frame," the photo will not be resized.
When editing a story, you can right-click your image to change "Image Properties."
If you would like to browse available images, you can go to these pages:
You can also find images of WSU at these websites:
Images, the wiki markup way
If you want to include an image by directly coding in the wiki language, 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 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 and how to create a gallery of images on your page, 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