RationalWiki:Help/Tables

From RationalWiki

Jump to: navigation, search

Contents

[edit] In html

Tables can be written in wikitalk but I find it a bit difficult and find it easier to use html:

<table width="75%" border="1">

<tr>
<td> 1.1</td>
<td> 1.2</td>
<td> 1.3</td>
</tr>
<tr>
<td> 2.1</td>
<td> 2.2</td>
<td> 2.3</td>
</tr>


<tr>
<td> 3.1</td>
<td> 3.2</td>
<td> 3.3</td>
</tr>

</table>

This produces the 3 x 3 table:

 1.1  1.2  1.3
 2.1  2.2  2.3
 3.1  3.2  3.3

(If you really want a laugh look at this page in 'edit' mode, nowikis anyone? )

Although not recommended this works and comes more naturally to me.

(Sneaky way to create a table:

With Dreamweaver or some similar prog design your table there & copy/paste the code into your page.)

[edit] In wiki

[edit] Worthless Table

{| | A | B | C |- | D | E | F |- | G | H | I |} produces:

A B C
D E F
G H I

[edit] Slightly Proficient Table

{| class="wikitable" style="text-align:center" |+{Text} |- ! X !! A !! A !! A |- ! A | A || A || A |- ! A | A || A || A |- ! A | A || A || A |- ! A | A || A || A |- ! A | A || A || A |} produces:

{Text}
X A A A
A A A A
A A A A
A A A A
A A A A
A A A A

[edit] Another Slightly Proficient Table

{| style="width:75%; height:200px" border="1" |- | A || B || C |- style="height:100px" | D || style="width:100px" |E || F |- | G || H || I |} produces:

A B C
D E F
G H I

Note, these are usually entered with a new line for each "|" symbol, or at least each "|-", to make them easier to work on.

Wiki method courtesy of: -Icewedge 13:27, 22 May 2007 (CDT)


Help pages for RationalWiki

Help

- RationalWiki -- Blocking -- Comments -- Standards -- Jargon -- Main help page -- Templates -- Bored -- Listing your creations -- Colors -- Image copyright -- Cover story -- Edit summary -- Summary abbreviations -- Editing etiquette -- Navigation -- Day counter -- Copying code -- Image -- Links -- Lists -- Lurking -- Common mistakes -- Namespaces -- Writing a new article -- Titling pages -- Permanent links -- Quotations -- Link colors -- References -- Why register -- Headers and sections -- TOC (table of contents) -- Template list -- Toolbar -- Watchlist -- Wikipedia help files -- Wiki language -- Signatures -- Vandalism -- A Newcomers' Guide -- Whitewash (the project) -- Side by side comparison -- Sysop guide -- Userboxen -
Personal tools