Anonymous user
Examples/Parameter: listattr (example 1): Difference between revisions
Examples/Parameter: listattr (example 1) (view source)
Revision as of 19:44, 15 June 2023
, 1 year agoClasses to match simplified example
imported>FrozenPlum (Created page with "<noinclude>{{note|Please '''do not edit''' this page unless you're wanting to edit the manual itself, it is an example included in the manual.|error}}</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 will select articles in Category:Countries in Africa or :Ca...") |
imported>FrozenPlum (Classes to match simplified example) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 6:
==Example==
This
<pre>
{{#dpl:
|category = Countries in Africa¦Countries in Europe
|ordermethod = category,
|headingmode = definition
|listattr = class="dpl-blue-background"▼
|
|hitemattr = id="list-item-heading-attrubite" class="list-item-heading-attrubite"
▲|count = 2
▲|listattr = id="ol-example" class="dpl-blue-background"
}}
</pre>
Line 23 ⟶ 25:
{{#dpl:
|category = Countries in Africa¦Countries in Europe
|ordermethod = category,
|headingmode = definition
|mode = ordered
|listattr = class="dpl-blue-background"▼
|
|hitemattr = id="list-item-heading-attrubite" class="list-item-heading-attrubite"
▲|count = 2
▲|listattr = id="ol-example" class="dpl-blue-background"
|count = 3
}}
<noinclude>
[[Category:
[[Category:Uses category parameter]]
[[Category:Uses ordermethod parameter]]
[[Category:Uses headingmode parameter]]
[[Category:Uses hlistattr parameter]]
[[Category:Uses hitemattr parameter]]
[[Category:Uses listattr parameter]]
▲[[Category:Uses itemattr parameter]]
[[Category:Uses count parameter]]
</noinclude>
|