Difference between revisions of "User's manual"

From forestDSS
Jump to: navigation, search
(Tables)
Line 12: Line 12:
  
 
'''VERY IMPORTANT NOTE: This is a basic wiki text manual. For entering Decision Support basic information It is highly recommended that the [[DSS Template| template provided]] is used, filling the appropriate sections as needed. An example of use can be found[[Example DSS | here]].'''
 
'''VERY IMPORTANT NOTE: This is a basic wiki text manual. For entering Decision Support basic information It is highly recommended that the [[DSS Template| template provided]] is used, filling the appropriate sections as needed. An example of use can be found[[Example DSS | here]].'''
 
==Basic text editing==
 
 
Any article in the wiki can be edited just by clicking the "Edit" tab in the top of the article. Doing so will provide with a very simple interface for editing text. Some basic functionalities are present with some predefined buttons for various types of editing. What follows is a basic description of the most important editing options available with examples for its application
 
 
Paragraphs are identified with  blank lines between them. If a blank line is not present text will continue after the initial paragraph
 
 
 
 
These are the basic formatting options for writing in '''bold''' or ''italic''
 
<pre>
 
''this text should appear in italic''
 
'''This text should appear in bold'''
 
 
'''''This is bold and italic'''''
 
</pre>
 
 
This results in
 
 
''this text should appear in italic''
 
'''This text should appear in bold'''
 
 
'''''This is bold and italic'''''
 
 
==Create a new page==
 
There are 2 basic ways:
 
 
#Search for the new page in the search box (in the left of the page) – if the term does not exist it will allow the creation of this page, by pressing the link "You can create this page"
 
#When editing a page, inserting a link to a specific definition (see [[#Editing_a_page | below]]), even if the page does not exist, it will allow the creation of this new page by following the link.
 
 
=== Using the template ===
 
 
There are several ways of using the [[DSS_Template | template]]. Two simple alternatives are:
 
 
'''Alternative A'''
 
 
#Go to the [[DSS_Template | template page]] and click on "edit" on the top of the page
 
#Select and copy all the wiki text
 
#Create a new page as described above
 
#When starting editing the new page, paste the template to the edit box and start filling the blanks and removing the unnecessary or unavailable parts
 
 
'''Alternative B'''
 
 
#For easy reference, make a printout of the [[DSS_Template | template page]]. It is not necessary to print, to have the template present in another desktop window or browser tab may be sufficient.
 
#Create a new page as described above and start editing
 
#Start adding the required points to the wiki text form according to the System being described
 
 
 
