Anonymous user
Examples/Parameter: itemattr (example 1): Difference between revisions
Examples/Parameter: itemattr (example 1) (view source)
Revision as of 19:46, 15 June 2023
, 1 year agoTo match other fixed examples
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== This selects articles in Category:Countries in Africa or Category:Countries in Europe and orders them by ''category'' (which is used in combination with <code>headingmode</code> to put the c...") |
imported>FrozenPlum (To match other fixed examples) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 6:
==Example==
This selects articles in [[:Category:Countries in Africa]] or [[:Category:Countries in Europe]] and orders them by ''category'' (which is used
<pre>
Line 14:
|headingmode = definition
|mode = ordered
|hlistattr = id="dl-example" class="dpl-orange-background
|hitemattr = id="list-item-heading"
|listattr = id="ol-example" class="dpl-blue-background
|itemattr = id="li-example"
|count = 3
}}
Line 29:
|headingmode = definition
|mode = ordered
|hlistattr = id="dl-example" class="dpl-orange-background
|hitemattr = id="list-item-heading"
|listattr = id="ol-example" class="dpl-blue-background
|itemattr = id="li-example"
|count = 3
}}
<noinclude>
[[Category:
[[Category:Uses category parameter]]
[[Category:Uses ordermethod parameter]]
|