Difference between revisions of "Template talk:Prettytable"

From GTAMods Wiki
Jump to navigation Jump to search
(Usage: <pre> tags not working)
Line 4: Line 4:
  
 
'''Wiki code:'''
 
'''Wiki code:'''
NaodW29-pre6f1df7a31ed704fe00000001
+
 
 +
<nowiki>{| {{prettytable}}
 +
! Column
 +
! Column
 +
! Column
 +
|-
 +
| Value
 +
| Value
 +
| Value
 +
|-
 +
| 2nd row
 +
| 2nd row
 +
| 2nd row
 +
|}</nowiki>
 +
 
 +
(<nowiki><pre></nowiki> tags not parsing properly, edit to see source)
 +
 
 
'''Displays as:'''
 
'''Displays as:'''
 
{| {{prettytable}}
 
{| {{prettytable}}

Revision as of 18:07, 18 January 2006

Usage

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

Wiki code:

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

(<pre> tags not parsing properly, edit to see source)

Displays as:

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

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)