Difference between revisions of "Template:LinkList"

From P2P Foundation
Jump to navigation Jump to search
m
(moving css to monobook.css)
Line 1: Line 1:
<table style="width:100%; padding:10px 0;">
+
<table class="templateLinkList">
<tr style="background-color:#D6E9F8; color:#333;">
+
<tr class="ll_first_tr">
<td style="border:1px solid #888; padding:5px 10px; "> <h3>{{{1}}}</h3> </td>
+
<td> <h3>{{{1}}}</h3> </td>
<td style="border:1px solid #888; padding:5px 10px; "> <h3>{{{2}}}</h3> </td>
+
<td> <h3>{{{2}}}</h3> </td>
 
</tr>
 
</tr>
<tr style="vertical-align:top; padding:10px;">
+
<tr>
<td style="border:1px solid #888; padding:5px 10px; "> {{{3}}} </td>
+
<td> {{{3}}} </td>
<td style="border:1px solid #888; padding:5px 10px; "> {{{4}}} </td>
+
<td> {{{4}}} </td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 13:03, 3 March 2009

{{{1}}} {{{2}}}
{{{3}}} {{{4}}}



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