Jump to content
This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

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

Simplify examples to match now that extra styles could be moved to Common.css
imported>FrozenPlum
(Created page with "<noinclude>{{noedit}}</noinclude><!-- This is the example preloaded for testing, press "Show Preview" to see the example working (at the bottom of the page). If you save this page, it saves as a new section at the bottom of your '''User:Username/Sandbox''' --> ==Example== Since <code>headingmode</code> is set to ''unordered'' and <code>hitemattr</code> applies to '''all list item headings''', all items are colored pink/red by <code>hitemattr</code>. <pre> {{#dpl: |cat...")
 
imported>FrozenPlum
(Simplify examples to match now that extra styles could be moved to Common.css)
 
(4 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
}}
<noinclude>
[[Category:ControllingHeading output format (examples)‎mode]]
[[Category:Uses category parameter]]
[[Category:Uses ordermethod parameter]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.