Difference between revisions of "Wiki cheatsheet"

From Organic Design wiki
m
(TreeAndMenu examples)
Line 162: Line 162:
 
** two point one
 
** two point one
 
* three
 
* three
 +
|-
 +
|valign="top"|Menu
 +
|
 +
<pre style="border:none;background:none;">
 +
{{#menu:
 +
* one
 +
* two
 +
** two point one
 +
** two point two
 +
** two point three
 +
* three
 +
}}
 +
</pre>
 +
|
 +
{{#menu:
 +
* one
 +
* two
 +
** two point one
 +
** two point two
 +
** two point three
 +
* three
 +
}}
 +
|-
 +
|valign="top"|Tree
 +
|
 +
<pre style="border:none;background:none;">
 +
{{#tree:root=Example Tree|
 +
* one
 +
* two
 +
** two point one
 +
** two point two
 +
** two point three
 +
* three
 +
}}
 +
</pre>
 +
|
 +
{{#tree:root=Example Tree|
 +
* one
 +
* two
 +
** two point one
 +
** two point two
 +
** two point three
 +
* three
 +
}}
 
|-
 
|-
 
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
 
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;

Revision as of 10:19, 20 May 2008


See also Help:Wikitext
Description You type You get
Applies anywhere
Italicise text

''italic''

italic

 
Bold text

'''bold'''

bold

 
Bold and italic

'''''bold & italic'''''

bold & italic

 

Internal link

(within this wiki)

Internal link
(to a category)

Interwiki Link
(to partner wiki)

[[name of page]]
[[name of page|display text]]

[[:Category:name of category]]


[[w:name of article]]
[[wiki:name of article]]
[[wiki:name of article|display text]]

name of page
display text

Category:name of category


w:name of article
wiki:name of article
display text


Note: red links mean
the page doesn't exist yet

 
External link

(to other websites)

[http://www.example.com]
[http://www.example.com display text]
http://www.example.com
[mailto:bob@yahoo.com Bob's email]

[1]
display text
http://www.example.com
Bob's email

 
Redirect

#redirect [[Target page]]

1. redirect Target page

 
Signature

~~~
~~~~
~~~~~

J.Doe
J.Doe 16:47, 1 May 2024
16:47, 1 May 2024

 
Escape wiki markup

with ''markup''
<nowiki>without ''markup''</nowiki>

with markup
without ''markup''

Applies only at the beginning of the line
Headings

of different sizes

== level 1 ==
=== level 2 ===
==== level 3 ====
===== level 4 =====

Tip: put __NOTOC__ in an article
to remove its table-of-contents

Level 1

Level 2

Level 3

Level 4
 
Outline Numbered
Headings

# one
# two
## two point one
# three

1. one

2. two

2.1 two point one

3. three

 
Bullet list

* one
* two
** two point one
* three

  • one
  • two
    • two point one
  • three
Menu
{{#menu:
* one
* two
** two point one
** two point two
** two point three
* three
}}
  • one
  • two
    • two point one
    • two point two
    • two point three
  • three

Tree
{{#tree:root=Example Tree|
* one
* two
** two point one
** two point two
** two point three
* three
}}
 
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2
 
Thumbnail image

[[Image:Udegawa.jpg|thumb|Caption text]]

Caption text