Template:Flatlist: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Edokter
pass class, calc indent
meta>Edokter
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 16:26, 9 October 2014