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

Jump to: navigation, search
(now we are making horizontal lists)
Line 1: Line 1:
<!-- This template is meant to get around the problem of not being able to put parameters between pre tags. Just pass them in -->
+
<!-- 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-->
{{#if: {{{tag|}}}|<{{{tag}}}>|}}
+
{{#ifeq:{{{1|}}}|<ul class="inline_list"><li class="first">{{{1}}}</li>|}}}
{{{content|}}}
+
{{#ifeq:{{{1|}}}|</ul>|}}}
{{#if: {{{tag|}}}|</{{{tag}}}>|}}
 

Revision as of 09:58, 4 March 2011

} }