Difference between revisions of "How to write an article"

From Shave Library
Jump to: navigation, search
m (Adding an Image Gallery)
(categorization)
Line 1: Line 1:
 
  To see mediawiki's help article on creating a new page, [http://www.mediawiki.org/wiki/Help:Starting_a_new_page click here].
 
  To see mediawiki's help article on creating a new page, [http://www.mediawiki.org/wiki/Help:Starting_a_new_page click here].
  
== Log In ==
+
== The Basics ==
 +
 
 +
=== Log In ===
 
To create a new wiki page, you must first [http://www.straightrazorplace.com/srpwiki/index.php?title=Special:UserLogin&returnto=Special:UserLogout log in] to the wiki using your SRP username and password.
 
To create a new wiki page, you must first [http://www.straightrazorplace.com/srpwiki/index.php?title=Special:UserLogin&returnto=Special:UserLogout log in] to the wiki using your SRP username and password.
== Create a Title ==
+
=== Create a Title ===
 
Once you are logged in, type this into the browser address bar: <font color=Blue>www.straightrazorplace.com/srpwiki/index.php/New Wiki Page Title</font> where "New Wiki Page Title" is the title you'd like to use.  Then press enter and you will be shown the message "There is currently no text in this page, you can search for this page title in other pages or edit this page."
 
Once you are logged in, type this into the browser address bar: <font color=Blue>www.straightrazorplace.com/srpwiki/index.php/New Wiki Page Title</font> where "New Wiki Page Title" is the title you'd like to use.  Then press enter and you will be shown the message "There is currently no text in this page, you can search for this page title in other pages or edit this page."
  
 
Near the top of the page, you will see the following option tabs: Page, Discussion, Create, Watch.  Click the "Create" tab, and you will be taken to an edit page where you can write your new page text
 
Near the top of the page, you will see the following option tabs: Page, Discussion, Create, Watch.  Click the "Create" tab, and you will be taken to an edit page where you can write your new page text
== Preview the Page==
+
=== Preview the Page===
 
At the bottom of the page you're creating will be the options: Save page, Preview, Changes.  Click "Preview" to see how your new article will look like once it is saved.  If you see anything you need to edit before you save the page to the Wiki, scroll down below the preview and make your changes in the editing area.
 
At the bottom of the page you're creating will be the options: Save page, Preview, Changes.  Click "Preview" to see how your new article will look like once it is saved.  If you see anything you need to edit before you save the page to the Wiki, scroll down below the preview and make your changes in the editing area.
  
 
Repeat as often as necessary until you are satisfied with your page.
 
Repeat as often as necessary until you are satisfied with your page.
== Save it to the Wiki ==
+
=== Save it to the Wiki ===
 
Click on "Save page"
 
Click on "Save page"
  

Revision as of 18:23, 10 November 2008

To see mediawiki's help article on creating a new page, click here.

The Basics

Log In

To create a new wiki page, you must first log in to the wiki using your SRP username and password.

Create a Title

Once you are logged in, type this into the browser address bar: www.straightrazorplace.com/srpwiki/index.php/New Wiki Page Title where "New Wiki Page Title" is the title you'd like to use. Then press enter and you will be shown the message "There is currently no text in this page, you can search for this page title in other pages or edit this page."

Near the top of the page, you will see the following option tabs: Page, Discussion, Create, Watch. Click the "Create" tab, and you will be taken to an edit page where you can write your new page text

Preview the Page

At the bottom of the page you're creating will be the options: Save page, Preview, Changes. Click "Preview" to see how your new article will look like once it is saved. If you see anything you need to edit before you save the page to the Wiki, scroll down below the preview and make your changes in the editing area.

Repeat as often as necessary until you are satisfied with your page.

Save it to the Wiki

Click on "Save page"

That's it! If you want to insert your own file into your new page, upload it to the wiki first and then insert into your page using whatever wiki commands are appropriate.

Advanced Topics

Adding an Image Gallery

Especially when writing a Tutorial, adding images will be useful. You will need to do 2 things:

  1. Upload the images to the Wiki using the Upload page. Remember the name of the image, because you will need it in the next step.
  2. Use code like the following to create the gallery:
<gallery caption="The beginning, the razor looks good from this angle..." widths="350px" heights="300px" perrow="2">
Image:Illustrated_Guide_to_Fixing_Warped_Scales_-_002.jpg | Image 1
Image:Illustrated_Guide_to_Fixing_Warped_Scales_-_004.jpg | Image 2
Image:Illustrated_Guide_to_Fixing_Warped_Scales_-_005.jpg | Image 3
Image:Illustrated_Guide_to_Fixing_Warped_Scales_-_018.jpg | Image 4
</gallery>

The above code and its components is explained in more detail in the Mediawiki documentation.

<gallery> 
Gives you the framework you need for the gallery.
caption 
Will let you enter a text that goes above the entire gallery.
widths 
Maximum width of images.
heights 
Maximum height of images.
perrow 
How many images will go into one row of the gallery. The image dimensions above with 2 images per row yield a good result without forcing the user to actually click on the images to enlarge them.
Image:... | Image... 
The actual images, whose names you will get once you have uploaded your image. The text after the pipe symbol (|) will be the image caption.