inital commit - Durchstich

This commit is contained in:
Tilman Walther
2012-01-08 15:18:29 +01:00
commit d72297216f
167 changed files with 15822 additions and 0 deletions
@@ -0,0 +1,19 @@
BEGIN:VCARD
VERSION:2.1
N:Lastname;Firstname
FN:Firstname Lastname
ORG:Company
BDAY:1981-03-31
TITLE:Job title
CATEGORIES:SampleCategory
NOTE;ENCODING=QUOTED-PRINTABLE:Some ''notes'' [[wiki:Main Page]] [[tags:metawiki]]=0D=0A
TEL;WORK;VOICE:business phone
TEL;HOME;VOICE:home phone
TEL;CELL;VOICE:cell phone
TEL;WORK;FAX:fax
TEL;FAX:
ADR;WORK:;;1234 Street;City;State;ZIP;Country
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:1234 Street=0D=0ACity, State ZIP=0D=0ACountry
BDAY:20050501
EMAIL;PREF;INTERNET:firstname@lastname.com
END:VCARD
@@ -0,0 +1,13 @@
test
*dddddddd dddddddd ddddddd dddd ddddd dd ddddddd dddddddd dddddd ddddd ddd dddddddd dddddd ddd ddddd dddddddd ddddd dddd
*dd
*dd
*dd
*dd
*dd
*dd
*dd
*dd
*dd
*dd
*dd
@@ -0,0 +1 @@
test
@@ -0,0 +1 @@
tst
@@ -0,0 +1,10 @@
''Wiki in a Jar'' is a small Wiki written in Java with great focus on simplicity. It is intended to run on a USB stick as a replacement for a paper note- and address book as a Personal Information Manager (PIM). It supports vcard (vcf) contact files.
* '''Wiki in a Jar Version:''' @build@
== License ==
* ''Wiki in a Jar'' is distributed under the GNU General Public License (GPL). More details here: http://www.gnu.org/copyleft/gpl.html
* The embedded HTTP server is based on ''NanoHTTPD'' available under a modified BSD license. More details here: http://elonen.iki.fi/code/nanohttpd/#license
== Disclaimer ==
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,40 @@
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
== Header 1 ==
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
=== Header 1.1 ===
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
=== Header 1.2 ===
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
==== Header 1.2.1 ====
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
=== Header 1.3 ===
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
== Header 2 ==
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
== Header 3 ==
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
@@ -0,0 +1,41 @@
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
= Header 1 =
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
== Header 1.1 ==
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
== Header 1.2 ==
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
=== Header 1.2.1 ===
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
== Header 1.3 ==
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
= Header 2 =
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
= Header 3 =
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
@@ -0,0 +1,26 @@
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
= Header 1 =
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
== Header 1.1 ==
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
== Header 1.2 ==
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
=== Header 1.2.1 ===
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
== Header 1.3 ==
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
= Header 2 =
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
= Header 3 =
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
@@ -0,0 +1,43 @@
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
= Header 1 =
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
== Header 1.1 ==
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text. Some needles Text.
== Header 1.2 ==
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
=== Header 1.2.1 ===
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
== Header 1.3 ==
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
= Header 2 =
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
= Header 3 =
Some needles Text. Some needles Text. Some needles Text. Some needles Text.
@@ -0,0 +1,15 @@
<div>should be correct</div>
<div style='color:red'>should be red</div>
<div style='color:red">switching quotation marks - incorrect!</div>
<div style='color:red>missing end quotiation mark - incorrect!</div>
<div style='color:blue;font-weight:bold;text-decoration:unterline;'>blue for a change</div>
<div style='color:green;'>trying <div style='font-weight:bold'>nested</div> divs</div>
<div style='text-decoration: underline'>and one with <div style='text-decoration:none>errors</div></div>
<div>test</div>
@@ -0,0 +1,150 @@
You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in ''italic'', you include it in two single quotes like <tt><nowiki>''this''</nowiki></tt>
== Text formatting markup ==
{| align="center" border="2" width="100%" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"
|-
| bgcolor="#A7C1F2" |'''Description'''
| bgcolor="#A7C1F2" |'''You type'''
| bgcolor="#A7C1F2" |'''You get'''
|-
| colspan="3" align="center" | ''applies anywhere''
|-
|Italic text
|<tt><nowiki>''italic''</nowiki></tt>
|''italic''
|-
| Bold text
|<tt><nowiki>'''bold'''</nowiki></tt>
|'''bold'''
|-
| Bold and italic
|<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
|'''''bold & italic'''''
|-
|Escape wiki markup
|<tt><nowiki><nowiki>no "markup"</nowiki></nowiki></tt>
|<nowiki>no ''markup''</nowiki>
|-
|Fixed width text
|
<nowiki><tt>Fixed width text</tt></nowiki>
|
<tt>Fixed width text</tt>
|-
| colspan="3" align="center" | ''only at the beginning of the line''
|-
| Indent text
|
<tt><nowiki>:Single indent</nowiki></tt><br>
<tt><nowiki>::Double indent</nowiki></tt><br>
<tt><nowiki>:::::Multiple indent</nowiki></tt>
|
:Single indent
::Double indent
:::::Multiple indent
|-
|Headings of<br>different levels
|
<tt><nowiki>=level 1=</nowiki></tt><br>
<tt><nowiki>==level 2==</nowiki></tt><br>
<tt><nowiki>===level 3===</nowiki></tt><br>
<tt><nowiki>====level 4====</nowiki></tt><br>
<tt><nowiki>=====level 5=====</nowiki></tt><br>
<tt><nowiki>======level 6======</nowiki></tt>
|
<!-- this is fake to remove the level from the content menu -->
<span style='font-size: 18pt; font-weight: bold; margin: 0 0 10px 0; padding: 0; color: #2D4386'>level 1</span><br>
<span style='font-size: 15pt; font-weight: bold; margin: 1px 0 5px 0; padding: 0; color: #2D4386'>level 2</span><br>
<span style='font-size: 12pt; font-weight: bold; margin: 10px 0 4px 0; padding: 0; color: #2D4386'>level 3</span><br>
<span style='font-size: 10pt; font-weight: bold; margin: 10px 0 4px 0; padding: 0; color: #2D4386'>level 4</span><br>
<span style='font-size: 8pt; font-weight: bold; 10px 0 4px 0; padding: 0; color: #2D4386'>level 5</span><br>
<span style='font-size: 6pt; font-weight: bold; margin: 10px 0 4px 0; padding: 0; color: #2D4386'>level 6</span>
|-
|Horizontal rule
|
<tt><nowiki>----</nowiki></tt>
|
----
|-
|Bullet list
|
<tt><nowiki>* one</nowiki></tt><br>
<tt><nowiki>* two</nowiki></tt><br>
<tt><nowiki>* three</nowiki></tt><br>
<tt><nowiki>** three and one-third</nowiki></tt><br>
<tt><nowiki>** three and two-thirds</nowiki></tt>
|
* one
* two
* three
** three and one-third
** three and two-thirds
|-
|Numbered list
|
<tt><nowiki># one</nowiki></tt><br>
<tt><nowiki># two<br>spanning several lines<br>without breaking the numbering</nowiki></tt><br>
<tt><nowiki># three</nowiki></tt><br>
<tt><nowiki>## three point one</nowiki></tt><br>
<tt><nowiki>## three point two</nowiki></tt>
|
# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two
|-
| Mixture of bulleted<br> and numbered lists
|
<tt><nowiki># one</nowiki></tt><br>
<tt><nowiki># two</nowiki></tt><br>
<tt><nowiki>#* two point one</nowiki></tt><br>
<tt><nowiki>#* two point two</nowiki></tt><br>
|
# one
# two
#* two point one
#* two point two
|-
|Definition list
|
<tt><nowiki>;Definition</nowiki></tt><br>
<tt><nowiki>:item 1</nowiki></tt><br>
<tt><nowiki>:item 2</nowiki></tt>
|
;Definition
:item 1
:item 2
|-
|Preformatted text
|
<tt><nowiki> preformatted text is done with</nowiki></tt><br>
<tt><nowiki> a space at the </nowiki></tt><br>
<tt><nowiki> beginning of the line</nowiki></tt>
|
<pre>
preformatted text is done with
a space at the
beginning of the line
</pre>
|-
|Preformatted text with no indentation
|
<nowiki><pre> some preformatted text with no indentation </pre></nowiki>
|
<pre>
some preformatted
text with no indentation
</pre>
|}
== Paragraphs ==
More Wiki in a jar ignores normal line breaks. To start a new paragraph, leave an empty line.
== See Also ==
* [[Help Links]]
* [[Help Tables]]
* [[Help Span and Div]]
[[tags: help]]
@@ -0,0 +1,151 @@
You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in ''italic'', you include it in two single quotes like <tt><nowiki>''this''</nowiki></tt>
== Text formatting markup ==
{| align="center" border="2" width="100%" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"
|-
| bgcolor="#A7C1F2" |'''Description'''
| bgcolor="#A7C1F2" |'''You type'''
| bgcolor="#A7C1F2" |'''You get'''
|-
| colspan="3" align="center" | ''applies anywhere''
|-
|Italic text
|<tt><nowiki>''italic''</nowiki></tt>
|''italic''
|-
| Bold text
|<tt><nowiki>'''bold'''</nowiki></tt>
|'''bold'''
|-
| Bold and italic
|<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
|'''''bold & italic'''''
|-
|Escape wiki markup
|<tt><nowiki><nowiki>no "markup"</nowiki></nowiki></tt>
|<nowiki>no ''markup''</nowiki>
|-
|Fixed width text
|
<nowiki><tt>Fixed width text</tt></nowiki>
|
<tt>Fixed width text</tt>
|-
| colspan="3" align="center" | ''only at the beginning of the line''
|-
| Indent text
|
<tt><nowiki>:Single indent</nowiki></tt><br>
<tt><nowiki>::Double indent</nowiki></tt><br>
<tt><nowiki>:::::Multiple indent</nowiki></tt>
|
:Single indent
::Double indent
:::::Multiple indent
|-
|Headings of<br>different levels
|
<tt><nowiki>=level 1=</nowiki></tt><br>
<tt><nowiki>==level 2==</nowiki></tt><br>
<tt><nowiki>===level 3===</nowiki></tt><br>
<tt><nowiki>====level 4====</nowiki></tt><br>
<tt><nowiki>=====level 5=====</nowiki></tt><br>
<tt><nowiki>======level 6======</nowiki></tt>
|
<!-- this is fake to remove the level from the content menu -->
<span style='font-size: 18pt; font-weight: bold; margin: 0 0 10px 0; padding: 0; color: #2D4386'>level 1</span><br>
<span style='font-size: 15pt; font-weight: bold; margin: 1px 0 5px 0; padding: 0; color: #2D4386'>level 2</span><br>
<span style='font-size: 18pt; font-weight: bold; margin: 0 0 10px 0; padding: 0; color: #2D4386'>level 3</span><br>
<span style='font-size: 18pt; font-weight: bold; margin: 0 0 10px 0; padding: 0; color: #2D4386'>level 4</span><br>
<span style='font-size: 18pt; font-weight: bold; margin: 0 0 10px 0; padding: 0; color: #2D4386'>level 5</span><br>
<span style='font-size: 18pt; font-weight: bold; margin: 0 0 10px 0; padding: 0; color: #2D4386'>level 6</span>
|-
|Horizontal rule
|
<tt><nowiki>----</nowiki></tt>
|
----
|-
|Bullet list
|
<tt><nowiki>* one</nowiki></tt><br>
<tt><nowiki>* two</nowiki></tt><br>
<tt><nowiki>* three</nowiki></tt><br>
<tt><nowiki>** three and one-third</nowiki></tt><br>
<tt><nowiki>** three and two-thirds</nowiki></tt>
|
* one
* two
* three
** three and one-third
** three and two-thirds
|-
|Numbered list
|
<tt><nowiki># one</nowiki></tt><br>
<tt><nowiki># two<br>spanning several lines<br>without breaking the numbering</nowiki></tt><br>
<tt><nowiki># three</nowiki></tt><br>
<tt><nowiki>## three point one</nowiki></tt><br>
<tt><nowiki>## three point two</nowiki></tt>
|
# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two
|-
| Mixture of bulleted<br> and numbered lists
|
<tt><nowiki># one</nowiki></tt><br>
<tt><nowiki># two</nowiki></tt><br>
<tt><nowiki>#* two point one</nowiki></tt><br>
<tt><nowiki>#* two point two</nowiki></tt><br>
|
# one
# two
#* two point one
#* two point two
|-
|Definition list
|
<tt><nowiki>;Definition</nowiki></tt><br>
<tt><nowiki>:item 1</nowiki></tt><br>
<tt><nowiki>:item 2</nowiki></tt>
|
;Definition
:item 1
:item 2
|-
|Preformatted text
|
<tt><nowiki> preformatted text is done with</nowiki></tt><br>
<tt><nowiki> a space at the </nowiki></tt><br>
<tt><nowiki> beginning of the line</nowiki></tt>
|
<pre>
preformatted text is done with
a space at the
beginning of the line
</pre>
|-
|Preformatted text with no indentation
|
<nowiki><pre> some preformatted text with no indentation </pre></nowiki>
|
<pre>
some preformatted
text with no indentation
</pre>
|}
== Paragraphs ==
More Wiki in a jar ignores normal line breaks. To start a new paragraph, leave an empty line.
== See Also ==
* [[Help Links]]
* [[Help Tables]]
* [[Help Span and Div]]
[[tags: help]]
@@ -0,0 +1,152 @@
You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in ''italic'', you include it in two single quotes like <tt><nowiki>''this''</nowiki></tt>
== Text formatting markup ==
{| align="center" border="2" width="100%" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"
|-
| bgcolor="#A7C1F2" |'''Description'''
| bgcolor="#A7C1F2" |'''You type'''
| bgcolor="#A7C1F2" |'''You get'''
|-
| colspan="3" align="center" | ''applies anywhere''
|-
|Italic text
|<tt><nowiki>''italic''</nowiki></tt>
|''italic''
|-
| Bold text
|<tt><nowiki>'''bold'''</nowiki></tt>
|'''bold'''
|-
| Bold and italic
|<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
|'''''bold & italic'''''
|-
|Escape wiki markup
|<tt><nowiki><nowiki>no "markup"</nowiki></nowiki></tt>
|<nowiki>no ''markup''</nowiki>
|-
|Fixed width text
|
<nowiki><tt>Fixed width text</tt></nowiki>
|
<tt>Fixed width text</tt>
|-
| colspan="3" align="center" | ''only at the beginning of the line''
|-
| Indent text
|
<tt><nowiki>:Single indent</nowiki></tt><br>
<tt><nowiki>::Double indent</nowiki></tt><br>
<tt><nowiki>:::::Multiple indent</nowiki></tt>
|
:Single indent
::Double indent
:::::Multiple indent
|-
|Headings of<br>different levels
|
<tt><nowiki>=level 1=</nowiki></tt><br>
<tt><nowiki>==level 2==</nowiki></tt><br>
<tt><nowiki>===level 3===</nowiki></tt><br>
<tt><nowiki>====level 4====</nowiki></tt><br>
<tt><nowiki>=====level 5=====</nowiki></tt><br>
<tt><nowiki>======level 6======</nowiki></tt>
|
<!-- this is fake to remove the level from the content menu -->
<span style='font-size: 18pt; font-weight: bold; margin: 0 0 10px 0; padding: 0; color: #2D4386'>level 1</span>
<span style='font-size: 15pt; font-weight: bold; margin: 1px 0 5px 0; padding: 0; color: #2D4386'>level 2</span>
<span style='font-size: 18pt; font-weight: bold; margin: 0 0 10px 0; padding: 0; color: #2D4386'>level 3</span>
<span style='font-size: 18pt; font-weight: bold; margin: 0 0 10px 0; padding: 0; color: #2D4386'>level 4</span>
<span style='font-size: 18pt; font-weight: bold; margin: 0 0 10px 0; padding: 0; color: #2D4386'>level 5</span>
<span style='font-size: 18pt; font-weight: bold; margin: 0 0 10px 0; padding: 0; color: #2D4386'>level 6</span>
|-
|Horizontal rule
|
<tt><nowiki>----</nowiki></tt>
|
----
|-
|Bullet list
|
<tt><nowiki>* one</nowiki></tt><br>
<tt><nowiki>* two</nowiki></tt><br>
<tt><nowiki>* three</nowiki></tt><br>
<tt><nowiki>** three and one-third</nowiki></tt><br>
<tt><nowiki>** three and two-thirds</nowiki></tt>
|
* one
* two
* three
** three and one-third
** three and two-thirds
|-
|Numbered list
|
<tt><nowiki># one</nowiki></tt><br>
<tt><nowiki># two<br>spanning several lines<br>without breaking the numbering</nowiki></tt><br>
<tt><nowiki># three</nowiki></tt><br>
<tt><nowiki>## three point one</nowiki></tt><br>
<tt><nowiki>## three point two</nowiki></tt>
|
# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two
|-
| Mixture of bulleted<br> and numbered lists
|
<tt><nowiki># one</nowiki></tt><br>
<tt><nowiki># two</nowiki></tt><br>
<tt><nowiki>#* two point one</nowiki></tt><br>
<tt><nowiki>#* two point two</nowiki></tt><br>
|
# one
# two
#* two point one
#* two point two
|-
|Definition list
|
<tt><nowiki>;Definition</nowiki></tt><br>
<tt><nowiki>:item 1</nowiki></tt><br>
<tt><nowiki>:item 2</nowiki></tt>
|
;Definition
:item 1
:item 2
|-
|Preformatted text
|
<tt><nowiki> preformatted text is done with</nowiki></tt><br>
<tt><nowiki> a space at the </nowiki></tt><br>
<tt><nowiki> beginning of the line</nowiki></tt>
|
<pre>
preformatted text is done with
a space at the
beginning of the line
</pre>
|-
|Preformatted text with no indentation
|
<nowiki><pre> some preformatted text with no indentation </pre></nowiki>
|
<pre>
some preformatted
text with no indentation
</pre>
|}
== Paragraphs ==
More Wiki in a jar ignores normal line breaks. To start a new paragraph, leave an empty line.
== See Also ==
* [[Help Links]]
* [[Help Tables]]
* [[Help Span and Div]]
[[tags: help]]
@@ -0,0 +1,158 @@
You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in ''italic'', you include it in two single quotes like <tt><nowiki>''this''</nowiki></tt>
== Text formatting markup ==
{| align="center" border="2" width="100%" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"
|-
| bgcolor="#A7C1F2" |'''Description'''
| bgcolor="#A7C1F2" |'''You type'''
| bgcolor="#A7C1F2" |'''You get'''
|-
| colspan="3" align="center" | ''applies anywhere''
|-
|Italic text
|<tt><nowiki>''italic''</nowiki></tt>
|''italic''
|-
| Bold text
|<tt><nowiki>'''bold'''</nowiki></tt>
|'''bold'''
|-
| Bold and italic
|<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
|'''''bold & italic'''''
|-
|Escape wiki markup
|<tt><nowiki><nowiki>no "markup"</nowiki></nowiki></tt>
|<nowiki>no ''markup''</nowiki>
|-
|Fixed width text
|
<nowiki><tt>Fixed width text</tt></nowiki>
|
<tt>Fixed width text</tt>
|-
| colspan="3" align="center" | ''only at the beginning of the line''
|-
| Indent text
|
<tt><nowiki>:Single indent</nowiki></tt><br>
<tt><nowiki>::Double indent</nowiki></tt><br>
<tt><nowiki>:::::Multiple indent</nowiki></tt>
|
:Single indent
::Double indent
:::::Multiple indent
|-
|Headings of<br>different levels
|
<tt><nowiki>=level 1=</nowiki></tt><br>
<tt><nowiki>==level 2==</nowiki></tt><br>
<tt><nowiki>===level 3===</nowiki></tt><br>
<tt><nowiki>====level 4====</nowiki></tt><br>
<tt><nowiki>=====level 5=====</nowiki></tt><br>
<tt><nowiki>======level 6======</nowiki></tt>
|
<!-- this is fake
=level 1=
==level 2==
===level 3===
====level 4====
=====level 5=====
======level 6======
-->
<span style='font-size: 18pt; font-weight: bold; margin: 0 0 10px 0; padding: 0; color: #2D4386'>level 1</span>
<!--
margin: 0 0 10px 0; padding: 0; color: #2D4386
-->
|-
|Horizontal rule
|
<tt><nowiki>----</nowiki></tt>
|
----
|-
|Bullet list
|
<tt><nowiki>* one</nowiki></tt><br>
<tt><nowiki>* two</nowiki></tt><br>
<tt><nowiki>* three</nowiki></tt><br>
<tt><nowiki>** three and one-third</nowiki></tt><br>
<tt><nowiki>** three and two-thirds</nowiki></tt>
|
* one
* two
* three
** three and one-third
** three and two-thirds
|-
|Numbered list
|
<tt><nowiki># one</nowiki></tt><br>
<tt><nowiki># two<br>spanning several lines<br>without breaking the numbering</nowiki></tt><br>
<tt><nowiki># three</nowiki></tt><br>
<tt><nowiki>## three point one</nowiki></tt><br>
<tt><nowiki>## three point two</nowiki></tt>
|
# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two
|-
| Mixture of bulleted<br> and numbered lists
|
<tt><nowiki># one</nowiki></tt><br>
<tt><nowiki># two</nowiki></tt><br>
<tt><nowiki>#* two point one</nowiki></tt><br>
<tt><nowiki>#* two point two</nowiki></tt><br>
|
# one
# two
#* two point one
#* two point two
|-
|Definition list
|
<tt><nowiki>;Definition</nowiki></tt><br>
<tt><nowiki>:item 1</nowiki></tt><br>
<tt><nowiki>:item 2</nowiki></tt>
|
;Definition
:item 1
:item 2
|-
|Preformatted text
|
<tt><nowiki> preformatted text is done with</nowiki></tt><br>
<tt><nowiki> a space at the </nowiki></tt><br>
<tt><nowiki> beginning of the line</nowiki></tt>
|
<pre>
preformatted text is done with
a space at the
beginning of the line
</pre>
|-
|Preformatted text with no indentation
|
<nowiki><pre> some preformatted text with no indentation </pre></nowiki>
|
<pre>
some preformatted
text with no indentation
</pre>
|}
== Paragraphs ==
More Wiki in a jar ignores normal line breaks. To start a new paragraph, leave an empty line.
== See Also ==
* [[Help Links]]
* [[Help Tables]]
* [[Help Span and Div]]
[[tags: help]]
@@ -0,0 +1,74 @@
There are twi sorts of links in More Wiki in a jar:
# internal links to other pages in the wiki
# external links to websites
To add an internal link, enclose the name of the page you want to link to in double square brackets. When you save the page, you'll see the new link pointing to your page. If the page exists already, it is displayed in blue, empty pages are displayed in red.
== How to link ==
{| border="2" width="100%" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"
|-
|bgcolor="#8DA7D6" color="black"|'''Description'''
|bgcolor="#8DA7D6" color="black"|'''You type'''
|bgcolor="#8DA7D6" color="black"|'''You get'''
|-
|Internal link
|<tt><nowiki>[[Main Page]]</nowiki></tt>
|[[Main Page]]
|-
|Piped link
|<tt><nowiki>[[Main Page|different text]]</nowiki></tt>
|[[Main Page|different text]]
|-
|External link
|<tt><nowiki>http://morewikiinajar.sourceforge.net/</nowiki></tt>
|http://morewikiinajar.sourceforge.net/
|-
|External link,<br>different title
|<tt><nowiki>[http://morewikiinajar.sourceforge.net/ More Wikie in a jar]</nowiki></tt>
|[http://morewikiinajar.sourceforge.net/ More Wiki in a jar]
|-
|External link,<br>numbered
|<tt><nowiki>[http://morewikiinajar.sourceforge.net/]</nowiki></tt>
|[http://morewikiinajar.sourceforge.net/]
|-
|Anchor link
|<tt><nowiki>[[#See also]]</nowiki></tt>
|[[#See also]]
|-
|Anchor link,<br>different title
|<tt><nowiki>[[#See also|A diffrent see also]]</nowiki></tt>
|[[#See also|A diffrent see also]]
|-
|Anchor link at another page
|<tt><nowiki>[[Help Tables#See also]]</nowiki></tt>
|[[Help Tables#See also]]
|-
|Anchor link at another page,<br>different title
|<tt><nowiki>[[Help Tables#See also|See also on Help Tables]]</nowiki></tt>
|[[Help Tables#See also|See also on Help Tables]]
<!--
|-
|Internal link to image file
|<tt><nowiki>[[media:example.jpg]]</nowiki></tt>
|[[media:example.jpg]]
|-
|Internal link to pdf file
|<tt><nowiki>[[media:example.pdf]]</nowiki></tt>
|[[media:example.pdf]]
-->
|}
== How to avoid auto-links ==
By default, when you write a URL as is, it will be transformed to an external link.
To avoid that effect, put the URL between <nowiki><nowiki></nowiki> start & end tags as in:
<nowiki><nowiki>http://morewikiinajar.sourceforge.net/</nowiki></nowiki>
== See also ==
* [[Help Formatting]]
* [[Help Tables]]
* [[Help Span and Div]]
[[tags: help]]
@@ -0,0 +1,74 @@
There are twi sorts of links in More Wiki in a jar:
# internal links to other pages in the wiki
# external links to websites
To add an internal link, enclose the name of the page you want to link to in double square brackets. When you save the page, you'll see the new link pointing to your page. If the page exists already, it is displayed in blue, empty pages are displayed in red.
== How to link ==
{| border="2" width="100%" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"
|-
|bgcolor="#8DA7D6" color="black"|'''Description'''
|bgcolor="#8DA7D6" color="black"|'''You type'''
|bgcolor="#8DA7D6" color="black"|'''You get'''
|-
|Internal link
|<tt><nowiki>[[Main Page]]</nowiki></tt>
|[[Main Page]]
|-
|Piped link
|<tt><nowiki>[[Main Page|different text]]</nowiki></tt>
|[[Main Page|different text]]
|-
|External link
|<tt><nowiki>http://morewikiinajar.sourceforge.net/</nowiki></tt>
|http://morewikiinajar.sourceforge.net/
|-
|External link,<br>different title
|<tt><nowiki>[http://morewikiinajar.sourceforge.net/ More Wikie in a jar]</nowiki></tt>
|[http://morewikiinajar.sourceforge.net/ More Wiki in a jar]
|-
|External link,<br>numbered
|<tt><nowiki>[http://morewikiinajar.sourceforge.net/]</nowiki></tt>
|[http://morewikiinajar.sourceforge.net/]
|-
|Anchor link
|<tt><nowiki>[[#See also]]</nowiki></tt>
|[[#See also]]
|-
|Anchor link,<br>different title
|<tt><nowiki>[[#See also|A diffrent see also]]</nowiki></tt>
|[[#See also|A diffrent see also]]
|-
|Anchor link at another page
|<tt><nowiki>[[Help Tables#See also]]</nowiki></tt>
|[[Help Tables#See also]]
|-
|Anchor link at another page,<br>different title
|<tt><nowiki>[[Help Tables#See also|See also on Help Tables]]</nowiki></tt>
|[[Help Tables#See also|See also on Help Tables]]
<!--
|-
|Internal link to image file
|<tt><nowiki>[[media:example.jpg]]</nowiki></tt>
|[[media:example.jpg]]
|-
|Internal link to pdf file
|<tt><nowiki>[[media:example.pdf]]</nowiki></tt>
|[[media:example.pdf]]
-->
|}
== How to avoid auto-links ==
By default, when you write a URL as is, it will be transformed to an external link.
To avoid that effect, put the URL between <nowiki><nowiki></nowiki> start & end tags as in:
<nowiki><nowiki>http://morewikiinajar.sourceforge.net/</nowiki></nowiki>
== See also ==
* [[Help Formatting]]
* [[Help Tables]]
[[tags: help]]
@@ -0,0 +1,150 @@
There are twi sorts of links in More Wiki in a jar:
# internal links to other pages in the wiki
# external links to websites
To add an internal link, enclose the name of the page you want to link to in double square brackets. When you save the page, you'll see the new link pointing to your page. If the page exists already, it is displayed in blue, empty pages are displayed in red.
== How to link ==
{| border="2" width="100%" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"
|-
|bgcolor="#8DA7D6" color="black"|'''Description'''
|bgcolor="#8DA7D6" color="black"|'''You type'''
|bgcolor="#8DA7D6" color="black"|'''You get'''
|-
|Internal link
|<tt><nowiki>[[Main Page]]</nowiki></tt>
|[[Main Page]]
|-
|Piped link
|<tt><nowiki>[[Main Page|different text]]</nowiki></tt>
|[[Main Page|different text]]
|-
|External link
|<tt><nowiki>http://morewikiinajar.sourceforge.net/</nowiki></tt>
|http://morewikiinajar.sourceforge.net/
|-
|External link,<br>different title
|<tt><nowiki>[http://morewikiinajar.sourceforge.net/ More Wikie in a jar]</nowiki></tt>
|[http://morewikiinajar.sourceforge.net/ More Wiki in a jar]
|-
|External link,<br>numbered
|<tt><nowiki>[http://morewikiinajar.sourceforge.net/]</nowiki></tt>
|[http://morewikiinajar.sourceforge.net/]
|-
|Anchor link
|<tt><nowiki>[[#See also]]</nowiki></tt>
|[[#See also]]
|-
|Anchor link,<br>different title
|<tt><nowiki>[[#See also|A diffrent see also]]</nowiki></tt>
|[[#See also|A diffrent see also]]
|-
|Anchor link at another page
|<tt><nowiki>[[Help Tables#See also]]</nowiki></tt>
|[[Help Tables#See also]]
|-
|Anchor link at another page,<br>different title
|<tt><nowiki>[[Help Tables#See also|See also on Help Tables]]</nowiki></tt>
|[[Help Tables#See also|See also on Help Tables]]
<!--
|-
|Internal link to image file
|<tt><nowiki>[[media:example.jpg]]</nowiki></tt>
|[[media:example.jpg]]
|-
|Internal link to pdf file
|<tt><nowiki>[[media:example.pdf]]</nowiki></tt>
|[[media:example.pdf]]
-->
|}
== How to avoid auto-links ==
By default, when you write a URL as is, it will be transformed to an external link.
To avoid that effect, put the URL between <nowiki><nowiki></nowiki> start & end tags as in:
<nowiki><nowiki>http://morewikiinajar.sourceforge.net/</nowiki></nowiki>
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
== See also ==
* [[Help Formatting]]
* [[Help Tables]]
[[tags: help]]
@@ -0,0 +1,151 @@
There are twi sorts of links in More Wiki in a jar:
# internal links to other pages in the wiki
# external links to websites
To add an internal link, enclose the name of the page you want to link to in double square brackets. When you save the page, you'll see the new link pointing to your page. If the page exists already, it is displayed in blue, empty pages are displayed in red.
== How to link ==
{| border="2" width="100%" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"
|-
|bgcolor="#8DA7D6" color="black"|'''Description'''
|bgcolor="#8DA7D6" color="black"|'''You type'''
|bgcolor="#8DA7D6" color="black"|'''You get'''
|-
|Internal link
|<tt><nowiki>[[Main Page]]</nowiki></tt>
|[[Main Page]]
|-
|Piped link
|<tt><nowiki>[[Main Page|different text]]</nowiki></tt>
|[[Main Page|different text]]
|-
|External link
|<tt><nowiki>http://morewikiinajar.sourceforge.net/</nowiki></tt>
|http://morewikiinajar.sourceforge.net/
|-
|External link,<br>different title
|<tt><nowiki>[http://morewikiinajar.sourceforge.net/ More Wikie in a jar]</nowiki></tt>
|[http://morewikiinajar.sourceforge.net/ More Wiki in a jar]
|-
|External link,<br>numbered
|<tt><nowiki>[http://morewikiinajar.sourceforge.net/]</nowiki></tt>
|[http://morewikiinajar.sourceforge.net/]
|-
|Anchor link
|<tt><nowiki>[[#See also]]</nowiki></tt>
|[[#See also]]
|-
|Anchor link,<br>different title
|<tt><nowiki>[[#See also]]</nowiki></tt>
|[[#See also|A diffrent see also]]
|-
|Anchor link at another page
|<tt><nowiki>[[Help Tables#See also]]</nowiki></tt>
|[[Help Tables#See also]]
|-
|Anchor link at another page,<br>different title
|<tt><nowiki>[[Help Tables#See also|See also on Help Tables]]</nowiki></tt>
|[[Help Tables#See also]]
<!--
|-
|Internal link to image file
|<tt><nowiki>[[media:example.jpg]]</nowiki></tt>
|[[media:example.jpg]]
|-
|Internal link to pdf file
|<tt><nowiki>[[media:example.pdf]]</nowiki></tt>
|[[media:example.pdf]]
-->
|}
== How to avoid auto-links ==
By default, when you write a URL as is, it will be transformed to an external link.
To avoid that effect, put the URL between <nowiki><nowiki></nowiki> start & end tags as in:
<nowiki><nowiki>http://morewikiinajar.sourceforge.net/</nowiki></nowiki>
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
bla bla
== See also ==
* [[Help Formatting]]
* [[Help Tables]]
[[tags: help]]
@@ -0,0 +1,43 @@
You can use the <nowiki><span> and <div></nowiki> tags to apply special markup to your wiki pages. The main difference between the two is that a <nowiki><div></nowiki> tag always extends to the end of the line, forcing all following content to continue on the next line. So <nowiki><div></nowiki> is ideal to create paragraphs with a different format while <nowiki><span></nowiki> may be used to format single words or phrases within a paragraph.<br>
Inform yourself about the possible formattings e.g. [http://www.eskimo.com/~bloo//indexdot/css/propindex/all.htm here].
{| align="center" border="2" width="100%" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"
|-
| bgcolor="#A7C1F2" |'''Description'''
| bgcolor="#A7C1F2" |'''You type'''
| bgcolor="#A7C1F2" |'''You get'''
|-
| Colored text
| <nowiki><span style='color:red'>colored</span></nowiki><br><nowiki><span style='color:#FF0000'>colored</span></nowiki><br> <nowiki><div style='color:red'>colored</div></nowiki><br><nowiki><div style='color:#FF0000'>colored</div></nowiki>
| <span style='color:red'>colored</span><br><span style='color:#FF0000'>colored</span><br><div style='color:red'>colored</div><div style='color:#FF0000'>colored</div>
|-
| Change font
| <nowiki><span style='font: 18pt Serif'>bigger text</span></nowiki><br><nowiki><div style='font: 18pt Serif'>bigger text</div></nowiki>
| <span style='font: 18pt Serif'>bigger text</span><br><div style='font: 18pt Serif'>bigger text</div>
|-
| Multiple styles
| <nowiki><span style='font: 18pt Serif; color: green; text-decoration: underline'>Text</span></nowiki><br><nowiki><div style='font: 18pt Serif; color: green; text-decoration: underline'>Text</div></nowiki>
| <span style='font: 18pt Serif; color: green; text-decoration: underline'>Text</span><br><div style='font: 18pt Serif; color: green; text-decoration: underline'>Text</div>
|}
Now an example how to <nowiki>combine <pre><span></pre> and <pre><div></pre>:</nowiki><br>
<pre>
<nowiki><div style='font: 14pt Sans-Serif; color: blue'>
Sample text, extending across multiple lines.<br>
Sample text, extending across multiple lines.<br>
Sample text, extending across multiple lines.<br>
<span style='color:red;text-decoration:underline'>Now this is different ;-).</span>
Sample text, extending across multiple lines.<br>
Sample text, extending across multiple lines.<br>
Sample text, extending across multiple lines.<br>
</div></nowiki>
</pre>
Creates:<br>
<div style='font: 14pt Sans-Serif; color: blue'>Sample text, extending across multiple lines.<br>Sample text, extending across multiple lines.<br>Sample text, extending across multiple lines.<br>Sample text, extending across multiple lines.<br>Sample text, extending across multiple lines.<br><span style='color:red;text-decoration:underline'>Now this is different ;-).</span>Sample text, extending across multiple lines.<br>Sample text, extending across multiple lines.<br>Sample text, extending across multiple lines.<br></div>
==See also==
* [[Help Formatting]]
* [[Help Tables]]
* [[Help Links]]
[[tags: help]]
@@ -0,0 +1,587 @@
Tables may be authored in wiki pages using either HTML table elements directly, or using wikicode formatting to define the table. HTML table elements and their use are well described on various web pages and will not be discussed here. The benefit of wikicode is that the table is constructed of character symbols which tend to make it easier to perceive the table structure in the article editing view compared to HTML table elements.
As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.
== Wiki table markup summary ==
{|cellpadding="5" cellspacing="0" border="1" width="600"
|<nowiki>{|</nowiki> || '''table start'''
|-
|<nowiki>|+</nowiki> || table '''caption,''' ''optional;'' only between '''table start''' and first '''table row'''
|-
|<nowiki>|-</nowiki> || '''table row,''' ''optional on first row'' -- wiki engine assumes the first row
|-
|<nowiki>!</nowiki> || '''table header''' cell, ''optional.'' Consecutive '''table header''' cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
|-
|<nowiki>|</nowiki> || '''table data''' cell, ''required!'' Consecutive '''table data''' cells may be added on same line separated by double marks (<nowiki>||</nowiki>) or start on new lines, each with its own single mark (<nowiki>|</nowiki>).
|-
|<nowiki>|}</nowiki> || '''table end'''
|}
*The above marks must '''start on a new line''' except the double || and !! for optionally adding consecutive cells to a line.
*'''XHTML attributes.''' Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
**Cells and caption (<nowiki>| or ||, ! or !!, and |+</nowiki>) hold content. So separate any attributes from content with a single pipe (|). Cell content may follow on same line or on following lines.
**Table and row marks (<nowiki>{| and |-</nowiki>) do not directly hold content. Do ''not'' add pipe (|) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parser will delete it ''and'' your final attribute if it was touching the erroneous pipe!
*'''Content''' may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headers, or nested tables, must of course be on its own new line.
==Simple table==
===Plain===
The following table lacks borders and good spacing but shows the simplest wiki markup table structure
{| width="100%"
|width="50%"|
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===Alternative===
For more table-ish looking wiki markup cells can be listed on one line separated by ||. This does not scale well for longer cell content such as paragraphs. It works well for short bits of content however, such as our example table.
Extra spaces within cells in the wiki markup can be added, as I have done in the wiki markup below, to make the wiki markup itself look better but they do not affect the actual table rendering.
HTML attributes can be added to tables on this page but have been left out of the following example for simplicity.
{| width="100%"
|width="50%"|
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
|width="50%"|
<pre>
<nowiki>
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
</nowiki>
</pre>
|}
===With HTML attributes===
You can add HTML attributes to make your table look better
====border="1"====
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====align="center" border="1"====
{| width="100%"
|width="50%"|
{| align="center" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| align="center" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====Attributes on cells ====
You can put attributes on individual '''cells.''' Numbers for example may look better aligned right
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|-
|Butter
|Ice cream
|align="right"|1.00
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|-
|Butter
|Ice cream
|align="right"|1.00
|}
</nowiki>
</pre>
|}
====Attributes on rows====
You can put attributes on individual '''rows,''' too.
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|- style="font-style:italic;color:green;"
|Butter
|Ice cream
|align="right"|1.00
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|- style="font-style:italic;color:green;"
|Butter
|Ice cream
|align="right"|1.00
|}
</nowiki>
</pre>
|}
====cellspacing="0" border="1"====
{| width="100%"
|width="50%"|
{| cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====cellpadding="20" cellspacing="0" border="1"====
{| width="100%"
|width="50%"|
{| cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===With HTML attributes and CSS styles===
CSS style attributes can be added with or without other HTML attributes
====style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing "0" border "1"====
{| width="100%"
|width="50%"|
{| style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Table with TH headings==
TH (HTML table headings) can be created by using ! instead of |. Headings usually show up bold and centered by default.
===Top headings===
====Each column====
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!Yummy
!Yummier
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
!Yummy
!Yummier
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====Colspan="2"====
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!colspan="2"|Yummies
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
! colspan="2"|Yummies
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===Side headings===
====Default====
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!Fruit
|Orange
|Apple
|-
!Dish
|Bread
|Pie
|-
!Complement
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
!Fruit
|Orange
|Apple
|-
!Dish
|Bread
|Pie
|-
!Complement
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====Right justify====
Right justified side headings can be done as follows
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!align="right" |Fruit
|Orange
|Apple
|-
!align="right" |Dish
|Bread
|Pie
|-
!align="right" |Complement
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
!align="right" |Fruit
|Orange
|Apple
|-
!align="right" |Dish
|Bread
|Pie
|-
!align="right" |Complement
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Caption==
A '''table caption''' can be added to the top of any table as follows
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
|+Food complements
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
|+Food complements
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
'''Attributes''' can be added to the caption as follows
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
|+align="bottom" style="color:#e76700;"|''Food complements''
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
|+align="bottom" style="color:#e76700;"|''Food complements''
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Table with H1, H2, H3 etc. headings==
HTML H1, H2, H3, H4 etc. headings can be created the standard wiki markup way with ==equal== signs and '''must be on a line all by themselves''' to work.
'''Preview the whole table.''' If you click on an edit tab for a heading ''within'' a table, edit, and preview, the parent table will display erroneously broken because part of it will be missing.
Keep the heading hierarchy consistent with the rest of the page so that the table of contents at page top works correctly.
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
|colspan="2"|
===Yummiest===
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="3" cellpadding="20" cellspacing="0"
|colspan="2"|
===Yummiest===
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Caveat==
===Negative numbers===
Negative value minus sign can break your table (it may display missing some values) if you start a cell on a new line with a negative number or a parameter that evaluates to a negative number (|-6) because that is the wiki markup for table row, not table cell. To avoid this, insert a space before the value (| -6) or use in-line cell markup (||-6).
== See Also ==
* [[Help Formatting]]
* [[Help Links]]
* [[Help Span and Div]]
[[tags: help]]
@@ -0,0 +1,587 @@
Tables may be authored in wiki pages using either HTML table elements directly, or using wikicode formatting to define the table. HTML table elements and their use are well described on various web pages and will not be discussed here. The benefit of wikicode is that the table is constructed of character symbols which tend to make it easier to perceive the table structure in the article editing view compared to HTML table elements.
As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.
== Wiki table markup summary ==
{|cellpadding="5" cellspacing="0" border="1" width="600"
|<nowiki>{|</nowiki> || '''table start'''
|-
|<nowiki>|+</nowiki> || table '''caption,''' ''optional;'' only between '''table start''' and first '''table row'''
|-
|<nowiki>|-</nowiki> || '''table row,''' ''optional on first row'' -- wiki engine assumes the first row
|-
|<nowiki>!</nowiki> || '''table header''' cell, ''optional.'' Consecutive '''table header''' cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
|-
|<nowiki>|</nowiki> || '''table data''' cell, ''required!'' Consecutive '''table data''' cells may be added on same line separated by double marks (<nowiki>||</nowiki>) or start on new lines, each with its own single mark (<nowiki>|</nowiki>).
|-
|<nowiki>|}</nowiki> || '''table end'''
|}
*The above marks must '''start on a new line''' except the double || and !! for optionally adding consecutive cells to a line.
*'''XHTML attributes.''' Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
**Cells and caption (<nowiki>| or ||, ! or !!, and |+</nowiki>) hold content. So separate any attributes from content with a single pipe (|). Cell content may follow on same line or on following lines.
**Table and row marks (<nowiki>{| and |-</nowiki>) do not directly hold content. Do ''not'' add pipe (|) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parser will delete it ''and'' your final attribute if it was touching the erroneous pipe!
*'''Content''' may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headers, or nested tables, must of course be on its own new line.
==Simple table==
===Plain===
The following table lacks borders and good spacing but shows the simplest wiki markup table structure
{| width="100%"
|width="50%"|
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===Alternative===
For more table-ish looking wiki markup cells can be listed on one line separated by ||. This does not scale well for longer cell content such as paragraphs. It works well for short bits of content however, such as our example table.
Extra spaces within cells in the wiki markup can be added, as I have done in the wiki markup below, to make the wiki markup itself look better but they do not affect the actual table rendering.
HTML attributes can be added to tables on this page but have been left out of the following example for simplicity.
{| width="100%"
|width="50%"|
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
|width="50%"|
<pre>
<nowiki>
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
</nowiki>
</pre>
|}
===With HTML attributes===
You can add HTML attributes to make your table look better
====border="1"====
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====align="center" border="1"====
{| width="100%"
|width="50%"|
{| align="center" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| align="center" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====Attributes on cells ====
You can put attributes on individual '''cells.''' Numbers for example may look better aligned right
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|-
|Butter
|Ice cream
|align="right"|1.00
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|-
|Butter
|Ice cream
|align="right"|1.00
|}
</nowiki>
</pre>
|}
====Attributes on rows====
You can put attributes on individual '''rows,''' too.
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|- style="font-style:italic;color:green;"
|Butter
|Ice cream
|align="right"|1.00
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|- style="font-style:italic;color:green;"
|Butter
|Ice cream
|align="right"|1.00
|}
</nowiki>
</pre>
|}
====cellspacing="0" border="1"====
{| width="100%"
|width="50%"|
{| cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====cellpadding="20" cellspacing="0" border="1"====
{| width="100%"
|width="50%"|
{| cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===With HTML attributes and CSS styles===
CSS style attributes can be added with or without other HTML attributes
====style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing "0" border "1"====
{| width="100%"
|width="50%"|
{| style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Table with TH headings==
TH (HTML table headings) can be created by using ! instead of |. Headings usually show up bold and centered by default.
===Top headings===
====Each column====
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!Yummy
!Yummier
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
!Yummy
!Yummier
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====Colspan="2"====
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!colspan="2"|Yummies
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
! colspan="2"|Yummies
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===Side headings===
====Default====
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!Fruit
|Orange
|Apple
|-
!Dish
|Bread
|Pie
|-
!Complement
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
!Fruit
|Orange
|Apple
|-
!Dish
|Bread
|Pie
|-
!Complement
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====Right justify====
Right justified side headings can be done as follows
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!align="right" |Fruit
|Orange
|Apple
|-
!align="right" |Dish
|Bread
|Pie
|-
!align="right" |Complement
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
!align="right" |Fruit
|Orange
|Apple
|-
!align="right" |Dish
|Bread
|Pie
|-
!align="right" |Complement
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Caption==
A '''table caption''' can be added to the top of any table as follows
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
|+Food complements
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
|+Food complements
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
'''Attributes''' can be added to the caption as follows
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
|+align="bottom" style="color:#e76700;"|''Food complements''
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
|+align="bottom" style="color:#e76700;"|''Food complements''
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Table with H1, H2, H3 etc. headings==
HTML H1, H2, H3, H4 etc. headings can be created the standard wiki markup way with ==equal== signs and '''must be on a line all by themselves''' to work.
'''Preview the whole table.''' If you click on an edit tab for a heading ''within'' a table, edit, and preview, the parent table will display erroneously broken because part of it will be missing.
Keep the heading hierarchy consistent with the rest of the page so that the table of contents at page top works correctly.
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
|colspan="2"|
===Yummiest===
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="3" cellpadding="20" cellspacing="0"
|colspan="2"|
===Yummiest===
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Caveat==
===Negative numbers===
Negative value minus sign can break your table (it may display missing some values) if you start a cell on a new line with a negative number or a parameter that evaluates to a negative number (|-6) because that is the wiki markup for table row, not table cell. To avoid this, insert a space before the value (| -6) or use in-line cell markup (||-6).
== See Also ==
* [[Help Formatting]]
* [[Help Links]]
[[tags: help]]
@@ -0,0 +1,588 @@
Tables may be authored in wiki pages using either HTML table elements directly, or using wikicode formatting to define the table. HTML table elements and their use are well described on various web pages and will not be discussed here. The benefit of wikicode is that the table is constructed of character symbols which tend to make it easier to perceive the table structure in the article editing view compared to HTML table elements.
As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.
== Wiki table markup summary ==
{|cellpadding="5" cellspacing="0" border="1" width="600"
|<nowiki>{|</nowiki> || '''table start'''
|-
|<nowiki>|+</nowiki> || table '''caption,''' ''optional;'' only between '''table start''' and first '''table row'''
|-
|<nowiki>|-</nowiki> || '''table row,''' ''optional on first row'' -- wiki engine assumes the first row
|-
|<nowiki>!</nowiki> || '''table header''' cell, ''optional.'' Consecutive '''table header''' cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
|-
|<nowiki>|</nowiki> || '''table data''' cell, ''required!'' Consecutive '''table data''' cells may be added on same line separated by double marks (<nowiki>||</nowiki>) or start on new lines, each with its own single mark (<nowiki>|</nowiki>).
|-
|<nowiki>|}</nowiki> || '''table end'''
|}
*The above marks must '''start on a new line''' except the double || and !! for optionally adding consecutive cells to a line.
*'''XHTML attributes.''' Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
**Cells and caption (<nowiki>| or ||, ! or !!, and |+</nowiki>) hold content. So separate any attributes from content with a single pipe (|). Cell content may follow on same line or on following lines.
**Table and row marks (<nowiki>{| and |-</nowiki>) do not directly hold content. Do ''not'' add pipe (|) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parser will delete it ''and'' your final attribute if it was touching the erroneous pipe!
*'''Content''' may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headers, or nested tables, must of course be on its own new line.
==Simple table==
===Plain===
The following table lacks borders and good spacing but shows the simplest wiki markup table structure
{| width="100%"
|width="50%"|
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===Alternative===
For more table-ish looking wiki markup cells can be listed on one line separated by ||. This does not scale well for longer cell content such as paragraphs. It works well for short bits of content however, such as our example table.
Extra spaces within cells in the wiki markup can be added, as I have done in the wiki markup below, to make the wiki markup itself look better but they do not affect the actual table rendering.
HTML attributes can be added to tables on this page but have been left out of the following example for simplicity.
{| width="100%"
|width="50%"|
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
|width="50%"|
<pre>
<nowiki>
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
</nowiki>
</pre>
|}
===With HTML attributes===
You can add HTML attributes to make your table look better
====border="1"====
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====align="center" border="1"====
{| width="100%"
|width="50%"|
{| align="center" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| align="center" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====Attributes on cells ====
You can put attributes on individual '''cells.''' Numbers for example may look better aligned right
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|-
|Butter
|Ice cream
|align="right"|1.00
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|-
|Butter
|Ice cream
|align="right"|1.00
|}
</nowiki>
</pre>
|}
====Attributes on rows====
You can put attributes on individual '''rows,''' too.
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|- style="font-style:italic;color:green;"
|Butter
|Ice cream
|align="right"|1.00
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|- style="font-style:italic;color:green;"
|Butter
|Ice cream
|align="right"|1.00
|}
</nowiki>
</pre>
|}
====cellspacing="0" border="1"====
{| width="100%"
|width="50%"|
{| cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====cellpadding="20" cellspacing="0" border="1"====
{| width="100%"
|width="50%"|
{| cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===With HTML attributes and CSS styles===
CSS style attributes can be added with or without other HTML attributes
====style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing "0" border "1"====
{| width="100%"
|width="50%"|
{| style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Table with TH headings==
TH (HTML table headings) can be created by using ! instead of |. Headings usually show up bold and centered by default.
===Top headings===
====Each column====
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!Yummy
!Yummier
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
!Yummy
!Yummier
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====Colspan="2"====
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!colspan="2"|Yummies
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
! colspan="2"|Yummies
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===Side headings===
====Default====
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!Fruit
|Orange
|Apple
|-
!Dish
|Bread
|Pie
|-
!Complement
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
!Fruit
|Orange
|Apple
|-
!Dish
|Bread
|Pie
|-
!Complement
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====Right justify====
Right justified side headings can be done as follows
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!align="right" |Fruit
|Orange
|Apple
|-
!align="right" |Dish
|Bread
|Pie
|-
!align="right" |Complement
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
!align="right" |Fruit
|Orange
|Apple
|-
!align="right" |Dish
|Bread
|Pie
|-
!align="right" |Complement
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Caption==
A '''table caption''' can be added to the top of any table as follows
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
|+Food complements
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
|+Food complements
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
'''Attributes''' can be added to the caption as follows
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
|+align="bottom" style="color:#e76700;"|''Food complements''
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
|+align="bottom" style="color:#e76700;"|''Food complements''
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Table with H1, H2, H3 etc. headings==
HTML H1, H2, H3, H4 etc. headings can be created the standard wiki markup way with ==equal== signs and '''must be on a line all by themselves''' to work.
'''Preview the whole table.''' If you click on an edit tab for a heading ''within'' a table, edit, and preview, the parent table will display erroneously broken because part of it will be missing.
Keep the heading hierarchy consistent with the rest of the page so that the table of contents at page top works correctly.
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
|colspan="2"|
===Yummiest===
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="3" cellpadding="20" cellspacing="0"
|colspan="2"|
===Yummiest===
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Caveat==
===Negative numbers===
Negative value minus sign can break your table (it may display missing some values) if you start a cell on a new line with a negative number or a parameter that evaluates to a negative number (|-6) because that is the wiki markup for table row, not table cell. To avoid this, insert a space before the value (| -6) or use in-line cell markup (||-6).
== See Also ==
* [[Help Formatting]]
* [[Help Tables]]
[[tags: help]]
@@ -0,0 +1,589 @@
Tables may be authored in wiki pages using either HTML table elements directly, or using wikicode formatting to define the table. HTML table elements and their use are well described on various web pages and will not be discussed here. The benefit of wikicode is that the table is constructed of character symbols which tend to make it easier to perceive the table structure in the article editing view compared to HTML table elements.
As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.
== Wiki table markup summary ==
{|cellpadding="5" cellspacing="0" border="1" width="600"
|<nowiki>{|</nowiki> || '''table start'''
|-
|<nowiki>|+</nowiki> || table '''caption,''' ''optional;'' only between '''table start''' and first '''table row'''
|-
|<nowiki>|-</nowiki> || '''table row,''' ''optional on first row'' -- wiki engine assumes the first row
|-
|<nowiki>!</nowiki> || '''table header''' cell, ''optional.'' Consecutive '''table header''' cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
|-
|<nowiki>|</nowiki> || '''table data''' cell, ''required!'' Consecutive '''table data''' cells may be added on same line separated by double marks (<nowiki>||</nowiki>) or start on new lines, each with its own single mark (<nowiki>|</nowiki>).
|-
|<nowiki>|}</nowiki> || '''table end'''
|}
*The above marks must '''start on a new line''' except the double || and !! for optionally adding consecutive cells to a line.
*'''XHTML attributes.''' Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
**Cells and caption (<nowiki>| or ||, ! or !!, and |+</nowiki>) hold content. So separate any attributes from content with a single pipe (|). Cell content may follow on same line or on following lines.
**Table and row marks (<nowiki>{| and |-</nowiki>) do not directly hold content. Do ''not'' add pipe (|) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parser will delete it ''and'' your final attribute if it was touching the erroneous pipe!
*'''Content''' may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headers, or nested tables, must of course be on its own new line.
==Simple table==
===Plain===
The following table lacks borders and good spacing but shows the simplest wiki markup table structure
{| width="100%"
|width="50%"|
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===Alternative===
For more table-ish looking wiki markup cells can be listed on one line separated by ||. This does not scale well for longer cell content such as paragraphs. It works well for short bits of content however, such as our example table.
Extra spaces within cells in the wiki markup can be added, as I have done in the wiki markup below, to make the wiki markup itself look better but they do not affect the actual table rendering.
HTML attributes can be added to tables on this page but have been left out of the following example for simplicity.
{| width="100%"
|width="50%"|
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
|width="50%"|
<pre>
<nowiki>
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
</nowiki>
</pre>
|}
===With HTML attributes===
You can add HTML attributes to make your table look better
====border="1"====
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====align "center" border "1"====
{| width="100%"
|width="50%"|
{| align="center" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| align="center" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====Attributes on cells ====
You can put attributes on individual '''cells.''' Numbers for example may look better aligned right
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|-
|Butter
|Ice cream
|align="right"|1.00
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|-
|Butter
|Ice cream
|align="right"|1.00
|}
</nowiki>
</pre>
|}
====Attributes on rows====
You can put attributes on individual '''rows,''' too.
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|- style="font-style:italic;color:green;"
|Butter
|Ice cream
|align="right"|1.00
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|- style="font-style:italic;color:green;"
|Butter
|Ice cream
|align="right"|1.00
|}
</nowiki>
</pre>
|}
====cellspacing "0" border "1"====
{| width="100%"
|width="50%"|
{| cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====cellpadding "20" cellspacing "0" border "1"====
{| width="100%"
|width="50%"|
{| cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===With HTML attributes and CSS styles===
CSS style attributes can be added with or without other HTML attributes
====style "color:green;background-color:#ffffcc;" cellpadding "20" cellspacing "0" border "1"====
{| width="100%"
|width="50%"|
{| style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Table with TH headings==
TH (HTML table headings) can be created by using ! instead of |. Headings usually show up bold and centered by default.
===Top headings===
====Each column====
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!Yummy
!Yummier
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
!Yummy
!Yummier
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====Colspan "2"====
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!colspan="2"|Yummies
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
! colspan="2"|Yummies
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===Side headings===
====Default====
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!Fruit
|Orange
|Apple
|-
!Dish
|Bread
|Pie
|-
!Complement
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
!Fruit
|Orange
|Apple
|-
!Dish
|Bread
|Pie
|-
!Complement
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
====Right justify====
Right justified side headings can be done as follows
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
!align="right" |Fruit
|Orange
|Apple
|-
!align="right" |Dish
|Bread
|Pie
|-
!align="right" |Complement
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
!align="right" |Fruit
|Orange
|Apple
|-
!align="right" |Dish
|Bread
|Pie
|-
!align="right" |Complement
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Caption==
A '''table caption''' can be added to the top of any table as follows
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
|+Food complements
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
|+Food complements
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
'''Attributes''' can be added to the caption as follows
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
|+align="bottom" style="color:#e76700;"|''Food complements''
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1" cellpadding="20" cellspacing="0"
|+align="bottom" style="color:#e76700;"|''Food complements''
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Table with H1, H2, H3 etc. headings==
HTML H1, H2, H3, H4 etc. headings can be created the standard wiki markup way with ==equal== signs and '''must be on a line all by themselves''' to work.
'''Preview the whole table.''' If you click on an edit tab for a heading ''within'' a table, edit, and preview, the parent table will display erroneously broken because part of it will be missing.
Keep the heading hierarchy consistent with the rest of the page so that the table of contents at page top works correctly.
{| width="100%"
|width="50%"|
{| border="1" cellpadding="20" cellspacing="0"
|colspan="2"|
===Yummiest===
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="3" cellpadding="20" cellspacing="0"
|colspan="2"|
===Yummiest===
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
==Caveat==
===Negative numbers===
Negative value minus sign can break your table (it may display missing some values) if you start a cell on a new line with a negative number or a parameter that evaluates to a negative number (|-6) because that is the wiki markup for table row, not table cell. To avoid this, insert a space before the value (| -6) or use in-line cell markup (||-6).
== See Also ==
* [[Help Formatting]]
* [[Help Tables]]
[[tags: help]]
@@ -0,0 +1,135 @@
[[Help Formatting]]
[[Help Links]]
[[Help Tables]]
http://www.symantec.com/business/support/documentation.jsp?language=english&view=manuals&pid=15273
----
* Main Page of test doc root
* [[New page]]
* [[2007-03-10 Some title]]
* [[2007-03-31 Some title]]
* [[2008-04-10 Some title]]
[[Table test]]
[[UTF-8]]
http://www.mediawiki.org/wiki/Help:Formatting#Other_formatting
https://secure.blubber
ftp://ftp.blubber.com
file:///E|/mp3list.txt
bla blubber http://www.mediawiki.org/wiki/Help:Links rababer
this is a httpd or something. Maybe this "http://something.com" is better
= Links Test =
[[Non existing page]]
Invalid link: [[Test!/?;"'*]]
[[Main Page|different text]]
[[http://mediawiki.org MediaWiki]]
[[wowhead:item=25000|Item]]
[[sidebar:test]]
[[Content Test]]
= To do Test =
* [ ] open item
* [!] important item
* [x] done item
= Special Characters =
* !
* @
* #
* $
* %
* ^
* &
* *
* ;
* :*
* '
* <
* >
* /*
* ?*
* \
* |
= Formating Test =
''italic text''
'''bold text'''
'''''bold and italic text'''''
:Single indent
::Double indent
::Double second indent
:::::Multiple indent
:::Triple indent
=level 1=
==level 2==
===level 3===
====level 4====
=====level 5=====
======level 6======
* one
* two
* three
** three and one-third
** three and two-thirds
# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two
<nowiki>no "markup"</nowiki>
<nowiki>
# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two
</nowiki>
# one
# two
#* two point one
#* two point two
;Definition
:item 1
::item 2
:item3
preformatted text is done with
a space at the
beginning of the line
This is normal Text <pre> some preformatted text with no indentation </pre> and again normal Text
<tt>Some fixed text</tt>
<!--This is comment-->
[[XML-Syntaxerror]]
[http://error.link.com
@@ -0,0 +1,134 @@
[[Help Formatting]]
[[Help Links]]
[[Help Tables]]
----
* Main Page of test doc root
* [[New page]]
* [[2007-03-10 Some title]]
* [[2007-03-31 Some title]]
* [[2008-04-10 Some title]]
[[Table test]]
[[UTF-8]]
http://www.mediawiki.org/wiki/Help:Formatting#Other_formatting
https://secure.blubber
ftp://ftp.blubber.com
file:///E|/mp3list.txt
bla blubber http://www.mediawiki.org/wiki/Help:Links rababer
this is a httpd or something. Maybe this "http://something.com" is better
= Links Test =
[[Non existing page]]
Invalid link: [[Test!/?;"'*]]
[[Main Page|different text]]
[[http://mediawiki.org MediaWiki]]
[[wowhead:item=25000|Item]]
[[sidebar:test]]
[[Content Test]]
= To do Test =
* [ ] open item
* [!] important item
* [x] done item
= Special Characters =
* !
* @
* #
* $
* %
* ^
* &
* *
* ;
* :*
* '
* <
* >
* /*
* ?*
* \
* |
= Formating Test =
''italic text''
'''bold text'''
'''''bold and italic text'''''
:Single indent
::Double indent
::Double second indent
:::::Multiple indent
:::Triple indent
=level 1=
==level 2==
===level 3===
====level 4====
=====level 5=====
======level 6======
* one
* two
* three
** three and one-third
** three and two-thirds
# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two
<nowiki>no "markup"</nowiki>
<nowiki>
# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two
</nowiki>
# one
# two
#* two point one
#* two point two
;Definition
:item 1
::item 2
:item3
preformatted text is done with
a space at the
beginning of the line
This is normal Text <pre> some preformatted text with no indentation </pre> and again normal Text
<tt>Some fixed text</tt>
<!--This is comment-->
[[XML-Syntaxerror]]
[http://error.link.com
@@ -0,0 +1,137 @@
[[Help Formatting]]
[[Help Links]]
[[Help Tables]]
http://www.symantec.com/business/support/documentation.jsp?language=english&view=manuals&pid=15273
----
* Main Page of test doc root
* [[New page]]
* [[2007-03-10 Some title]]
* [[2007-03-31 Some title]]
* [[2008-04-10 Some title]]
[[Table test]]
[[UTF-8]]
http://www.mediawiki.org/wiki/Help:Formatting#Other_formatting
https://secure.blubber
ftp://ftp.blubber.com
file:///E|/mp3list.txt
bla blubber http://www.mediawiki.org/wiki/Help:Links rababer
this is a httpd or something. Maybe this "http://something.com" is better
= Links Test =
[[Non existing page]]
Invalid link: [[Test!/?;"'*]]
[[Main Page|different text]]
[[http://mediawiki.org MediaWiki]]
[[wowhead:item=25000|Item]]
[[sidebar:test]]
[[Content Test]]
= To do Test =
* [ ] open item
* [!] important item
* [x] done item
= Special Characters =
* !
* @
* #
* $
* %
* ^
* &
* *
* ;
* :*
* '
* <
* >
* /*
* ?*
* \
* |
= Formating Test =
''italic text''
'''bold text'''
'''''bold and italic text'''''
:Single indent
::Double indent
::Double second indent
:::::Multiple indent
:::Triple indent
=level 1=
==level 2==
===level 3===
====level 4====
=====level 5=====
======level 6======
* one
* two
* three
** three and one-third
** three and two-thirds
# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two
<nowiki>no "markup"</nowiki>
<nowiki>
# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two
</nowiki>
# one
# two
#* two point one
#* two point two
;Definition
:item 1
::item 2
:item3
preformatted text is done with
a space at the
beginning of the line
This is normal Text <pre> some preformatted text with no indentation </pre> and again normal Text
<tt>Some fixed text</tt>
<!--This is comment-->
[[XML-Syntaxerror]]
[http://error.link.com
@@ -0,0 +1,138 @@
[[Help Formatting]]
[[Help Links]]
[[Help Tables]]
http://www.symantec.com/business/support/documentation.jsp?language=english&view=manuals&pid=15273
----
* Main Page of test doc root
* [[New page]]
* [[2007-03-10 Some title]]
* [[2007-03-31 Some title]]
* [[2008-04-10 Some title]]
[[Table test]]
[[UTF-8]]
http://www.mediawiki.org/wiki/Help:Formatting#Other_formatting
https://secure.blubber
ftp://ftp.blubber.com
file:///E|/mp3list.txt
bla blubber http://www.mediawiki.org/wiki/Help:Links rababer
this is a httpd or something. Maybe this "http://something.com" is better
= Links Test =
[[Non existing page]]
Invalid link: [[Test!/?;"'*]]
[[Main Page|different text]]
[[http://mediawiki.org MediaWiki]]
[[wowhead:item=25000|Item]]
[[sidebar:test]]
[[Content Test]]
= To do Test =
* [ ] open item
* [!] important item
* [x] done item
= Special Characters =
* !
* @
* #
* $
* %
* ^
* &
* *
* ;
* :*
* '
* <
* >
* /*
* ?*
* \
* |
= Formating Test =
''italic text''
'''bold text'''
'''''bold and italic text'''''
:Single indent
::Double indent
::Double second indent
:::::Multiple indent
:::Triple indent
=level 1=
==level 2==
===level 3===
====level 4====
=====level 5=====
======level 6======
* one
* two
* three
** three and one-third
** three and two-thirds
# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two
<nowiki>no "markup"</nowiki>
<nowiki>
# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two
</nowiki>
# one
# two
#* two point one
#* two point two
;Definition
:item 1
::item 2
:item3
preformatted text is done with
a space at the
beginning of the line
This is normal Text <pre> some preformatted text with no indentation </pre> and again normal Text
<tt>Some fixed text</tt>
<!--This is comment-->
[[XML-Syntaxerror]]
[http://error.link.com
@@ -0,0 +1,15 @@
<span>should be correct</span>
<span style='color:red'>should be red</span>
<span style='color:red">switching quotation marks - incorrect!</span>
<span style='color:red>missing end quotiation mark - incorrect!</span>
<span style='color:blue;font-weight:bold;text-decoration:unterline;'>blue for a change</span>
<span style='color:green;'>trying <span style='font-weight:bold'>nested</span> spans</span>
<span style='text-decoration: underline'>and one with <span style='text-decoration:none>errors</span></span>
<span>test</span>
@@ -0,0 +1,119 @@
Tables may be authored in wiki pages using either HTML table elements directly, or using wikicode formatting to define the table. HTML table elements and their use are well described on various web pages and will not be discussed here. The benefit of wikicode is that the table is constructed of character symbols which tend to make it easier to perceive the table structure in the article editing view compared to HTML table elements.
As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.
== Wiki table markup summary ==
{|cellpadding="5" cellspacing="0" border="1" width="600"
|<nowiki>{|</nowiki> || '''table start'''
|-
|<nowiki>|+</nowiki> || table '''caption,''' ''optional;'' only between '''table start''' and first '''table row'''
|-
|<nowiki>|-</nowiki> || '''table row,''' ''optional on first row'' -- wiki engine assumes the first row
|-
|<nowiki>!</nowiki> || '''table header''' cell, ''optional.'' Consecutive '''table header''' cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
|-
|<nowiki>|</nowiki> || '''table data''' cell, ''required!'' Consecutive '''table data''' cells may be added on same line separated by double marks (<nowiki>||</nowiki>) or start on new lines, each with its own single mark (<nowiki>|</nowiki>).
|-
|<nowiki>|}</nowiki> || '''table end'''
|}
*The above marks must '''start on a new line''' except the double || and !! for optionally adding consecutive cells to a line.
*'''XHTML attributes.''' Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
**Cells and caption (<nowiki>| or ||, ! or !!, and |+</nowiki>) hold content. So separate any attributes from content with a single pipe (|). Cell content may follow on same line or on following lines.
**Table and row marks (<nowiki>{| and |-</nowiki>) do not directly hold content. Do ''not'' add pipe (|) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parser will delete it ''and'' your final attribute if it was touching the erroneous pipe!
*'''Content''' may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headers, or nested tables, must of course be on its own new line.
==Simple table==
===Plain===
The following table lacks borders and good spacing but shows the simplest wiki markup table structure
{| width="100%"
|width="50%"|
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===Alternative===
For more table-ish looking wiki markup cells can be listed on one line separated by ||. This does not scale well for longer cell content such as paragraphs. It works well for short bits of content however, such as our example table.
Extra spaces within cells in the wiki markup can be added, as I have done in the wiki markup below, to make the wiki markup itself look better but they do not affect the actual table rendering.
HTML attributes can be added to tables on this page but have been left out of the following example for simplicity.
{| width="100%"
|width="50%"|
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
|width="50%"|
<pre>
<nowiki>
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
</nowiki>
</pre>
|}
===With HTML attributes===
You can add HTML attributes to make your table look better
====border="1"====
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
@@ -0,0 +1,120 @@
Tables may be authored in wiki pages using either HTML table elements directly, or using wikicode formatting to define the table. HTML table elements and their use are well described on various web pages and will not be discussed here. The benefit of wikicode is that the table is constructed of character symbols which tend to make it easier to perceive the table structure in the article editing view compared to HTML table elements.
As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.
== Wiki table markup summary ==
{|cellpadding="5" cellspacing="0" border="1" width="600"
|<nowiki>{|</nowiki> || '''table start'''
|-
|<nowiki>|+</nowiki> || table '''caption,''' ''optional;'' only between '''table start''' and first '''table row'''
|-
|<nowiki>|-</nowiki> || '''table row,''' ''optional on first row'' -- wiki engine assumes the first row
|-
|<nowiki>!</nowiki> || '''table header''' cell, ''optional.'' Consecutive '''table header''' cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
|-
|<nowiki>|</nowiki> || '''table data''' cell, ''required!'' Consecutive '''table data''' cells may be added on same line separated by double marks (<nowiki>||</nowiki>) or start on new lines, each with its own single mark (<nowiki>|</nowiki>).
|-
|<nowiki>|}</nowiki> || '''table end'''
|}
*The above marks must '''start on a new line''' except the double || and !! for optionally adding consecutive cells to a line.
*'''XHTML attributes.''' Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
**Cells and caption (<nowiki>| or ||, ! or !!, and |+</nowiki>) hold content. So separate any attributes from content with a single pipe (|). Cell content may follow on same line or on following lines.
**Table and row marks (<nowiki>{| and |-</nowiki>) do not directly hold content. Do ''not'' add pipe (|) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parser will delete it ''and'' your final attribute if it was touching the erroneous pipe!
*'''Content''' may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headers, or nested tables, must of course be on its own new line.
==Simple table==
===Plain===
The following table lacks borders and good spacing but shows the simplest wiki markup table structure
{| width="100%"
|width="50%"|
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===Alternative===
For more table-ish looking wiki markup cells can be listed on one line separated by ||. This does not scale well for longer cell content such as paragraphs. It works well for short bits of content however, such as our example table.
Extra spaces within cells in the wiki markup can be added, as I have done in the wiki markup below, to make the wiki markup itself look better but they do not affect the actual table rendering.
HTML attributes can be added to tables on this page but have been left out of the following example for simplicity.
{| width="100%"
|width="50%"|
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
|width="50%"|
<pre>
<nowiki>
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
</nowiki>
</pre>
|}
===With HTML attributes===
You can add HTML attributes to make your table look better
====border "1"====
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
@@ -0,0 +1,121 @@
Tables may be authored in wiki pages using either HTML table elements directly, or using wikicode formatting to define the table. HTML table elements and their use are well described on various web pages and will not be discussed here. The benefit of wikicode is that the table is constructed of character symbols which tend to make it easier to perceive the table structure in the article editing view compared to HTML table elements.
As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.
== Wiki table markup summary ==
{|cellpadding="5" cellspacing="0" border="1" width="600"
|<nowiki>{|</nowiki> || '''table start'''
|-
|<nowiki>|+</nowiki> || table '''caption,''' ''optional;'' only between '''table start''' and first '''table row'''
|-
|<nowiki>|-</nowiki> || '''table row,''' ''optional on first row'' -- wiki engine assumes the first row
|-
|<nowiki>!</nowiki> || '''table header''' cell, ''optional.'' Consecutive '''table header''' cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
|-
|<nowiki>|</nowiki> || '''table data''' cell, ''required!'' Consecutive '''table data''' cells may be added on same line separated by double marks (<nowiki>||</nowiki>) or start on new lines, each with its own single mark (<nowiki>|</nowiki>).
|-
|<nowiki>|}</nowiki> || '''table end'''
|}
*The above marks must '''start on a new line''' except the double || and !! for optionally adding consecutive cells to a line.
*'''XHTML attributes.''' Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
**Cells and caption (<nowiki>| or ||, ! or !!, and |+</nowiki>) hold content. So separate any attributes from content with a single pipe (|). Cell content may follow on same line or on following lines.
**Table and row marks (<nowiki>{| and |-</nowiki>) do not directly hold content. Do ''not'' add pipe (|) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parser will delete it ''and'' your final attribute if it was touching the erroneous pipe!
*'''Content''' may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headers, or nested tables, must of course be on its own new line.
==Simple table==
===Plain===
The following table lacks borders and good spacing but shows the simplest wiki markup table structure
{| width="100%"
|width="50%"|
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===Alternative===
For more table-ish looking wiki markup cells can be listed on one line separated by ||. This does not scale well for longer cell content such as paragraphs. It works well for short bits of content however, such as our example table.
Extra spaces within cells in the wiki markup can be added, as I have done in the wiki markup below, to make the wiki markup itself look better but they do not affect the actual table rendering.
HTML attributes can be added to tables on this page but have been left out of the following example for simplicity.
{| width="100%"
|width="50%"|
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
|width="50%"|
<pre>
<nowiki>
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
</nowiki>
</pre>
|}
===With HTML attributes===
You can add HTML attributes to make your table look better
====border="1"====
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
@@ -0,0 +1,122 @@
Tables may be authored in wiki pages using either HTML table elements directly, or using wikicode formatting to define the table. HTML table elements and their use are well described on various web pages and will not be discussed here. The benefit of wikicode is that the table is constructed of character symbols which tend to make it easier to perceive the table structure in the article editing view compared to HTML table elements.
As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.
== Wiki table markup summary ==
{|cellpadding="5" cellspacing="0" border="1" width="600"
|<nowiki>{|</nowiki> || '''table start'''
|-
|<nowiki>|+</nowiki> || table '''caption,''' ''optional;'' only between '''table start''' and first '''table row'''
|-
|<nowiki>|-</nowiki> || '''table row,''' ''optional on first row'' -- wiki engine assumes the first row
|-
|<nowiki>!</nowiki> || '''table header''' cell, ''optional.'' Consecutive '''table header''' cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
|-
|<nowiki>|</nowiki> || '''table data''' cell, ''required!'' Consecutive '''table data''' cells may be added on same line separated by double marks (<nowiki>||</nowiki>) or start on new lines, each with its own single mark (<nowiki>|</nowiki>).
|-
|<nowiki>|}</nowiki> || '''table end'''
|}
*The above marks must '''start on a new line''' except the double || and !! for optionally adding consecutive cells to a line.
*'''XHTML attributes.''' Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
**Cells and caption (<nowiki>| or ||, ! or !!, and |+</nowiki>) hold content. So separate any attributes from content with a single pipe (|). Cell content may follow on same line or on following lines.
**Table and row marks (<nowiki>{| and |-</nowiki>) do not directly hold content. Do ''not'' add pipe (|) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parser will delete it ''and'' your final attribute if it was touching the erroneous pipe!
*'''Content''' may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headers, or nested tables, must of course be on its own new line.
==Simple table==
===Plain===
The following table lacks borders and good spacing but shows the simplest wiki markup table structure
{| width="100%"
|width="50%"|
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
===Alternative===
For more table-ish looking wiki markup cells can be listed on one line separated by ||. This does not scale well for longer cell content such as paragraphs. It works well for short bits of content however, such as our example table.
Extra spaces within cells in the wiki markup can be added, as I have done in the wiki markup below, to make the wiki markup itself look better but they do not affect the actual table rendering.
HTML attributes can be added to tables on this page but have been left out of the following example for simplicity.
{| width="100%"
|width="50%"|
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
|width="50%"|
<pre>
<nowiki>
{|
| Orange || Apple || more
|-
| Bread || Pie || more
|-
| Butter || Ice cream || and more
|}
</nowiki>
</pre>
|}
===With HTML attributes===
You can add HTML attributes to make your table look better
====border="1"====
{| width="100%"
|width="50%"|
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
|width="50%"|
<pre>
<nowiki>
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream
|}
</nowiki>
</pre>
|}
@@ -0,0 +1,83 @@
Hi,
I think this could be intersting for a lot of people. With the guide below, I'm now able to run wiki in a jar on a USB stick and can share all documents between Linux and Windows boxes.
- download and extract the source package (wiki-in-a-jar.tar.gz)
- following files needs to be changed
file: wiki-in-a-jar/Wiki_in_a_jar/trunk/src/org/rgse/wikiinajar/helpers/TextUtils.java
remove the import lines
import java.io.FileReader;
import java.io.FileWriter;
add the import lines
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.nio.charset.Charset;
modify line 50:
--- BufferedReader reader = new BufferedReader(new FileReader(file));
+++ BufferedReader reader = new BufferedReader(new InputStreamReader(
new FileInputStream(file), Charset.forName("UTF-8")));
modify line 63:
--- PrintWriter out = new PrintWriter(new FileWriter(file));
+++ PrintWriter out = new PrintWriter(new OutputStreamWriter(
new FileOutputStream(file), Charset.forName("UTF-8")));
file: wiki-in-a-jar/Wiki_in_a_jar/trunk/bin/start.cmd
modify line 2:
--- start javaw -jar wiki.in.a.jar 3003
+++ start javaw -Dfile.encoding=UTF-8 -jar wiki.in.a.jar 3003
file: wiki-in-a-jar/Wiki_in_a_jar/trunk/bin/start.sh
modify line 5:
--- java -jar wiki.in.a.jar 3003 &
+++ java -Dfile.encoding=UTF-8 -jar wiki.in.a.jar 3003 &
- change in following files the file enoding
from: <?xml version="1.0" encoding="ISO-8859-1"?>
into: <?xml version="1.0" encoding="UTF-8"?>
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/views/wiki/edit.xml
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/views/wiki/show.xml
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/views/wiki/home.xml
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/views/common/error.xml
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/views/calendar/month.xml
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/views/tag/tree.xml
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/views/index/vcard.xml
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/views/index/wiki.xml
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/views/index/all.xml
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/views/find/pages.xml
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/views/admin/default.xml
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/views/vcard/show.xml
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/skins/default/wiki/edit-article.xsl
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/skins/default/wiki/show-article.xsl
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/skins/default/master.xsl
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/skins/default/common/error.xsl
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/skins/default/common/tag-list.xsl
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/skins/default/common/sub-menu.xsl
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/skins/default/common/root.xsl
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/skins/default/common/main-menu.xsl
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/skins/default/calendar/calendar.xsl
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/skins/default/tagtree/tagtree.xsl
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/skins/default/admin/admin-page.xsl
wiki-in-a-jar/Wiki_in_a_jar/trunk/public/skins/default/vcard/vcard.xsl
(if you have a GNU find and sed command on your system you can change all files in one step)
cd wiki-in-a-jar/Wiki_in_a_jar/trunk/public
find . \( -name "*.xsl" -o -name "*.xml" \) -exec sed -i '1,1 s/ISO-8859-1/UTF-8/g' {} \;
- change into directory wiki-in-a-jar/Wiki_in_a_jar/trunk and compile the project
regards
Frank
@@ -0,0 +1,25 @@
== Heading 2 ==
=== Heading 3 ===
==== Heading 4 ====
Some text.
* List item
** Another one
# Ordered list item
## More...
* [ ] open to do list item
* [!] important open to do list item
* [x] done to do list item
Simple, isn't it?
Always remember you're unique, just like everyone else.
----
* URL: http://wiki-in-a-jar.sourceforge.net/
* Wiki link: [[Main Page]]
* vCard link: [[vcard:Firstname Lastname]]
* Tags: [[tags: metawiki help]] (you can't see them here, but below)
= For more formatting see also =
* [[Help Formatting]]
* [[Help Tables]]
* [[Help Links]]
@@ -0,0 +1,26 @@
== Heading 2 ==
=== Heading 3 ===
==== Heading 4 ====
Some text.
* List item
** Another one
# Ordered list item
## More...
* [ ] open to do list item
* [!] important open to do list item
* [x] done to do list item
Simple, isn't it?
Always remember you're unique, just like everyone else.
----
* URL: http://wiki-in-a-jar.sourceforge.net/
* Wiki link: [[Main Page]]
* vCard link: [[vcard:Firstname Lastname]]
* Tags: [[tags: metawiki help]] (you can't see them here, but below)
=== For more formatting see also ===
* [[Help Formatting]]
* [[Help Tables]]
* [[Help Links]]
@@ -0,0 +1,22 @@
== Heading 2 ==
=== Heading 3 ===
==== Heading 4 ====
Some text.
* List item
** Another one
# Ordered list item
## More...
* [ ] open to do list item
* [!] important open to do list item
* [x] done to do list item
Simple, isn't it?
Always remember you're unique, just like everyone else.
----
* URL: http://wiki-in-a-jar.sourceforge.net/
* Wiki link: [[Main Page]]
* vCard link: [[vcard:Firstname Lastname]]
* Tags: [[tags: metawiki help]] (you can't see them here, but below)
@@ -0,0 +1,52 @@
The primary focus of '''More Wiki in a jar''' is simplicity. That's why everything is stored as plain text. This hopefully ensures that you will be able to read and modify your wiki pages in a time when Web 2.0 is only a distant memory and who knows, maybe even after Web 3.0 has passed?
Go take a look, it's all under: '''public/docs'''. That's the place you want to include in your regular backups (you do have regular backups, don't you?).
== How to... ==
=== ... create a new wiki page ===
* Just create a link to the new page from any other wiki page. If you click on a link to a page that does not exist, it will be created.
=== ... turn a wiki page into an event ===
* All you need to do is add the date of the format ''yyyy-mm-dd'' somewhere in the title
* Example page title:
** ''2007-03-12 Meeting minutes for sales meeting''
** ''Jim's Wedding 2007-06-23''
* The wiki article is then recognized as event (a calendar for that month is shown in the top right corner for that article)
=== ... create a new vCard contact ===
* Export your contact(s) from you favorite e-mail application to the ''vCard'' (.vcf) format and drop the files in ''public/docs/vcard''.
Note that you cannot create or modify contact information in the wiki. That's by design. Chances are high that you already have your contacts listed in multiple of other sources (such as e-mail clients). Imagine the confusion if you would start modifying your contacts in all of these places including the wiki. The idea is to keep (and update) your contacts in a single source and synchronize them with other locations, the wiki being one of them. However, if enough people wish for that feature, I might actually implement it.
==== the good news ====
You can still use wiki formatting in the notes section of you contacts. You can even create links between contacts and wiki pages.
=== ... link wiki pages with contacts and vice versa ===
* There are two different types of pages: wiki pages and contacts. To create links between pages of the same type you simply put the page name (for wiki pages) or vCard file name (usually first and last name) in two square brackets like this: [[Main Page]]
* To create links between the two types, add the type as a prefix, ''vcard:'' for contacts, ''wiki:'' for wiki pages like this: [[vcard:Firstname Lastname]]
=== ... add tags ===
* Remember how to add links? Adding tags is the same idea. Use ''tags:'' followed by a list of tags separated by comma or space surrounded by square brackets.
=== ... use tag trees ===
* That's so exiting, there is a separate page for this: [[Tag Trees]]
=== ... restore a page from the history ===
The wiki keeps up to 3 additional versions besides the current one for a wiki page. They are all stored in the same folder as the wiki pages: ''./public/docs/wiki''. Should you wish to revert to an older version, just remove the number from the file name of the version that you would like to restore.
=== ... use keyboard shortcuts ===
* The wiki uses so called ''access keys'' for most of the common links (home, index, edit, save, etc.). To determine the access key for a link, move the mouse over it and wait for a tooltip, it will show the access key (if there is any).
* Most browsers require you to press ''Alt'' in addition to the access key. So to use the access key for the search bar, ''f'', you would have to press ''Alt-f''.
** Note that the tooltip lists the ''Alt'' key, but this could vary depending on what browser you use.
=== ... search Google from the wiki ===
Yet another secret of the search bar:
* Start the query with a single dot and the search is redirected to Google.
* That allows for quick web searches even if the wiki is set as the browser's home page.
* You can use the access key '''f''' (for ''find'') to focus the search bar. Most browsers use the ''Alt'' key to activate an access key (e.g. ''Alt-f'' to activate the search bar).
=== See also ===
* [[Help Formatting]]
* [[Help Tables]]
* [[Help Links]]
[[tags: metawiki help]]
@@ -0,0 +1,53 @@
The primary focus of '''More Wiki in a jar''' is simplicity. That's why everything is stored as plain text. This hopefully ensures that you will be able to read and modify your wiki pages in a time when Web 2.0 is only a distant memory and who knows, maybe even after Web 3.0 has passed?
Go take a look, it's all under: '''public/docs'''. That's the place you want to include in your regular backups (you do have regular backups, don't you?).
== How to... ==
=== ... create a new wiki page ===
* Just create a link to the new page from any other wiki page. If you click on a link to a page that does not exist, it will be created.
=== ... turn a wiki page into an event ===
* All you need to do is add the date of the format ''yyyy-mm-dd'' somewhere in the title
* Example page title:
** ''2007-03-12 Meeting minutes for sales meeting''
** ''Jim's Wedding 2007-06-23''
* The wiki article is then recognized as event (a calendar for that month is shown in the top right corner for that article)
=== ... create a new vCard contact ===
* Export your contact(s) from you favorite e-mail application to the ''vCard'' (.vcf) format and drop the files in ''public/docs/vcard''.
Note that you cannot create or modify contact information in the wiki. That's by design. Chances are high that you already have your contacts listed in multiple of other sources (such as e-mail clients). Imagine the confusion if you would start modifying your contacts in all of these places including the wiki. The idea is to keep (and update) your contacts in a single source and synchronize them with other locations, the wiki being one of them. However, if enough people wish for that feature, I might actually implement it.
==== the good news ====
You can still use wiki formatting in the notes section of you contacts. You can even create links between contacts and wiki pages.
=== ... link wiki pages with contacts and vice versa ===
* There are two different types of pages: wiki pages and contacts. To create links between pages of the same type you simply put the page name (for wiki pages) or vCard file name (usually first and last name) in two square brackets like this: [[Main Page]]
* To create links between the two types, add the type as a prefix, ''vcard:'' for contacts, ''wiki:'' for wiki pages like this: [[vcard:Firstname Lastname]]
=== ... add tags ===
* Remember how to add links? Adding tags is the same idea. Use ''tags:'' followed by a list of tags separated by comma or space surrounded by square brackets.
=== ... use tag trees ===
* That's so exiting, there is a separate page for this: [[Tag Trees]]
=== ... restore a page from the history ===
The wiki keeps up to 3 additional versions besides the current one for a wiki page. They are all stored in the same folder as the wiki pages: ''./public/docs/wiki''. Should you wish to revert to an older version, just remove the number from the file name of the version that you would like to restore.
=== ... use keyboard shortcuts ===
* The wiki uses so called ''access keys'' for most of the common links (home, index, edit, save, etc.). To determine the access key for a link, move the mouse over it and wait for a tooltip, it will show the access key (if there is any).
* Most browsers require you to press ''Alt'' in addition to the access key. So to use the access key for the search bar, ''f'', you would have to press ''Alt-f''.
** Note that the tooltip lists the ''Alt'' key, but this could vary depending on what browser you use.
=== ... search Google from the wiki ===
Yet another secret of the search bar:
* Start the query with a single dot and the search is redirected to Google.
* That allows for quick web searches even if the wiki is set as the browser's home page.
* You can use the access key '''f''' (for ''find'') to focus the search bar. Most browsers use the ''Alt'' key to activate an access key (e.g. ''Alt-f'' to activate the search bar).
=== See also ===
* [[Help Formatting]]
* [[Help Tables]]
* [[Help Links]]
[[tags: metawiki help]]
@@ -0,0 +1,49 @@
The primary focus of '' More Wiki in a jar'' is simplicity. That's why everything is stored as plain text. This hopefully ensures that you will be able to read and modify your wiki pages in a time when Web 2.0 is only a distant memory and who knows, maybe even after Web 3.0 has passed?
Go take a look, it's all under: '''public/docs'''. That's the place you want to include in your regular backups (you do have regular backups, don't you?).
== How to... ==
=== ... create a new wiki page ===
* Just create a link to the new page from any other wiki page. If you click on a link to a page that does not exist, it will be created.
=== ... turn a wiki page into an event ===
* All you need to do is add the date of the format ''yyyy-mm-dd'' somewhere in the title
* Example page title:
** ''2007-03-12 Meeting minutes for sales meeting''
** ''Jim's Wedding 2007-06-23''
* The wiki article is then recognized as event (a calendar for that month is shown in the top right corner for that article)
=== ... create a new vCard contact ===
* Export your contact(s) from you favorite e-mail application to the ''vCard'' (.vcf) format and drop the files in ''public/docs/vcard''.
Note that you cannot create or modify contact information in the wiki. That's by design. Chances are high that you already have your contacts listed in multiple of other sources (such as e-mail clients). Imagine the confusion if you would start modifying your contacts in all of these places including the wiki. The idea is to keep (and update) your contacts in a single source and synchronize them with other locations, the wiki being one of them. However, if enough people wish for that feature, I might actually implement it.
==== the good news ====
You can still use wiki formatting in the notes section of you contacts. You can even create links between contacts and wiki pages.
=== ... link wiki pages with contacts and vice versa ===
* There are two different types of pages: wiki pages and contacts. To create links between pages of the same type you simply put the page name (for wiki pages) or vCard file name (usually first and last name) in two square brackets like this: [[Main Page]]
* To create links between the two types, add the type as a prefix, ''vcard:'' for contacts, ''wiki:'' for wiki pages like this: [[vcard:Firstname Lastname]]
=== ... add tags ===
* Remember how to add links? Adding tags is the same idea. Use ''tags:'' followed by a list of tags separated by comma or space surrounded by square brackets.
=== ... use tag trees ===
* That's so exiting, there is a separate page for this: [[Tag Trees]]
=== ... restore a page from the history ===
The wiki keeps up to 3 additional versions besides the current one for a wiki page. They are all stored in the same folder as the wiki pages: ''./public/docs/wiki''. Should you wish to revert to an older version, just remove the number from the file name of the version that you would like to restore.
=== ... use keyboard shortcuts ===
* The wiki uses so called ''access keys'' for most of the common links (home, index, edit, save, etc.). To determine the access key for a link, move the mouse over it and wait for a tooltip, it will show the access key (if there is any).
* Most browsers require you to press ''Alt'' in addition to the access key. So to use the access key for the search bar, ''f'', you would have to press ''Alt-f''.
** Note that the tooltip lists the ''Alt'' key, but this could vary depending on what browser you use.
=== ... search Google from the wiki ===
Yet another secret of the search bar:
* Start the query with a single dot and the search is redirected to Google.
* That allows for quick web searches even if the wiki is set as the browser's home page.
* You can use the access key '''f''' (for ''find'') to focus the search bar. Most browsers use the ''Alt'' key to activate an access key (e.g. ''Alt-f'' to activate the search bar).
[[tags: metawiki help]]
@@ -0,0 +1,15 @@
http://www.symantec.com/business/support/documentation.jsp?language=english&view=manuals&pid=15273
[http://www.symantec.com/business/support/documentation.jsp?language=english&view=manuals&pid=15273]
[http://www.symantec.com/business/support/documentation.jsp?language=english&view=manuals&pid=15273 bla]
=XML-Syntaxerror=
The rendering of the wiki page had an XML-Syntax error. Use the edit function to find the wiki syntax that created the error.
To localize the problem see SAX error message and stack trace. If you are not sure which element causes the error try to use <nowiki> tags to disable wiki formatting on some of the text parts.
If you are sure that the error is caused of an defect in the wiki renderer, then please go to http://morewikiinajar.sourceforge.net/ and use the bug reporting system.
----
@@ -0,0 +1,13 @@
http://www.symantec.com/business/support/documentation.jsp?language=english&view=manuals&pid=15273
=XML-Syntaxerror=
The rendering of the wiki page had an XML-Syntax error. Use the edit function to find the wiki syntax that created the error.
To localize the problem see SAX error message and stack trace. If you are not sure which element causes the error try to use <nowiki> tags to disable wiki formatting on some of the text parts.
If you are sure that the error is caused of an defect in the wiki renderer, then please go to http://morewikiinajar.sourceforge.net/ and use the bug reporting system.
----
@@ -0,0 +1,11 @@
=XML-Syntaxerror=
The rendering of the wiki page had an XML-Syntax error. Use the edit function to find the wiki syntax that created the error.
To localize the problem see SAX error message and stack trace. If you are not sure which element causes the error try to use <nowiki> tags to disable wiki formatting on some of the text parts.
If you are sure that the error is caused of an defect in the wiki renderer, then please go to http://morewikiinajar.sourceforge.net/ and use the bug reporting system.
----
@@ -0,0 +1,12 @@
=XML-Syntaxerror=
The rendering of the wiki page had an XML-Syntax error. Use the edit function to find the wiki syntax that created the error.
To localize the problem see SAX error message and stack trace. If you are not sure which element causes the error try to use <nowiki> tags to disable wiki formatting on some of the text parts.
If you are sure that the error is caused of an defect in the wiki renderer, then please go to http://morewikiinajar.sourceforge.net/ and use the bug reporting system.
---