VDR Wiki:The wiki markup: Difference between revisions
Jump to navigation
Jump to search
m (german link) |
(structure) |
||
Line 1: | Line 1: | ||
==Text formatting rules== |
|||
'''Simple possibilities of text design''' |
|||
{| width="100%" border="1" cellspacing="0" |
{| width="100%" border="1" cellspacing="0" |
||
|----- valign="top" |
|----- valign="top" |
||
Line 5: | Line 5: | ||
! width="50%" bgcolor=#F8F2D0 | What one type |
! width="50%" bgcolor=#F8F2D0 | What one type |
||
|----- valign="top" |
|----- valign="top" |
||
| style="padding:3px" | |
| style="padding:3px" | |
||
''Italic'' |
''Italic'' |
||
Line 19: | Line 18: | ||
<nowiki>'''''Italic and bold'''''</nowiki> |
<nowiki>'''''Italic and bold'''''</nowiki> |
||
|----- valign="top" |
|----- valign="top" |
||
| style="padding:3px" | |
| style="padding:3px" | |
||
You can <strike>strike out</strike> and <u>underline</u> words. |
You can <strike>strike out</strike> and <u>underline</u> words. |
||
Line 25: | Line 23: | ||
You can <nowiki><strike>strike out</strike> |
You can <nowiki><strike>strike out</strike> |
||
and <u>underline</u></nowiki> words. |
and <u>underline</u></nowiki> words. |
||
|} |
|||
⚫ | |||
==Sectioning== |
|||
{| width="100%" border="1" cellspacing="0" |
|||
⚫ | |||
! width="50%" | What it look like |
|||
! width="50%" bgcolor=#F8F2D0 | What one type |
|||
⚫ | |||
| style="padding:3px" | |
| style="padding:3px" | |
||
== New section == |
== New section == |
||
Line 36: | Line 40: | ||
==== Sub-subsection ==== |
==== Sub-subsection ==== |
||
|----- valign="top" |
|----- valign="top" |
||
| style="padding:3px" | |
| style="padding:3px" | |
||
One single '''line break''' |
One single '''line break''' |
||
Line 57: | Line 60: | ||
A line break can<nowiki><br/></nowiki>be forced. |
A line break can<nowiki><br/></nowiki>be forced. |
||
</pre> |
</pre> |
||
|} |
|||
⚫ | |||
==Varies sorts of lists== |
|||
{| width="100%" border="1" cellspacing="0" |
|||
⚫ | |||
! width="50%" | What it look like |
|||
! width="50%" bgcolor=#F8F2D0 | What one type |
|||
⚫ | |||
| style="padding:3px" | |
| style="padding:3px" | |
||
* Lists are easy to do: |
* Lists are easy to do: |
||
Line 65: | Line 74: | ||
**** A newline in a list |
**** A newline in a list |
||
marks the end of a list item. |
marks the end of a list item. |
||
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 | |
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 | |
||
* Lists are easy to do: |
* Lists are easy to do: |
||
Line 72: | Line 80: | ||
**** A newline in a list |
**** A newline in a list |
||
marks the end of a list item. |
marks the end of a list item. |
||
|----- valign="top" |
|----- valign="top" |
||
| style="padding:3px" | |
| style="padding:3px" | |
||
# Numbered lists are also good |
# Numbered lists are also good |
||
Line 84: | Line 90: | ||
## easy to follow |
## easy to follow |
||
|----- valign="top" |
|----- valign="top" |
||
| style="padding:3px" | |
| style="padding:3px" | |
||
; Definition list : list of definitions |
; Definition list : list of definitions |
||
Line 96: | Line 101: | ||
: the other item's definition |
: the other item's definition |
||
|----- valign="top" |
|----- valign="top" |
||
| style="padding:3px" | |
| style="padding:3px" | |
||
: A colon indents |
: A colon indents |
||
Line 106: | Line 110: | ||
A manual newline starts a new paragraph. |
A manual newline starts a new paragraph. |
||
|----- valign="top" |
|----- valign="top" |
||
| style="padding:3px" | |
| style="padding:3px" | |
||
* You can even do mixed lists |
* You can even do mixed lists |
||
Line 115: | Line 118: | ||
*# and nest them |
*# and nest them |
||
*#* like this |
*#* like this |
||
|} |
|||
⚫ | |||
==Preformatted Text== |
|||
{| width="100%" border="1" cellspacing="0" |
|||
⚫ | |||
! width="50%" | What it look like |
|||
! width="50%" bgcolor=#F8F2D0 | What one type |
|||
|----- valign="top" |
|||
| style="padding:3px" | |
| style="padding:3px" | |
||
IF a line starts with a space THEN |
IF a line starts with a space THEN |
||
Line 143: | Line 153: | ||
* <nowiki>[[ASCII art]]</nowiki>; |
* <nowiki>[[ASCII art]]</nowiki>; |
||
* chemical structures; |
* chemical structures; |
||
|} |
|||
⚫ | |||
==Alignment== |
|||
{| width="100%" border="1" cellspacing="0" |
|||
|----- valign="top" |
|||
! width="50%" | What it look like |
|||
! width="50%" bgcolor=#F8F2D0 | What one type |
|||
|----- valign="top" |
|||
| style="padding:3px" | |
| style="padding:3px" | |
||
<div align="center">'''Text align: center'''.</div> |
<div align="center">'''Text align: center'''.</div> |
||
Line 150: | Line 166: | ||
<nowiki><div align="center"><nowiki>'''Text align: center'''</nowiki>.</div></nowiki> |
<nowiki><div align="center"><nowiki>'''Text align: center'''</nowiki>.</div></nowiki> |
||
|----- valign="top" |
|----- valign="top" |
||
| style="padding:3px" | |
| style="padding:3px" | |
||
<div align="right">'''Text align: right'''.</div> |
<div align="right">'''Text align: right'''.</div> |
||
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 | |
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 | |
||
<nowiki><div align="right"><nowiki>'''Text align: right'''<nowiki>.</div></nowiki> |
<nowiki><div align="right"><nowiki>'''Text align: right'''<nowiki>.</div></nowiki> |
||
|} |
|||
⚫ | |||
==Miscellaneous== |
|||
{| width="100%" border="1" cellspacing="0" |
|||
|----- valign="top" |
|||
! width="50%" | What it look like |
|||
! width="50%" bgcolor=#F8F2D0 | What one type |
|||
|----- valign="top" |
|||
| style="padding:3px" | |
| style="padding:3px" | |
||
A '''horizontal line''': Text |
A '''horizontal line''': Text before |
||
---- |
---- |
||
and after. |
and after. |
||
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 | |
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 | |
||
A <nowiki>'''horizontal line'''</nowiki>: Text |
A <nowiki>'''horizontal line'''</nowiki>: Text before |
||
---- |
---- |
||
and after. |
and after. |
||
|----- valign="top" |
|----- valign="top" |
||
| style="padding:3px" | |
| style="padding:3px" | |
||
'''Comments''' <br/> |
'''Comments''' <br/> |
||
Line 174: | Line 194: | ||
Some text and a <nowiki><!-- hidden comment --></nowiki> |
Some text and a <nowiki><!-- hidden comment --></nowiki> |
||
|----- valign="top" |
|----- valign="top" |
||
| style="padding:3px" | |
| style="padding:3px" | |
||
<nowiki>This [[wiki syntax]] is [[Ignore|ignored]]</nowiki> |
<nowiki>This [[wiki syntax]] is [[Ignore|ignored]]</nowiki> |
Revision as of 10:02, 25 September 2004
Text formatting rules
What it look like | What one type |
---|---|
Italic Bold Italic and bold |
''Italic'' '''Bold''' '''''Italic and bold''''' |
You can |
You can <strike>strike out</strike> and <u>underline</u> words. |
Sectioning
What it look like | What one type |
---|---|
New sectionSubsectionSub-subsection |
== New section == === Subsection === ==== Sub-subsection ==== |
One single line break is ignored. But a single empty line creates a new break. A line break can |
One single '''line break''' is ignored. But a single empty line creates a new break. A line break can<br/>be forced. |
Varies sorts of lists
What it look like | What one type |
---|---|
marks the end of a list item. |
* Lists are easy to do: ** Start every line with a star. *** More stars means deeper levels. **** A newline in a list marks the end of a list item. |
|
# Numbered lists are also good ## very organized ## easy to follow |
|
; Definition list : list of definitions ; item : the item's definition ; another item : the other item's definition |
A manual newline starts a new paragraph. |
: A colon indents ::a line or paragraph. A manual newline starts a new paragraph. |
|
* You can even do mixed lists *# and nest them *#* like this |
Preformatted Text
What it look like | What one type |
---|---|
IF a line starts with a space THEN it will be formatted exactly as typed; in a fixed-width font; lines won't wrap; ENDIF this is useful for: * pasting preformatted text; * algorithm descriptions; * program source code; * ASCII art; * chemical structures; |
IF a line starts with a space THEN it will be formatted exactly as typed; in a fixed-width font; lines won't wrap; ENDIF this is useful for: * pasting preformatted text; * algorithm descriptions; * program source code; * [[ASCII art]]; * chemical structures; |
Alignment
What it look like | What one type |
---|---|
Text align: center.
|
<div align="center"><nowiki>'''Text align: center'''.</nowiki> |
Text align: right.
|
<div align="right"><nowiki>'''Text align: right'''<nowiki>.</div> |
Miscellaneous
What it look like | What one type |
---|---|
A horizontal line: Text before and after. |
A '''horizontal line''': Text before ---- and after. |
Comments |
'''Comments''' <br/> Some text and a <!-- hidden comment --> |
This [[wiki syntax]] is [[Ignore|ignored]] |
<nowiki>This [[wiki syntax]] is [[Ignore|ignored]] </nowiki> |