Actions

Template

Prettytable: Difference between revisions

From HacDC Wiki

(finished initial, base taken from Mediawiki)
No edit summary
 
Line 34: Line 34:




[[Category:Utility templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 04:05, 6 April 2012

This template can be used within a table to provide basic styling that's probably more in-line with what the user is expecting.


This:

{| ! A  !! B  !! C |- | one cell || two cell || three cell |}

Renders as:

A B C
one cell two cell three cell


While this
{| {{Prettytable}} ! A  !! B  !! C |- | one cell || two cell || three cell |}

Renders as:

A B C
one cell two cell three cell