Difference between revisions of "Template:Portlet"

From Organic Design wiki
(no id=p-navigation)
(Imported from work.organicdesign.co.nz by sync-wikiorg.pl)
 
Line 1: Line 1:
<includeonly>[[Category:Articles containing portlets]]</includeonly>
+
<includeonly>[[Category: Template:Portlet instances]]</includeonly>
<div class='portlet' style='width:{{{3}}}px'>
+
<div class='portlet' id='p-navigation' style='height:{{{3}}}px'>
 
<div style='font-size:8pt;'>{{{1}}}</div>
 
<div style='font-size:8pt;'>{{{1}}}</div>
 
<div class='pBody' style='white-space:nowrap'>
 
<div class='pBody' style='white-space:nowrap'>
Line 9: Line 9:
 
|&larr;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{{3}}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&rarr;|  
 
|&larr;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{{3}}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&rarr;|  
  
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:Common.css]]. A third optional parameter {{{3}}} 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 {{{3}}} is allowed which defines the portlet width in pixels
[[Category:Templates]]</noinclude>
+
[[Category: Formatting templates]]</noinclude>

Latest revision as of 04:30, 23 July 2010

{{{1}}}

{{{2}}}

|←          {{{3}}}           →|

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 {{{3}}} is allowed which defines the portlet width in pixels