Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Template:XtextTable"

(Undo revision 119063 by Peter.friese.itemis.de (Talk))
Line 42: Line 42:
 
</noinclude>
 
</noinclude>
  
{| style="margin: 0 0 0.5em 1em; border: 1px solid #aaaaaa; float:right; clear:right; border-collapse:collapse;" cellpadding=1
+
<includeonly>{| style="margin: 0 0 0.5em 1em; border: 1px solid #aaaaaa; float:right; clear:right; border-collapse:collapse;" cellpadding=1
 
|-
 
|-
 
| style="background:#ccccff; padding: 0 5px 0 5px;" align="center" | <strong>Platform UI</strong>
 
| style="background:#ccccff; padding: 0 5px 0 5px;" align="center" | <strong>Platform UI</strong>
 
|-
 
|-
 
| style="font-size: 90%; padding: 0 5px 0 5px;" align="center" | [[Platform UI | Home]]
 
| style="font-size: 90%; padding: 0 5px 0 5px;" align="center" | [[Platform UI | Home]]
|}
+
|}</includeonly>

Revision as of 05:05, 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


Back to the top