Edit page EditingTips
[wiki.git] / EditingTips
1 Click **Raw Text** to see the markup for this page, and try it yourself in WikiSandBox.
2
3 ---
4
5 Our wiki syntax is deliberately similar to MoinMoin and WikiCreole.
6
7 Note: You should use formatting sparingly, WikiWikiWeb is about content, not look.
8 See WikiDesignPrinciples.
9
10 == Links ==
11
12 Names of pages have to LookLikeThis.
13 It's called a WikiName.
14 If you write a word that LooksLikeThis, it will be automatically turned into a link.
15
16 You can use URLs directly: http://www.codewiz.org/ ,
17 or you can make descriptive links with [[http://www.codewiz.org/ | some anchor text]].
18 Links to images will appear inline: http://www.w3.org/Icons/valid-css.png
19
20 {{GerryStich.jpg|Stich!}}
21
22 Anchored links also work with [[FrontPage|wiki pages]], [[/index.html | local paths]], and [[non_wiki_words]].
23
24 Image links: [[http://www.laptopgiving.org/|GiveOneGetOne.jpg]]
25
26 == Macros ==
27
28 <<TitleSearch>>
29 <<NonexistentMacro | param1 | param2 >>
30
31 Included text:
32 {{IncludedPage}}
33
34 == Block elements ==
35
36 Leave blank lines between paragraphs.
37
38 You can insert line\\
39 breaks\\
40 with double backslashes: \****\.
41
42 If you indent text
43   like this, then it is indented in the output
44     you can have multiple levels of indent
45
46 And if you put asterisks at the start of the line
47
48   * you get a 
49   * bulleted
50   * list
51     * which can also be indented
52       * to several levels
53
54 To insert program source without reformatting in a monospace font, use three curly braces:
55
56 {{{
57   public static void main(String[] args) {
58     out.println("Hello");
59   }
60 }}}
61
62 Just like that.
63
64
65 == Text Styles ==
66
67 To write **bold text**, enclose it in double stars: *////*some word*////*. \\
68 To write //italic text//, enclose it in double slashes: /****/some word/****/. \\
69 To write ##monospace text##, enclose it in double hashes: #****#some word#****#. \\
70 To write __underlined text__, enclose it in double underscores: _****_some word_****_. \\
71 To write ^^superscript text^^, enclose it in double carets: ^****^some word^****^. \\
72 To write ,,subscript text,,, enclose it in double commas: ,****,some word,****,. \\
73 ''Double'' and '''triple''' quotes are also supported for compatiblity with other wikis. \\
74 These keywords are highlighted: FIXME, TODO, DONE.
75
76 TIP: four consecutive stars (*////*////*////*) or slashes (/****/****/****/****) are a good
77 way to escape the syntax. :-)
78
79
80 == Rulers ==
81
82 ---
83 ----
84 -----
85 ------
86
87
88 == Headings ==
89
90 ===Level 2===
91 ====Level 3====
92 =====Level 4=====
93 ======Level 5======
94
95
96 == Tables ==
97
98 ||= Table Heading 1 ||= Table heading 2 ||= Table heading 3||
99 ||  Table cell 4    ||  Table cell 5    || Table cell 6    ||
100 ||  Table cell 7    ||  Table cell 8    || Table cell 9    ||
101
102
103 == Inline HTML ==
104
105 <div style="align:right; clear:right; font-size:24px; width:20em; max-width:60%; margin:1ex 0ex 1ex 1ex; border:3px outset #969; background-color:#faf; color: #f00; padding:.3em; text-align:center;">
106 You can use ##div##, ##span## and ##iframe## elements with any attribute, including
107 <span style="color: green">CSS</span>, of course.
108 </div>
109
110 == Access Control Lists ==
111
112 TODO: document
113
114 == Final Notes ==
115
116 Be aware that GeekiGeeki does not lock pages during editing, so if you pause for a long time on the edit screen you may overwrite somebody else's changes.