Related to article (example): Difference between revisions
Content deleted Content added
m Alianin moved page DPL:Example - Related to Article to Extension:DPL3/Example: Related to article without leaving a redirect: Changing namespaces. |
imported>FrozenPlum remove tempnote as openreferences was fixed in v3.5.0, and fix examples |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1:
{{DPL
==List
<pre>
{{#dpl:
|openreferences=yes
|ordermethod=none
|count=5
▲|linksfrom=DPL:Manual
}}
</pre>
Produces a list of pages linked from the [[Apple]] article, limited to 5 results, including links to non-existing pages (if any) due to the use of <code>openreferences=yes</code>.
'''Result:'''<br>
{{#dpl:
|openreferences=yes
|ordermethod=none
|count=5
▲|linksfrom=DPL:Manual
}}
==List templates
<pre>
{{#dpl:
|usedby=Apple
|count=5
}}
</pre>
'''Result:'''<br>
{{#dpl:
|usedby=
|count=5
}}
▲Would produce a list of templates that are used by DPL:Manual
== ==
Produces a list of articles whose title contains the word "Main" and includes the categories for each page.
<pre>
{{#dpl:
|titlematch=
|addcategories=true
}}
</pre>
'''Result:'''<br>
{{#dpl:
|titlematch=%Main%
|addcategories=true
|count=5
}}
[[Category:Miscellaneous examples]]
|