Difference between revisions of "Template:Prettytable"

From HacDC Wiki
Jump to navigation Jump to search
(finished initial, base taken from Mediawiki)
 
Line 34: Line 34:
  
  
[[Category:Utility templates|{{PAGENAME}}]]
+
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:05, 5 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