Difference between revisions of "Help:Editing"

From OSGeo
Jump to navigation Jump to search
m
Line 40: Line 40:
  
 
Hacking with html is mostly allowed - here is a code example:
 
Hacking with html is mostly allowed - here is a code example:
<code>x = x + 1;</code> although you probably want to break
+
<code>x = x   1;</code> although you probably want to break
out a pre tag for examples of more then one line.
+
out a pre tag for examples of more then one line.</pre>
 
 
&lt;pre&gt;<code>
 
  int x = 1;
 
  return x--; // does this return 0 or 1?
 
</code>&lt;/pre&gt;
 
 
 
Commonly useful tags are: tt, code, b, sup
 
 
 
=== Sub Heading ===
 
 
 
In general:
 
# edit stuff, we need your input
 
## create an account
 
## hit the edit links
 
# Provide corrections:
 
#* If you are sure
 
#* If not add your opionion as well,<br>
 
  (and sort it out on the talk page)
 
 
 
If you sign your work other will know who to talk to,<br>
 
~~~~ (ie Jody Garnett and Date)
 
</pre>
 
 
 
That should be enough to cause some damage.
 
[[User:Jive|Jive]] 11:03, 31 March 2006 (CEST)
 
 
 
== Advanced Wiki Mojo (Images and Tables) ==
 
 
 
First of all show me a picture:
 
<pre>
 
Internal Image: [[Image:gnu-fdl.png|alternate text]]
 
Framed Image: [[Image:gnu-fdl.png|frame|alternate text]]
 
</pre>
 
I am not sure yet how you can upload images or link to external
 
images - follow the links and report back:
 
* http://en.wikipedia.org/wiki/Help:Images_and_other_uploaded_files
 
* http://en.wikipedia.org/wiki/Help:Extended_image_syntax
 
 
 
And now for tables:
 
<pre>
 
{|
 
| cell 1 || cell 2
 
|-
 
| cell 3
 
| cell 4
 
|}
 
</pre>
 
 
 
You can get a bit more complicated:
 
<pre>
 
{| border=1 cellspacing=0 bgcolor=green style="width:75%"
 
|+ caption
 
! header 1
 
! header 2
 
|-
 
| data1
 
| style="background:blue; color=yellow" | data2
 
|}
 
</pre>
 
 
 
For extra mojo:
 
* http://en.wikipedia.org/wiki/Help:Table
 
 
 
== External Documentation ==
 
 
 
=== General Editing ===
 
 
 
See http://en.wikipedia.org/wiki/Help:Editing
 
 
 
=== Converting MS-Excel tables to Mediawiki ===
 
 
 
See http://blaise.mit.edu/PekoWiki/index.php/Excel_Tables
 

Revision as of 16:27, 11 April 2007

Quick Start

Welcome to the wonderful world of wiki, the benefit is that you can edit the page (and fix my spelling mistakes).

Here is a brutal quickstart because I am sick of clicking on the links below:


== Heading ==

You can type things pretty much as you would expect and the
paragraph will flow from line to line. Leaving a blank line
will start a new papgraph.

When typing you can ''emphasze text'', to '''make a point''',
but that stops being '''''fun''''' after a while.

=== Sub Heading ===

One of the fun parts of a wiki is linking:
* [[Page]] link
** Same thing as [[Page]]s and [[page]]
* [[Page#Sub Heading]] same as [[Page#Sub Heading 1=
** You could also link to [[Page#Sub Heading 2]]
* [[Page|a sample page]] also works

To link to the wider wilder web:
* http://udig.refractions.net
* [http://udig.refractions.net uDig]
* [http://udig.refractions.net] <!-- shows up as [1] -->

Remember:
:You can create a link to a page that does not exist yet

Where:
; page link : can be clicked to jump to a page
; external link
: will take you to another web page

=== Sub Heading ===

Hacking with html is mostly allowed - here is a code example:
<code>x = x   1;</code> although you probably want to break
out a pre tag for examples of more then one line.