Difference between revisions of "Template:Styled list" From Online Manual

Jump to: navigation, search
(15 items and style)
Line 1: Line 1:
<!-- This template is to produce a horizontal list with up to 15 items. It would be better to have some CSS to define the styles, but, for now, we pass in inline styles to do the styling-->
+
<!-- This template is to produce a classed and styled list with up to 15 items. This can rely on defined classes, and also on passed-in styles-->
{{#if: {{{1|}}}|<ul class="inline_list"><li class="horizontal first" style="{{{lis|}}} {{{fis|}}}">{{{1}}}</li>|}}
+
{{#if: {{{1|}}}|<ul {{#if:{{{lc|}}}|class="{{{lc|}}}"}}>
 +
<li class="horizontal first" style="{{{lis|}}} {{{fis|}}}">{{{1}}}</li>|}}
 
{{#if: {{{2|}}}|<li class="horizontal" style="{{{lis|}}}">{{{2}}}</li>}}
 
{{#if: {{{2|}}}|<li class="horizontal" style="{{{lis|}}}">{{{2}}}</li>}}
 
{{#if: {{{3|}}}|<li class="horizontal" style="{{{lis|}}}">{{{3}}}</li>}}
 
{{#if: {{{3|}}}|<li class="horizontal" style="{{{lis|}}}">{{{3}}}</li>}}

Revision as of 10:33, 4 March 2011









}