Difference between revisions of "Template:Flatlist"

From Timelines
Jump to: navigation, search
(pass class, calc indent)
(Update from sandbox to prevent emission of unnecessary style attribute)
Line 1: Line 1:
<div class="hlist {{{class|}}}" style="margin-left: {{#expr:{{{indent|0}}}*1.6}}em; {{{style|}}}">{{#if:{{{1|}}}|
+
<div class="hlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{#if:{{{1|}}}|
 
{{{1}}}
 
{{{1}}}
 
</div>}}<noinclude></div>
 
</div>}}<noinclude></div>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 08:26, 9 October 2014

Template documentation[create]