Difference between revisions of "Template:XtextTable"
(New page: <noinclude> This template gives a fancy table. There are 2 basic incantations. This simple form: <nowiki>{{XtextTable}}</nowiki> Yields a table that is 100% of the available width, li...) |
|||
Line 38: | Line 38: | ||
</noinclude> | </noinclude> | ||
− | {| width="{{{tableWidth|100%}}}" style="font-family: Trebuchet MS;vertical-align:text-top;" border=" | + | {| width="{{{tableWidth|100%}}}" style="font-family: Trebuchet MS;vertical-align:text-top;" border="0" |
|- style="font-weight:bold;font-size:small;color:white;background:gray;text-align:center;" }} | |- style="font-weight:bold;font-size:small;color:white;background:gray;text-align:center;" }} |
Revision as of 04:59, 18 September 2008
This template gives a fancy table. There are 2 basic incantations.
This simple form:
{{XtextTable}}
Yields a table that is 100% of the available width, like this:
header 1 | header 2 | header 3 |
cell 1 | cell 2 | cell 3 |
This second form:
{{XtextTable|tableWidth=64%}}
Yields a table that is 64% of the width, like this:
header 1 | header 2 | header 3 |
cell 1 | cell 2 | cell 3 |
This second form also allows things like
{{XtextTable|tableWidth=123px}}
those who are control freaks, and want tables like this:
header 1 | header 2 | header 3 |
cell 1 | cell 2 | cell 3 |