| 1 | <h2>Embedded markup</h2> |
| 2 | <pre><code>Paragraphs can be forced in lists by using HTML tags. |
| 3 | Two line break symbols, <code><nowiki><br /><br /></nowiki></code>, will create the desired effect. So will enclosing all but the first paragraph with <code><nowiki><p>...</p></nowiki></code></code></pre> |
| 4 | |
| 5 | <h2>Headings</h2> |
| 6 | <pre><code>= Header 1 = |
| 7 | == Header 2 == |
| 8 | === Header 3 === |
| 9 | ==== Header 4 ==== |
| 10 | ===== Header 5 ===== |
| 11 | ====== Header 6 ======</code></pre> |
| 12 | |
| 13 | <h2>Bold and italic</h2> |
| 14 | <pre><code>'''''Both bold and italic''''' |
| 15 | '''Only bold''' |
| 16 | ''Only italic''</code></pre> |
| 17 | |
| 18 | <h2>Links and Magic links</h2> |
| 19 | <pre><code>[[w:en:Formal_grammar|Formal grammar]] |
| 20 | [http://www.cl.cam.ac.uk/~mgk25/iso-ebnf.html EBNF help] |
| 21 | |
| 22 | ISBN 1234567890 |
| 23 | ISBN 123456789x |
| 24 | ISBN 1 2 3-4-5 6789 X |
| 25 | ISBN 978-9999999999 |
| 26 | |
| 27 | RFC 822 |
| 28 | PMID 822</code></pre> |
| 29 | |
| 30 | <h2>Magic words and special symbols</h2> |
| 31 | <pre><code>#REDIRECT [[somewhere]] |
| 32 | |
| 33 | {{SITENAME}} |
| 34 | {{PAGESINCATEGORY:category}} |
| 35 | {{#dateformat:2009-12-25|mdy}} |
| 36 | |
| 37 | __NOTOC__ |
| 38 | |
| 39 | {{!}} |
| 40 | |
| 41 | ~~~ ~~~~ ~~~~~</code></pre> |
| 42 | |
| 43 | <h2>Lists</h2> |
| 44 | <pre><code>* Lists are easy to do: |
| 45 | ** start every line |
| 46 | * with a star |
| 47 | ** more stars mean |
| 48 | *** deeper levels |
| 49 | |
| 50 | # Numbered lists are good |
| 51 | ## very organized |
| 52 | ## easy to follow |
| 53 | |
| 54 | ; Definition lists |
| 55 | ; item : definition |
| 56 | ; semicolon plus term |
| 57 | : colon plus definition |
| 58 | |
| 59 | * Or create mixed lists |
| 60 | *# and nest them |
| 61 | *#* like this |
| 62 | *#*; definitions |
| 63 | *#*: work: |
| 64 | *#*; apple |
| 65 | *#*; banana |
| 66 | *#*: fruits</code></pre> |
| 67 | |
| 68 | <h2>Tables</h2> |
| 69 | <pre><code>{| |
| 70 | |Orange |
| 71 | |Apple |
| 72 | |- |
| 73 | |Bread |
| 74 | |Pie |
| 75 | |- |
| 76 | |Butter |
| 77 | |Ice cream |
| 78 | |} |
| 79 | |
| 80 | {| |
| 81 | |Lorem ipsum dolor sit amet, |
| 82 | consetetur sadipscing elitr, |
| 83 | sed diam nonumy eirmod tempor invidunt |
| 84 | ut labore et dolore magna aliquyam erat, |
| 85 | sed diam voluptua. |
| 86 | |
| 87 | At vero eos et accusam et justo duo dolores |
| 88 | et ea rebum. Stet clita kasd gubergren, |
| 89 | no sea takimata sanctus est Lorem ipsum |
| 90 | dolor sit amet. |
| 91 | | |
| 92 | * Lorem ipsum dolor sit amet |
| 93 | * consetetur sadipscing elitr |
| 94 | * sed diam nonumy eirmod tempor invidunt |
| 95 | |} |
| 96 | |
| 97 | {| |
| 98 | | Orange || Apple || more |
| 99 | |- |
| 100 | | Bread || Pie || more |
| 101 | |- |
| 102 | | Butter || Ice cream || and more |
| 103 | |} |
| 104 | |
| 105 | {| |
| 106 | ! style="text-align:left;"| Item |
| 107 | ! Amount |
| 108 | ! Cost |
| 109 | |- |
| 110 | |Orange |
| 111 | |10 |
| 112 | |7.00 |
| 113 | |- |
| 114 | |Bread |
| 115 | |4 |
| 116 | |3.00 |
| 117 | |- |
| 118 | |Butter |
| 119 | |1 |
| 120 | |5.00 |
| 121 | |- |
| 122 | !Total |
| 123 | | |
| 124 | |15.00 |
| 125 | |} |
| 126 | |
| 127 | {| |
| 128 | ! style="text-align:left;"| Item !! style="color:red;"| Amount !! Cost |
| 129 | |- |
| 130 | |Orange |
| 131 | |10 |
| 132 | |7.00 |
| 133 | |- |
| 134 | | style="text-align:right;"| Bread |
| 135 | |4 |
| 136 | |3.00 |
| 137 | |- |
| 138 | |Butter |
| 139 | |1 |
| 140 | |5.00 |
| 141 | |- |
| 142 | !Total |
| 143 | | |
| 144 | |15.00 |
| 145 | |}</code></pre> |