Anonymous user
Related to article (example): Difference between revisions
remove tempnote as openreferences was fixed in v3.5.0, and fix examples
m (→IGNORE - DEBUG TESTING BY DEVELOPERS. THIS PAGE HAS AN ISSUE.: clean up, replaced: [[zh:Extension::{{subst:BASEPAGENAME}}]] → [[zh:扩展:{{subst:BASEPAGENAME}}]]) |
imported>FrozenPlum (remove tempnote as openreferences was fixed in v3.5.0, and fix examples) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1:
{{DPL manual|section=Examples|subsection=Related to article}}
==List
<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
}}
==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]]
|