Anonymous user
Related to article (example): Difference between revisions
remove tempnote as openreferences was fixed in v3.5.0, and fix examples
(revised) |
imported>FrozenPlum (remove tempnote as openreferences was fixed in v3.5.0, and fix examples) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1:
{{DPL manual|section=Examples|subsection=Related to article}}
==List pages linked from
<pre>
{{#dpl:
|linksfrom=Apple
|openreferences=yes
|ordermethod=none
|count=5
}}
</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:
|linksfrom=Apple
|openreferences=yes
|ordermethod=none
|count=5
}}
<pre>
{{#dpl:
|usedby=Apple
|count=5
}}
</pre>
'''Result:'''<br>
▲==List templates are used by the Extension:DPL3/Manual article==
{{#dpl:
|usedby=Apple
|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]]
|