Template:Prettytable: Difference between revisions
enwiki>Admin m 1 revision imported |
BathAfrica (talk | contribs) m 1 revision imported: Make tested BathAfrica compatibility revisions current |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 70: | Line 70: | ||
[[Category:Template:Effect]] | [[Category:Template:Effect]] | ||
</noinclude> | </noinclude> | ||
<noinclude> | |||
---- | |||
Migrated from [https://wiki.sybma.com/index.php?title=Template:Prettytable SiteMasterDoc]. Original revision history and imported contributor names are retained. See [[BathAfrica:Template migration]] for compatibility changes and unresolved image dependencies. Legacy examples do not establish current BathAfrica product capabilities. | |||
</noinclude> | |||
Latest revision as of 07:18, 29 October 2026
border="2" cellspacing="0" cellpadding="4" rules="all" class="hintergrundfarbe1 rahmenfarbe1" style="margin:1em 1em 1em 0; border-style:solid; border-width:1px; border-collapse:collapse; empty-cells:show; "
This template is meant to be used inside a wiki table in order to modify its properties, and make the table look pretty.
This template may be used in many pages. Do not change it if you do not know all consequences.
Original table:
{|
! Head1
! Head2
|-
|Column 1
|Column 2
|}
Results in:
| Head1 | Head2 |
|---|---|
| Column 1 | Column 2 |
With the template:
{|{{Prettytable}}
! Head1
! Head2
|-
|Column 1
|Column 2
|}
Results in:
| Head1 | Head2 |
|---|---|
| Column 1 | Column 2 |
You can specify additional style sheet parameters as input to the template:
{|{{Prettytable|width: 30%; font-size: 2em;}}
! Head1
! Head2
|-
|Column 1
|Column 2
|}
Results in:
| Head1 | Head2 |
|---|---|
| Column 1 | Column 2 |
Migrated from SiteMasterDoc. Original revision history and imported contributor names are retained. See BathAfrica:Template migration for compatibility changes and unresolved image dependencies. Legacy examples do not establish current BathAfrica product capabilities.