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

Jump to: navigation, search
Line 1: Line 1:
 
<!-- 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-->
 
<!-- 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 {{#if:{{{lc|}}}|class="{{{lc|}}}"}}>
 
{{#if: {{{1|}}}|<ul {{#if:{{{lc|}}}|class="{{{lc|}}}"}}>
<li class="horizontal first" style="{{{lis|}}} {{{fis|}}}">{{{1}}}</li>|}}
+
<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>}}<!--
{{#if: {{{4|}}}|<li class="horizontal" style="{{{lis|}}}">{{{4}}}</li>}}
+
-->{{#if: {{{4|}}}|<li class="horizontal" style="{{{lis|}}}">{{{4}}}</li>}}<!--
{{#if: {{{5|}}}|<li class="horizontal" style="{{{lis|}}}">{{{5}}}</li>}}
+
-->{{#if: {{{5|}}}|<li class="horizontal" style="{{{lis|}}}">{{{5}}}</li>}}<!--
{{#if: {{{6|}}}|<li class="horizontal" style="{{{lis|}}}">{{{6}}}</li>}}
+
-->{{#if: {{{6|}}}|<li class="horizontal" style="{{{lis|}}}">{{{6}}}</li>}}<!--
{{#if: {{{7|}}}|<li class="horizontal" style="{{{lis|}}}">{{{7}}}</li>}}
+
-->{{#if: {{{7|}}}|<li class="horizontal" style="{{{lis|}}}">{{{7}}}</li>}}<!--
{{#if: {{{8|}}}|<li class="horizontal" style="{{{lis|}}}">{{{8}}}</li>}}
+
-->{{#if: {{{8|}}}|<li class="horizontal" style="{{{lis|}}}">{{{8}}}</li>}}<!--
{{#if: {{{9|}}}|<li class="horizontal" style="{{{lis|}}}">{{{9}}}</li>}}
+
-->{{#if: {{{9|}}}|<li class="horizontal" style="{{{lis|}}}">{{{9}}}</li>}}<!--
{{#if: {{{10|}}}|<li class="horizontal" style="{{{lis|}}}">{{{10}}}</li>}}
+
-->{{#if: {{{10|}}}|<li class="horizontal" style="{{{lis|}}}">{{{10}}}</li>}}<!--
{{#if: {{{11|}}}|<li class="horizontal" style="{{{lis|}}}">{{{11}}}</li>}}
+
-->{{#if: {{{11|}}}|<li class="horizontal" style="{{{lis|}}}">{{{11}}}</li>}}<!--
{{#if: {{{12|}}}|<li class="horizontal" style="{{{lis|}}}">{{{12}}}</li>}}
+
-->{{#if: {{{12|}}}|<li class="horizontal" style="{{{lis|}}}">{{{12}}}</li>}}<!--
{{#if: {{{13|}}}|<li class="horizontal" style="{{{lis|}}}">{{{13}}}</li>}}
+
-->{{#if: {{{13|}}}|<li class="horizontal" style="{{{lis|}}}">{{{13}}}</li>}}<!--
{{#if: {{{14|}}}|<li class="horizontal" style="{{{lis|}}}">{{{14}}}</li>}}
+
-->{{#if: {{{14|}}}|<li class="horizontal" style="{{{lis|}}}">{{{14}}}</li>}}<!--
{{#if: {{{15|}}}|<li class="horizontal" style="{{{lis|}}}">{{{15}}}</li>}}
+
-->{{#if: {{{15|}}}|<li class="horizontal" style="{{{lis|}}}">{{{15}}}</li>}}<!--
{{#if: {{{16|}}}|<li class="horizontal" style="{{{lis|}}}; color: red">Warning: excess items</li>}}}
+
-->{{#if: {{{16|}}}|<li class="horizontal" style="{{{lis|}}}; color: red">Warning: excess items</li>}}}<!--
{{#if: {{{1|}}}|</ul>|}}
+
-->{{#if: {{{1|}}}|</ul>|}}

Revision as of 11:38, 4 March 2011

}