Difference between revisions of "Template:List"

From Taijitu
Jump to: navigation, search
m (Protected "Template:List": For use in Laws ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(fixed, documented)
Line 1: Line 1:
<ol style="list-style-type={{{style type}}}">{{if:{{{1}}}|<li>{{{1}}}</li>}}{{if:{{{2}}}|<li>{{{2}}}</li>}}{{if:{{{3}}}|<li>{{{3}}}</li>}}{{if:{{{4}}}|<li>{{{4}}}</li>}}{{if:{{{5}}}|<li>{{{5}}}</li>}}{{if:{{{6}}}|<li>{{{6}}}</li>}}{{if:{{{7}}}|<li>{{{7}}}</li>}}{{if:{{{8}}}|<li>{{{8}}}</li>}}{{if:{{{9}}}|<li>{{{9}}}</li>}}{{if:{{{10}}}|<li>{{{10}}}</li>}}</ol>
+
<ol style="list-style-type={{{style type}}}">{{#if:{{{1}}}|<li>{{{1}}}</li>|}}{{#if:{{{2}}}|<li>{{{2}}}</li>|}}{{#if:{{{3}}}|<li>{{{3}}}</li>|}}{{#if:{{{4}}}|<li>{{{4}}}</li>|}}{{#if:{{{5}}}|<li>{{{5}}}</li>|}}{{#if:{{{6}}}|<li>{{{6}}}</li>|}}{{#if:{{{7}}}|<li>{{{7}}}</li>|}}{{#if:{{{8}}}|<li>{{{8}}}</li>|}}{{#if:{{{9}}}|<li>{{{9}}}</li>|}}{{#if:{{{10}}}|<li>{{{10}}}</li>|}}</ol>
 +
<noinclude>Supply the "style type" argument as one of:
 +
;Alphabetic:
 +
:* upper-alpha
 +
:* lower-alpha
 +
;Roman Numerals:
 +
:* upper-roman
 +
:* lower-roman</noinclude>

Revision as of 09:31, 2 July 2010

  1. {{{1}}}
  2. {{{2}}}
  3. {{{3}}}
  4. {{{4}}}
  5. {{{5}}}
  6. {{{6}}}
  7. {{{7}}}
  8. {{{8}}}
  9. {{{9}}}
  10. {{{10}}}

Supply the "style type" argument as one of:

Alphabetic
  • upper-alpha
  • lower-alpha
Roman Numerals
  • upper-roman
  • lower-roman