ae677365e50e9c207e31cc602d69f6c1908da781
[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 Anchored links also work with [[FrontPage|wiki pages]], [[/index.html | local paths]], and [[non_wiki_words]].
21
22 Image links: [[http://www.laptopgiving.org/|GiveOneGetOne.jpg]]
23
24 == Inline media ==
25
26 === Images ===
27 {{GerryStich.jpg|Stich!}}
28
29 === Including other wiki pages ===
30 {{IncludedPage}}
31 TODO: this will let you specify arguments one day, as a templating engine
32
33 === Including external resources inline ===
34 {{http://www.codewiz.org/wikigit/geekigeeki.git/blob_plain/HEAD:/geekigeeki.py}}
35
36 == Macros ==
37
38 <<TitleSearch>>
39 <<NonexistentMacro | param1 | param2 >>
40
41 == Block elements ==
42
43 Leave blank lines between paragraphs.
44
45 You can insert line\\
46 breaks\\
47 with double backslashes: \****\.
48
49 If you indent text
50   like this, then it is indented in the output
51     you can have multiple levels of indent
52
53 And if you put asterisks at the start of the line
54
55   * you get a 
56   * bulleted
57   * list
58     * which can also be indented
59       * to several levels
60
61 To insert program source without reformatting in a monospace font, use three curly braces:
62
63 {{{
64   public static void main(String[] args) {
65     out.println("Hello");
66   }
67 }}}
68
69 Just like that.
70
71
72 == Text Styles ==
73
74 To write **bold text**, enclose it in double stars: *////*some word*////*. \\
75 To write //italic text//, enclose it in double slashes: /****/some word/****/. \\
76 To write ##monospace text##, enclose it in double hashes: #****#some word#****#. \\
77 To write __underlined text__, enclose it in double underscores: _****_some word_****_. \\
78 To write ^^superscript text^^, enclose it in double carets: ^****^some word^****^. \\
79 To write ,,subscript text,,, enclose it in double commas: ,****,some word,****,. \\
80 ''Double'' and '''triple''' quotes are also supported for compatiblity with other wikis. \\
81 These keywords are highlighted: FIXME, TODO, DONE.
82
83 TIP: four consecutive stars (*////*////*////*) or slashes (/****/****/****/****) are a good
84 way to escape the syntax. :-)
85
86
87 == Rulers ==
88
89 ---
90 ----
91 -----
92 ------
93
94
95 == Headings ==
96
97 ===Level 2===
98 ====Level 3====
99 =====Level 4=====
100 ======Level 5======
101
102
103 == Tables ==
104
105 ||= Table Heading 1 ||= Table heading 2 ||= Table heading 3||
106 ||  Table cell 4    ||  Table cell 5    || Table cell 6    ||
107 ||  Table cell 7    ||  Table cell 8    || Table cell 9    ||
108
109
110 == Inline HTML ==
111
112 <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;">
113 You can use ##div##, ##span## and ##iframe## elements with any attribute, including
114 <span style="color: green">CSS</span>, of course.
115 </div>
116
117 == Access Control Lists ==
118
119 TODO: document
120
121 == Final Notes ==
122
123 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.