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

Jump to: navigation, search
m (moved User:AngelinaBelle/VS to Template:Styled list: make avalailable in template space)
(documentation)
Line 32: Line 32:
 
-->{{#if: {{{16|}}}|
 
-->{{#if: {{{16|}}}|
 
<li {{#if: {{{lic|}}}|class="{{{lic|}}}"|}}} style="{{{lis|}}}; color: red">Warning: too many items</li>}}<!--
 
<li {{#if: {{{lic|}}}|class="{{{lic|}}}"|}}} style="{{{lis|}}}; color: red">Warning: too many items</li>}}<!--
-->{{#if: {{{1|}}}|</ul>|}}
+
-->{{#if: {{{1|}}}|</ul>|}}<noinclude>{{Documentation}}</noinclude>

Revision as of 13:04, 4 March 2011

[edit] [purge] Template documentation

This template is designed to produce stylable list of up to 15 items, with a left-border "separator" In its simplest form, it is

{{Styled list|a|b|c|d|e|f|g}}

Which produces

  • a
  • b
  • c
  • d
  • e
  • f
  • g

Passing parameter 16 will produce an error message.

In addition to the unnamed parameters, this template can take the following parameters for class and style:

  • lc list class
  • lic list item class
  • fic first item class
  • ls list style= content
  • lis list item style= content
  • fis first list item style= content