Template:LinkList: Difference between revisions

From P2P Foundation
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{|class="linkList" border="1" cellpadding="4" cellspacing="0" style="border-collapse: collapse; margin:0;text-align:left;vertical-align:text-top; border:1px grey solid;{{{666}}}" valign="top"
<table class="linkList" border="1" cellpadding="4" cellspacing="0" style="border-collapse: collapse; margin:0;text-align:left; vertical-align:text-top; border:1px grey solid;{{{666}}}">
|- style="background-color:#D6E9F8;color:#333;" |
<tr style="background-color:#D6E9F8;color:#333;">
| <b>{{{1}}}</b>
  <td> <b>{{{1}}}</b></td>
|
  <td style="color:#333;display:block; width: 100%;" valign="top"> <b>{{{title|{{{2}}}}}}</b></td>
 
</tr>
<span style="color:#333;display:block; width: 100%;" valign="top"> <b>{{{title|{{{2}}}}}}</b></span>
<tr>
|-
  <td style="display:block; width:40em; {{{777}}}">{{{3}}}</td>
|<span style="display:block; width:40em;{{{777}}}">{{{3}}}</span>
  <td style="display:block; vertical-align:top; width:20em; {{{777}}}">{{{4}}}</td>
|<span style="display:block; width:20em;{{{777}}}">{{{4}}}</span>
</tr>
|}
</table>
 





Revision as of 12:39, 3 March 2009



How does this template work?

1. class "linkList" in main.css 2. inline styling (yes it's a bit of a jungle, but workable)

{{{666}}} = style whole table

{{{777}}} = style body of cell

title=... -> displays alternative text in title bar