Difference between revisions of "Template:List"

From Taijitu
Jump to: navigation, search
(ol template)
 
m (removed newline)
 
(6 intermediate revisions by the same user not shown)
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>

Latest revision as of 10:10, 2 July 2010

    Supply the "style type" argument as one of:

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