Difference between revisions of "Example article"

From DIYWiki
Jump to navigation Jump to search
(external link added)
m (change category to Wiki)
Line 68: Line 68:
 
== Tables==
 
== Tables==
  
{| border
+
{| border=1; cellpadding=6 <!-- border: 1 is on, 0 is off; cellpadding is space (pixels) between text and border -->
 
! <!-- blank -->
 
! <!-- blank -->
! Column 2 heading
+
! Column 2 <!-- A ! at the beginning of the line makes a row or column heading (in bold) -->
! Column 3 heading
+
! Column 3
! Column 4 heading
+
! Column 4
 
|-
 
|-
! Row heading
+
! Row 1
 
| row 1, col 2
 
| row 1, col 2
 
| row 1, col 3
 
| row 1, col 3
 
| row 1, col 4
 
| row 1, col 4
 
|-
 
|-
| Row 2
+
! Row 2
 
| row 2, col 2
 
| row 2, col 2
 
| row 2, col 3
 
| row 2, col 3
Line 90: Line 90:
 
|}
 
|}
  
[[Category:Examples]]
+
[[Category:Wiki]]

Revision as of 10:59, 8 March 2007


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

Links

A link to an article: Main Page

A link to an article where the link text is different from the article name: this links to the main page

Link to external webpage with text 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

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 Column 3 Column 4
Row 1 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