Help:Contents
From Geomoose
This is various notes on wiki syntax and examples as well as links to better documentation. You may be able to find what you want here, edit and copy, and then go to the page that you want to use that format on.
More here:
Making Heading 1 made with 2 equals signs on either side
Making Subheading (detail) with 3 equals signs
Making Subheading (detail) with 4 equals signs
Making Subheading (detail) with 5 equals signs
Making Subheading (detail) with 6 equals signs
Editing pages
Line breaks while editing (just 1 line break)
apparantly line breaks don't matter when editing your text.
Line breaks while editing (more than 1 line break)
If you want a line break, use 2 line breaks.
Or...
an html br tag
Start new line with a semicolon if you want it bold too
- semicolons also
- do something.
- Like start new
- lines and
- bold
Indenting with colons
- colons do something
- as well.
- which seems
- to be indent
- and new lines.
- one : indents once
- two : indents twice
- three...
- two : indents twice
Block quoting
The blockquote command will indent both margins when needed instead of the left margin only as the colon does. However I need to write lots of words to make it to the right edge and wrap the text to the left again. Perhaps even make it onto three lines.
Center text with center tags
with a html break tag
Lists of all sorts
- Unordered lists are easy to do: *
- Start every line with a star. **
- More stars indicate a deeper level. ***
- Previous item continues. *
- A new line **
- Start every line with a star. **
- in a list *
marks the end of the list.
- Of course you can start again. *
- start with start
- to make a
- bulleted list
- of whatever
- Numbered lists are: #
- Very organized ##
- Easy to follow ##
- Previous item continues #
A new line marks the end of the list.
- New numbering starts with 1. #
- Probably the list you want
- this one here
- where things
- are numbered in order
- and occasionally have short
- numbered sublists
- about something small
- then resume after that
- short sublist
- list item A1
- list item B1
- list item B2
- continuing list item A1
- list item A2
- list item A1
- list item B1
- list item B2
- list item A2
- list item A1
- list item B1
- list item C1
- continuing list item B1
- list item B2
- list item B1
- list item A2
- One
- Two
- Two point one
- Three
Italics by 2 '
You can italicize text by putting 2 apostrophes on each side.
Bold by 3 '
3 apostrophes will bold the text.
Bold italics by 5 '
5 apostrophes will bold and italicize the text.
Computer code
Computer code has a colored background
and more stringent formatting. Suppose we
want to define int main():
<source lang=cpp>#include <iostream> int main ( int argc, char **argv ) {
std::cout << "Hello World!"; return 0;
}</source>
<syntaxhighlight lang="cpp">#include <iostream> int main ( int argc, char **argv ) {
std::cout << "Hello World!"; return 0;
}</syntaxhighlight>
code tags are good for code too.
C:\Documents and Settings\gis\Desktop\surveys\Work>ogr2ogr -f "PostgreSQL" PG:"host=localhost user=postgres dbname=mydatabase password=mypassword" Surveys.shp -nln surveys -overwrite -skipfailures -nlt MULTIPOLYGON -a_srs "EPSG:2913"
Small text
You can use small text for captions.
Big text
Better stay away from big text, unless it's within small text.
Strikout with tags
You can strike out deleted material
Underline with tags
and underline new material.
Lots of other editing markup and misc
You can also mark deleted material and
inserted material using logical markup.
For backwards compatibility better combine this
potentially ignored new logical with
the old markup.
physical
Mr. Smith or 400 km/h want to stay together and not get separated over multiple lines using an html non-breaking space nbsp.
Mary Template:Pad had a little lamb.
arrow →
italics link
New paragraph.
¿ ¡ § ¶
† ‡ • – —
‹ › « »
‘ ’ “ ”
x1 x2 x3 or
x₀ x₁ x₂ x₃ x₄
x₅ x₆ x₇ x₈ x₉
Preserve formatting
Leading spaces are another way to preserve formatting.
Putting a space at the beginning of each line stops the text from being reformatted. It still interprets Wiki markup and special characters: →
Templates still need better understanding by me
This template takes two parameters, and creates underlined text with a hover box for many modern browsers supporting CSS:
Go to this page to see the H:title template itself: Template:Tl
Creating links to other internal wiki pages
Creating a link to a new page by putting the name in 2 sets of brackets Reference an existing page with the same syntax of 2 sets of brackets: Installation
Inserting images (and links to parts of other- or the same pages)
Right now, the upload directory is not public so this doesn't work. Down below are some examples that probably need more work.
Tables
Example 1
| × | 1 | 2 | 3 |
|---|---|---|---|
| 1 | 1 | 2 | 3 |
| 2 | 2 | 4 | 6 |
| 3 | 3 | 6 | 9 |
| 4 | 4 | 8 | 12 |
| 5 | 5 | 10 | 15 |
Example 2
| Alphabetic | Numeric | Date | Unsortable |
|---|---|---|---|
| d | 20 | 2008-11-24 | This |
| b | 8 | 2004-03-01 | column |
| a | 6 | 1979-07-23 | cannot |
| c | 4 | 1492-12-08 | be |
| e | 0 | 1601-08-13 | sorted. |
Printers
| Department | Brand | Model | Purchase Date | Notes | Unsortable |
|---|---|---|---|---|---|
| Clerk | HP | model1 | 2008-11-24 | This | |
| Clerk | HP | model2 | 2004-03-01 | column | |
| Tax | Xerox | model1 | 2001-01-01 | cannot | |
| Tax | HP | model 1 | 2010-01-01 | be | |
| Road Admin | Xerox | model1 | 1601-08-13 | sorted. |
Example 3
| Column heading 1 | Column heading 2 | Column heading 3 |
|---|---|---|
| Row heading 1 | Cell 2 | Cell 3 |
| Row heading A | Cell B | Cell C |
Example 4
| Column heading 1 | Column heading 2 | Column heading 3 |
|---|---|---|
| Row heading 1 | Cell 2 | Cell 3 |
| Row heading A | Cell B | Cell C |
Example 5
| Column heading 1 | Column heading 2 | Column heading 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell A | Cell B | Cell C |
Example 6
| header 1 | header 2 | header 3 |
|---|---|---|
| row 1, cell 1 | row 1, cell 2 | row 1, cell 3 |
| row 2, cell 1 | row 2, cell 2 | row 2, cell 3 |
Making Heading 2 continues where Heading 1 left off even if further down the page
Making Heading 2 detail 1 (subheading)
Making Heading 2 detail 2 (subheading
Making Heading 3
Making Heading 3 detail 1 (subheading)
Making Heading 3 detail 2 (subheading
Inserting images (should really be in editing but I can't align things pretty)
Better advice on image location can be found here
Here is a file link:
Here is what a file link that hasn't been uploaded looks like:
Here are file links about Piping tricks: