Template talk:Prettytable

From GTAMods Wiki
Revision as of 12:43, 6 March 2006 by Cerbera (talk | contribs) (Fixed code sample rendering (use a space before <nowki>).)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

You can use the {{prettytable}} template instead of typing out all the HTML attributes every time.

The following is the MediaWiki code for a simple table:

{| {{prettytable}}
! Column
! Column
! Column
|-
| Value
| Value
| Value
|-
| 2nd row
| 2nd row
| 2nd row
|}

The above code will turn into the following table when saved:

Column Column Column
Value Value Value
2nd row 2nd row 2nd row

Comments

Another page created by someone simply to play around. Stuff like this should be done in the sandbox or in the user's personal page. --Cerbera 07:34, 18 Jan 2006 (Central Standard Time)

Open your eyes Cerb, this is a template. --steve-m 05:59, 20 Jan 2006 (Central Standard Time)

Oops! I understand its purpose now. --Cerbera 11:21, 22 Jan 2006 (Central Standard Time)