Template:LinkList: Difference between revisions

From P2P Foundation
Jump to navigation Jump to search
No edit summary
m (descriptive arguments)
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|class="linkList" border="1" cellpadding="4" cellspacing="0" style="border-collapse: collapse; margin:0;text-align:left;border:1px grey solid;{{{666}}}"
<table class="templateLinkList">
|- style="background-color:#D6E9F8;color:#333;" |
<tr class="linkListHeader">
<b>{{{1}}}</b>
<td> <h3>{{{title}}}</h3> </td>
|
<td> <h3>{{{linkTitle}}}</h3> </td>
 
</tr>
<span style="color:#333;display:block; width: 100%;"> <b>{{{title|{{{2}}}}}}</b></span>
<tr class="linkListContent">
|-
<td> {{{content}}} </td>
|<span style="text-align:left; grey solid;display:block;width:30em;{{{777}}}">{{{3}}}</span>
<td> {{{links}}} </td>
|<span style="text-align:left; vertical-align:top; grey solid;display:block;width:20em;{{{777}}}">{{{4}}}</span>
</tr>
|}
</table>
 




<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