Template:DefTable

From PWI Wiki
Revision as of 15:47, 3 November 2012 by PWpedia>Sangodoc (Further testing)
Jump to navigationJump to search

style="background:#171513" border="1" cellpadding="4" cellspacing="1"



This is a default table header (deftable) for use in standard tables to provide a uniform look and to make it easier to update all/most tables simultaneously should the wiki's style (CSS) be updated again. This can be used as in the following example:

{| {{DefTable}}
|+ '''Example Table'''
|-
! Column
! Headers
|-
! Row 1
| Example A
|-
! Row 2
| Example B
|}

Which produces the following table:

Example Table
Column Headers
Row 1 Example A
Row 2 Example B