Difference between revisions of "Example article"

From DIYWiki
Jump to navigation Jump to search
Line 3: Line 3:
  
 
This is an example article showing a structure which may be used in wiki pages.
 
This is an example article showing a structure which may be used in wiki pages.
If you edit this page (using the '''edit''' tab at the top of the page) you can see the markup used to create this formatting. (You can use your browser's '''back''' button or the '''cancel''' link at the bottom of the edit page to leave the editing page without saving changes.)
+
If you edit this page (using the '''edit''' tab at the top of the page, '''not''' the edit links at the right hand side) you can see the markup used to create this formatting. (You can use your browser's '''back''' button or the '''cancel''' link at the bottom of the edit page to leave the editing page without saving changes.)
  
 
You can use this page as a template for a new article by copying the contents of the edit box into your new article's edit box. Control-A followed by Control-C does this easily on many platforms.
 
You can use this page as a template for a new article by copying the contents of the edit box into your new article's edit box. Control-A followed by Control-C does this easily on many platforms.
Line 13: Line 13:
 
More text
 
More text
  
== Subheading ==
+
== Another Level 2 Subheading ==
  
=== Sub-subheading: level 3 === <!-- Don't skip levels e.g. to ==== sub-sub-subheading ==== -->
+
=== A Level 3 Sub-subheading === <!-- Don't skip levels e.g. to ==== level 4 ==== -->
  
==== Sub-sub-subheading: level 4 ====
+
==== Level 4 Sub-sub-subheading ====
 
Even more text here
 
Even more text here
  
Line 34: Line 34:
 
## item three point one
 
## item three point one
  
Normal text again
+
Here's a ''definition list'':
 +
; Word : Definition of the word
 +
; A longer phrase needing definition
 +
: Phrase defined
 +
; A word : Which has a definition
 +
: Also a second one
 +
: And even a third
 +
 
 +
<!-- Begin with a semicolon. One item per line;
 +
a newline can appear before the colon, but
 +
using a space before the colon improves
 +
parsing. -->
 +
 
 +
== Other formatting ==
  
 
  Text in a box.
 
  Text in a box.
 +
 +
<blockquote>
 +
The '''blockquote''' command will indent
 +
both margins.
 +
</blockquote>
  
 
Normal text again
 
Normal text again

Revision as of 13:30, 19 December 2006


This is an example article showing a structure which may be used in wiki pages. If you edit this page (using the edit tab at the top of the page, not the edit links at the right hand side) you can see the markup used to create this formatting. (You can use your browser's back button or the cancel link at the bottom of the edit page to leave the editing page without saving changes.)

You can use this page as a template for a new article by copying the contents of the edit box into your new article's edit box. Control-A followed by Control-C does this easily on many platforms.


Subheading: Level 2

More text

Another Level 2 Subheading

A Level 3 Sub-subheading

Level 4 Sub-sub-subheading

Even more text here

Lists

A bulleted list

  • this
    • more of this
  • that
  • the other
    • a bit of the other

A numbered list

  1. Item one
  2. Item two
  3. Item three
    1. item three point one

Here's a definition list:

Word
Definition of the word
A longer phrase needing definition
Phrase defined
A word
Which has a definition
Also a second one
And even a third


Other formatting

Text in a box.

The blockquote command will indent both margins.

Normal text again

Tables

Column 2 heading Column 3 heading Column 4 heading
Row heading row 1, col 2 row 1, col 3 row 1, col 4
Row 2 row 2, col 2 row 2, col 3 row 2, col 4
row 3, col 2 row 3, col 3 row 3, col 4