After editing the page, categories can be added, as described [[#Categories | below]]
 
 
==Editing a page==
 
 
These are some of the more common formatting issues
 
 
===Section headings===
 
 
To define a heading for a section just use the "=" sign to specify the heading level
 
 
<pre>
 
= Heading 1 =  (best not to use it)
 
== Heading 2 ==
 
=== Heading 3 ===
 
...
 
</pre>
 
 
===Bullets and numbered lists===
 
 
The basic syntax involves the use of "*" and "#". Example:
 
 
<pre>
 
*  a bulleted item
 
** a bulleted item in another level
 
# an item in a numbered list
 
## an item in a numbered list in level 2
 
</pre>
 
 
will appear as
 
 
*  a bulleted item
 
** a bulleted item in another level
 
# an item in a numbered list
 
## an item in a numbered list in level 2
 
 
===Tables===
 
Each table begins with "{|" and ends with "|}" in separate lines. Columns are separated with "||" and  a new row starts with "|-" in a new line. Table headings start with “!” for the first column or "!!" for the remaining columns . To add a border, the first line should be "{| border ="1" ". Formatting individual rows can be done by defining the style after the "|-" sign. Here's a simple example:
 
<pre>
 
{| border ="1"
 
!Letter !! Number
 
|- align="center"
 
|Aleph ||  1
 
|- align="center"
 
|Beth ||  2
 
|}
 
</pre>
 
 
For which the outcome is:
 
 
{| border ="1"
 
!Letter !! Number
 
|- align="center"
 
|Aleph ||  1
 
|-align="center"
 
|Beth ||  2
 
|}
 
 
==Links==
 
 
===Internal links===
 
 
Links to the internal wiki can be specified by enveloping the relevant words with <nowiki>"[[" and "]]"</nowiki>. If an alternate text is to be presented it appears separated by a <nowiki>"|"</nowiki>. Example:
 
 
<pre>The [[fast | quick]] brown [[fox]] jumps over the lazy [[dog]]s</pre>
 
 
which produces:
 
 
The [[fast | quick]] brown [[fox]] jumps over the lazy [[dog]]s
 
 
===Outer links===
 
 
Outer links are links to outside pages. Just typing the full ''http link'' is enough for automatically create an outside link. If alternate text is required, just use simple square brackets and white space as a separator. Example:
 
 
<pre>You can use [http://www.google.com this search engine] to find the information requested</pre>
 
 
producing:
 
 
You can use [http://www.google.com this search engine] to find the information requested
 
 
==Sub-pages==
 
 
Several systems may be composed of subsystems. Sub-pages allow for a given topic to be subdivided in several independent sections that automatically ling to the parent. To add a sub page, the procedure is similar to adding a link, including a slash to indicate the sub-page. Example
 
 
<pre>The Example DSS system is divided into two main modules:
 
* [[Example DSS/SHRIMP | SHRIMP]], for growth and yield prediction;
 
* [[Example DSS/OYSTER | OYSTER]] for management modeling
 
</pre>
 
 
which is presented as:
 
 
The Example DSS is divided into two main modules:
 
* [[Example DSS/SHRIMP | SHRIMP]], for growth and yield prediction;
 
* [[Example DSS/OYSTER | OYSTER]] for management modeling
 
 
==Categories==
 
 
Pages can be grouped into Categories. A page can have several categories and a category can include several pages. To add a Category it is just necessary to include the tag  <nowiki>[[Category:my_category]]</nowiki> anywhere on the text. Categories will appear in the bottom of the page. Inserting a non-existent Category, will link to a page allowing for its definition.
 
 
Categories can be further grouped into super categories, by inserting another Category tag into  the text of a Category. A simple example:
 
 
 
In the Example DSS System ™ the Optimization process uses Simulated Annealing a Meta heuristic (<code><nowiki>[[Category:Simulated Annealing]]</nowiki></code>), To categorize Simulated annealing as a meta-heuristic just add this super category in the text that defines the simulated annealing category (<code><nowiki>[[Category: Optimization meta-heuristics]]</nowiki></code>)
 
 
An initial list of all categories is provided [[:Category:DSS_categories | here]] for initial categorization of systems introduced in the platform.
 
 
 
[[Category:Help documents]]
 
 
==References to published work==
 
 
References to published work can be inserted anywhere in the text by using a special tag: <nowiki><ref>and </ref></nowiki> to begin and end a reference to a specific work, which is inserted directly in the text. Example
 
 
<pre>
 
However, as Walrus and Carpenter have referred <ref> Walrus M, Carpenter J(1872)
 
"The time has come to talk of many things". Sealing Wax press, Vol.1 No.2
 
</ref> the sea is actually boiling hot. 
 
</pre>
 
 
which is presented as
 
 
However, as Walrus and Carpenter have referred <ref> Walrus M, Carpenter J(1872)
 
"The time has come to talk of many things". Sealing Wax press, Vol.1 No.2
 
</ref> the sea is actually boiling hot. 
 
 
 
 
Using this procedure will generate automatically a references section just by including <nowiki><references/></nowiki> anywhere in the article being edited
 
 
==Inserting Images==
 
 
Images can be added easily to wiki pages following these simple steps:
 
#Write the link to an image on the page <nowiki>[[Image:my_forest.gif]]</nowiki> and save the page
 
#click on the link that appears and upload the image. Make sure the name uploaded matches the link
 
 
Images can be aligned to the right or left by specifying the alignment:
 
 
<pre>[[Image:big_forest.jpg | right]]</pre>
 
 
To link to pictures not directly shown up use:
 
 
<pre>[[Media:bigger_forest1.jpg | A nice picture]]</pre>
 
 
== Inserting formulas and equations ==
 
 
Mediawiki allows the insertion of mathematical formulas directly in the text by using a TeX like syntax.
 
and two special delimeters (<nowiki><math> and </math></nowiki>). For example:
 
 
<pre>
 
math>\max\sum_{m=1}^M\sum_{n=1}^N\frac{mx_n-ny_n}
 
{\left(m+n \right)^2}</math>
 
</pre>
 
 
prints
 
 
 
<math>\max\sum_{m=1}^M\sum_{n=1}^N\frac{mx_n-ny_n}
 
{\left(m+n \right)^2}</math>
 
 
==References==
 
 
This last section is produced automatically just by typing the <nowiki><references/></nowiki> tag:
 
 
<references/>
 

Revision as of 15:42, 9 June 2009

Introduction

This is a very brief summary of the most basic functionality of the Mediawiki platform, the same that powers Wikipedia. A more through description can be found here

http://www.mediawiki.org/wiki/Manual:FAQ

Section 4.1, is particularly useful for the first steps:

http://meta.wikimedia.org/wiki/Help:Editing

An excellent offline resource (actually online for those subscribing Safari) is the book Mediawiki, by Daniel Barrett[1].


VERY IMPORTANT NOTE: This is a basic wiki text manual. For entering Decision Support basic information It is highly recommended that the template provided is used, filling the appropriate sections as needed. An example of use can be found here.
Cite error: <ref> tags exist, but no <references/> tag was found