VDR Wiki:The wiki markup: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
m (fixes)
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
==Text formatting rules==
==Text formatting rules==
{| width="100%" border="1" cellspacing="0"
{| width="100%" class="wikitable"
|----- valign="top"
|----- valign="top"
! width="50%" | What it look like
! width="50%" | What it look like
! width="50%" bgcolor=#F8F2D0 | What one type
! width="50%" | What one type
|----- valign="top"
|----- valign="top"
| style="padding:3px" |
| style="padding:3px" |
Line 11: Line 11:


'''''Italic and bold'''''
'''''Italic and bold'''''
| style="padding:3px;padding-left:5pxf" bgcolor=#F8F2D0 |
| style="padding:3px;padding-left:5pxf" bgcolor=#efefff |
<nowiki>''Italic''</nowiki>
<nowiki>''Italic''</nowiki>


Line 20: Line 20:
| 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.
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 |
| style="padding:3px;padding-left:5px" bgcolor=#efefff |
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.
Line 26: Line 26:


==Sectioning==
==Sectioning==
{| width="100%" border="1" cellspacing="0"
{| width="100%" class="wikitable"
|----- valign="top"
|----- valign="top"
! width="50%" | What it look like
! width="50%" | What it look like
! width="50%" bgcolor=#F8F2D0 | What one type
! width="50%" | What one type
|----- valign="top"
|----- valign="top"
| style="padding:3px" |
| style="padding:3px" |
Line 35: Line 35:
===Subsection===
===Subsection===
====Sub-subsection====
====Sub-subsection====
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 |
| style="padding:3px;padding-left:5px" bgcolor=#efefff |
==New section==
==New section==
===Subsection===
===Subsection===
Line 49: Line 49:


A line break can<br/>be forced.
A line break can<br/>be forced.
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 |
| style="padding:3px;padding-left:5px" bgcolor=#efefff |
<pre>
<pre>
One single <nowiki>'''line break'''</nowiki>
One single <nowiki>'''line break'''</nowiki>
Line 63: Line 63:


==Varies sorts of lists==
==Varies sorts of lists==
{| width="100%" border="1" cellspacing="0"
{| width="100%" class="wikitable"
|----- valign="top"
|----- valign="top"
! width="50%" | What it look like
! width="50%" | What it look like
! width="50%" bgcolor=#F8F2D0 | What one type
! width="50%" | What one type
|----- valign="top"
|----- valign="top"
| style="padding:3px" |
| style="padding:3px" |
Line 74: 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=#efefff |
* Lists are easy to do:
* Lists are easy to do:
** Start every line with a star.
** Start every line with a star.
Line 85: Line 85:
## very organized
## very organized
## easy to follow
## easy to follow
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 |
| style="padding:3px;padding-left:5px" bgcolor=#efefff |
# Numbered lists are also good
# Numbered lists are also good
## very organized
## very organized
Line 95: Line 95:
; another item
; another item
: the other item's definition
: the other item's definition
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 |
| style="padding:3px;padding-left:5px" bgcolor=#efefff |
; Definition list : list of definitions
; Definition list : list of definitions
; item : the item's definition
; item : the item's definition
Line 105: Line 105:
::a line or paragraph.
::a line or paragraph.
A manual newline starts a new paragraph.
A manual newline starts a new paragraph.
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 |
| style="padding:3px;padding-left:5px" bgcolor=#efefff |
: A colon indents
: A colon indents
::a line or paragraph.
::a line or paragraph.
Line 114: Line 114:
*# and nest them
*# and nest them
*#* like this
*#* like this
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 |
| style="padding:3px;padding-left:5px" bgcolor=#efefff |
* You can even do mixed lists
* You can even do mixed lists
*# and nest them
*# and nest them
Line 122: Line 122:


==Preformatted Text==
==Preformatted Text==
{| width="100%" border="1" cellspacing="0"
{| width="100%" class="wikitable"
|----- valign="top"
|----- valign="top"
! width="50%" | What it look like
! width="50%" | What it look like
! width="50%" bgcolor=#F8F2D0 | What one type
! width="50%" | What one type
|----- valign="top"
|----- valign="top"
| style="padding:3px" |
| style="padding:3px" |
Line 140: Line 140:
* [[ASCII art]];
* [[ASCII art]];
* chemical structures;
* chemical structures;
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 |
| style="padding:3px;padding-left:5px" bgcolor=#efefff |
IF a line starts with a space THEN
IF a line starts with a space THEN
it will be formatted exactly
it will be formatted exactly
Line 156: Line 156:


==Alignment==
==Alignment==
{| width="100%" border="1" cellspacing="0"
{| width="100%" class="wikitable"
|----- valign="top"
|----- valign="top"
! width="50%" | What it look like
! width="50%" | What it look like
! width="50%" bgcolor=#F8F2D0 | What one type
! width="50%" | What one type
|----- valign="top"
|----- valign="top"
| style="padding:3px" |
| style="padding:3px" |
<div align="center">'''Text align: center'''.</div>
<div align="center">'''Text align: center'''.</div>
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 |
| style="padding:3px;padding-left:5px" bgcolor=#efefff |
<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=#efefff |
<nowiki><div align="right"><nowiki>'''Text align: right'''<nowiki>.</div></nowiki>
<nowiki><div align="right"></nowiki>'''Text align: right'''<nowiki>.</div></nowiki>
|}
|}


==Miscellaneous==
==Miscellaneous==
{| width="100%" border="1" cellspacing="0"
{| width="100%" class="wikitable"
|----- valign="top"
|----- valign="top"
! width="50%" | What it look like
! width="50%" | What it look like
! width="50%" bgcolor=#F8F2D0 | What one type
! width="50%" | What one type
|----- valign="top"
|----- valign="top"
| style="padding:3px" |
| style="padding:3px" |
Line 182: Line 182:
----
----
and after.
and after.
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 |
| style="padding:3px;padding-left:5px" bgcolor=#efefff |
A <nowiki>'''horizontal line'''</nowiki>: Text before
A <nowiki>'''horizontal line'''</nowiki>: Text before
----
----
Line 190: Line 190:
'''Comments''' <br/>
'''Comments''' <br/>
Some text end a <!-- hidden comment -->
Some text end a <!-- hidden comment -->
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 |
| style="padding:3px;padding-left:5px" bgcolor=#efefff |
<nowiki>'''Comments''' <br/></nowiki>
<nowiki>'''Comments''' <br/></nowiki>
Some text and a <nowiki><!-- hidden comment --></nowiki>
Some text and a <nowiki><!-- hidden comment --></nowiki>
Line 196: Line 196:
| style="padding:3px" |
| style="padding:3px" |
<nowiki>This [[wiki syntax]] is [[Ignore|ignored]]</nowiki>
<nowiki>This [[wiki syntax]] is [[Ignore|ignored]]</nowiki>
| style="padding:3px;padding-left:5px" bgcolor=#F8F2D0 |
| style="padding:3px;padding-left:5px" bgcolor=#efefff |
<pre><nowiki>
<pre><nowiki>
<nowiki>This [[wiki syntax]] is [[Ignore|ignored]]</nowiki>
<nowiki>This [[wiki syntax]] is [[Ignore|ignored]]</nowiki>
Line 205: Line 205:


[[de:VDR Wiki:Textgestaltung]]
[[de:VDR Wiki:Textgestaltung]]
[[ru:RuVDRWiki:Оформление статьи]]

Latest revision as of 21:12, 5 November 2009

Text formatting rules

What it look like What one type

Italic

Bold

Italic and bold

''Italic''
'''Bold'''
'''''Italic and bold'''''

You can strike out and underline words.

You can <strike>strike out</strike> 
 and <u>underline</u> words.

Sectioning

What it look like What one type

New section

Subsection

Sub-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
be forced.

 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
  • 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.

* 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.
  1. Numbered lists are also good
    1. very organized
    2. easy to follow
# 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
; Definition list : list of definitions
; item : the item's definition
; another item
: the other item's definition
A colon indents
a line or paragraph.

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
    1. and nest them
      • like this
* 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">Text align: center.</div>
Text align: right.
<div align="right">Text align: right.</div>

Miscellaneous

What it look like What one type

A horizontal line: Text before


and after.

A '''horizontal line''': Text before
----
and after.

Comments
Some text end a

'''Comments''' <br/>
Some text and a <!-- hidden comment -->

This [[wiki syntax]] is [[Ignore|ignored]]

 <nowiki>This [[wiki syntax]] is [[Ignore|ignored]]
</nowiki>