Difference between revisions of "Template:Portlet"

From Organic Design wiki
(Defining width parameter)
m
Line 6: Line 6:
 
</div>
 
</div>
 
</div>
 
</div>
 +
<noinclude>
 +
<includeonly>
 
|&larr;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{{width}}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&rarr;|  
 
|&larr;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{{width}}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&rarr;|  
<noinclude>
+
</includeonly>
 
This template  expects a title and content to create a formatted list surrounded by a grey box. It uses the class=''portlet'' div tag defined in [[MediaWiki:Wikiskin.css]]. A third optional parameter {{{width}}} is allowed which defines the portlet width in pixels
 
This template  expects a title and content to create a formatted list surrounded by a grey box. It uses the class=''portlet'' div tag defined in [[MediaWiki:Wikiskin.css]]. A third optional parameter {{{width}}} is allowed which defines the portlet width in pixels
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 08:32, 28 April 2007

{{{1}}}

{{{2}}}


This template expects a title and content to create a formatted list surrounded by a grey box. It uses the class=portlet div tag defined in MediaWiki:Wikiskin.css. A third optional parameter {{{width}}} is allowed which defines the portlet width in pixels