Jump to content

Template:Flatlist and Template:Flatlist/sandbox: Difference between pages

(Difference between pages)
Content deleted Content added
templatestyles obviates the need for hlist-separated
 
#expr -> calc(); moves calculation from page render to browser
 
Line 1: Line 1:
<templatestyles src="Hlist/styles.css"/><div class="hlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{#if:{{{1|}}}|
<templatestyles src="Hlist/styles.css"/><div class="hlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{{indent}}}*1.;}} {{{style|}}}"}}>{{#if:{{{1|}}}|
{{{1}}}
{{{1}}}
</div>}}<noinclude></div>
</div>}}<noinclude></div>