Examples/Parameter: hitemattr (example 2): Difference between revisions

Simplify examples to match now that extra styles could be moved to Common.css
imported>FrozenPlum
(fix my wrong category)
imported>FrozenPlum
(Simplify examples to match now that extra styles could be moved to Common.css)
 
(3 intermediate revisions by the same user not shown)
Line 6:
==Example==
 
Since <code>headingmode</code> is set to ''{{tt|unordered''}} and <code>hitemattr</code> applies to '''all list item headings''', all items are colored pink/red by <code>hitemattr</code>.
 
<pre>
Line 14:
|headingmode = unordered
|mode = ordered
|hlistattr = id="dl-example" class="dpl-orange-background" style="font-size:17px; border:1px solid orange; padding:3px;"
|hitemattr = id="list-item-heading" styleclass="backgroundlist-color:pink; border:1px solid red; padding:3px;item-heading"
|count = 3
}}
Line 27:
|headingmode = unordered
|mode = ordered
|hlistattr = id="dl-example" class="dpl-orange-background" style="font-size:17px; border:1px solid orange; padding:3px;"
|hitemattr = id="list-item-heading" styleclass="backgroundlist-color:pink; border:1px solid red; padding:3px;item-heading"
|count = 3
}}
Anonymous user