Hi Filipe,
As far as I know there isn´t a way to change column width using wiki
markup
I use this workarround: insert html formated tables like below.
- Pro
-- you control column width
- Constraints
-- different sintax (harder one)
-- no wiki markup inside this will be checked as
-- more...
{{{
#!html
<TABLE WIDTH=98% BORDER=1 BORDERCOLOR="#b84747" CELLPADDING=2
CELLSPACING=0>
<TR BGCOLOR="#800000" VALIGN=TOP>
<TH WIDTH=11%>
<P></P>
</TH>
<TH COLSPAN=3 WIDTH=38%>
<P ALIGN=CENTER><FONT COLOR="#ffffff"><B>Data
Management</B></
FONT></P>
</TH>
<TH COLSPAN=4 WIDTH=51%>
<P ALIGN=CENTER><FONT COLOR="#ffffff"><B>Communication
Plan</B></
FONT></P>
</TH>
</TR>
</TABLE>
}}}
I´ve made another tests with TracWikiTemplates Plugin (http://
wikitemplates.ufsoft.org/)
- you can define a template like below
- and use it on your wiki page, like this
{{{
#!html
<TABLE WIDTH=98% BORDER=1 BORDERCOLOR="#b84747" CELLPADDING=2
CELLSPACING=0>
<TR BGCOLOR="#800000" VALIGN=TOP>
<TH WIDTH=11%>
<P ALIGN=CENTER><FONT
COLOR="#ffffff"><B>{{1}}</B></FONT></P>
</TH>
<TH COLSPAN=3 WIDTH=38%>
<P ALIGN=CENTER><FONT
COLOR="#ffffff"><B>{{2}}</B></FONT></P>
</TH>
<TH COLSPAN=4 WIDTH=51%>
<P ALIGN=CENTER><FONT
COLOR="#ffffff"><B>{{3}}</B></FONT></P>
</TH>
</TR>
<TR VALIGN=TOP>
<TD WIDTH=11% HEIGHT=42 BGCOLOR="#800000">
<P ALIGN=CENTER><FONT
COLOR="#ffffff"><B>{{4}}</B></FONT></P>
</TD>
<TD WIDTH=13% BGCOLOR="#b84700">
<P ALIGN=CENTER><FONT
COLOR="#ffffff"><B>{{5}}</B></FONT></P>
</TD>
<TD WIDTH=13% BGCOLOR="#b84700">
<P ALIGN=CENTER><FONT
COLOR="#ffffff"><B>{{6}}</B></FONT></P>
</TD>
<TD WIDTH=13% BGCOLOR="#b84700">
<P ALIGN=CENTER><FONT
COLOR="#ffffff"><B>{{7}}</B></FONT></P>
</TD>
<TD WIDTH=13% BGCOLOR="#b84700">
<P ALIGN=CENTER><FONT
COLOR="#ffffff"><B>{{8}}</B></FONT></P>
</TD>
<TD WIDTH=13% BGCOLOR="#b84700">
<P ALIGN=CENTER><FONT
COLOR="#ffffff"><B>{{9}}</B></FONT></P>
</TD>
<TD WIDTH=13% BGCOLOR="#b84700">
<P ALIGN=CENTER><FONT
COLOR="#ffffff"><B>{{10}}</B></FONT></P>
</TD>
<TD WIDTH=13% BGCOLOR="#b84700">
<P ALIGN=CENTER><FONT
COLOR="#ffffff"><B>{{11}}</B></FONT></P>
</TD>
</TR>
</TABLE>
}}}
you instance it in your wiki page like this
[[T(TableTest | arg_1 | arg_2 | arg_...| arg_11 )]]
Where arg_x your text (like this = Data Management)
I hope this helps you.
Regards,
Adrian
On 19 dez 2007, 16:21, Filipe Correia <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> When creating a table using trac's wiki, is there any way to define
> the width each column should have?
> I'm not finding any reference to it on the docs, so I suppose not, but
> i would appreciate if someone could confirm this.
>
> Thanks,
> Filipe Correia
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---