Difference between revisions of "Template:LinkList"

From P2P Foundation
Jump to navigation Jump to search
m
m (descriptive arguments)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table style="border:1px solid #888;">
+
<table class="templateLinkList">
<tr style="background-color:#D6E9F8; padding:10px; color:#333; width:100%;">
+
<tr class="linkListHeader">
<td style="border:1px solid #888;"> <h3>{{{1}}}</h3> </td>
+
<td> <h3>{{{title}}}</h3> </td>
<td style="border:1px solid #888;"> <h3>{{{2}}}</h3> </td>
+
<td> <h3>{{{linkTitle}}}</h3> </td>
 
</tr>
 
</tr>
<tr style="vertical-align:top; padding:10px;">
+
<tr class="linkListContent">
<td style="border:1px solid #888;"> {{{3}}} </td>
+
<td> {{{content}}} </td>
<td style="border:1px solid #888;"> {{{4}}} </td>
+
<td> {{{links}}} </td>
</tr>
 
</table>
 
 
 
<table border="1">
 
<tr style="background-color:#D6E9F8; color:#333;">
 
  <td> <strong>{{{1}}}</strong> </td>
 
  <td> <strong>{{{title|{{{2}}}}}}</strong></td>
 
</tr>
 
<tr>
 
  <td style="display:block; width:40em; {{{777}}}">{{{3}}}</td>
 
  <td style="display:block; vertical-align:top; width:20em; {{{777}}}">{{{4}}}</td>
 
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 24: Line 13:
 
<noinclude>
 
<noinclude>
  
How does this template work?
+
class "linkList" in [[:MediaWiki:Monobook.css]]
 
 
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
 
  
 
[[Category:Intro Templates]]
 
[[Category:Intro Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:42, 3 March 2009



class "linkList" in MediaWiki:Monobook.css