Difference between revisions of "Template:Reflist"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Edokter
(Add support for custom list-style-type)
imported>Edokter
(Update list styling)
Line 12: Line 12:
 
     | {{#if: {{{colwidth|}}}
 
     | {{#if: {{{colwidth|}}}
 
       | {{column-width|{{{colwidth}}}}} }} }} list-style-type: <!--
 
       | {{column-width|{{{colwidth}}}}} }} }} list-style-type: <!--
  -->{{#switch: {{{group|}}}
+
  -->{{{liststyle|{{#switch: {{{group|}}}
     | @alpha = lower-alpha
+
     | lower-alpha
     | @greek = lower-greek
+
     | lower-greek
     | @roman = lower-roman
+
     | lower-roman = {{{group}}}
     | #default = decimal}};">
+
     | #default = decimal}}}}};">
 
{{#tag:references|{{{refs|}}}|group={{{group|}}}}}</div><noinclude>
 
{{#tag:references|{{{refs|}}}|group={{{group|}}}}}</div><noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 01:15, 5 March 2011

Template documentation[create]