Anonymous user
Related to article (example): Difference between revisions
m
update to working examples for now
imported>FrozenPlum m (FrozenPlum moved page Example: Related to article to Related to article (example) without leaving a redirect) |
imported>FrozenPlum m (update to working examples for now) |
||
Line 1:
{{DPL manual|section=Examples|subsection=Related to article}}
==List pages linked from
The following example would produce a list of pages linked from [[Manual]] article.
<pre>
{{#dpl:
|ordermethod=none
|linksfrom=
|count=5
}}
</pre>
'''Result:'''<br>
{{#dpl:
|ordermethod=none
|linksfrom=
|count=5
}}
=== Notes ===
*Use <code>|openreferences=yes</code> to include links to non-existing pages (red links). In the example above, if <code>|openreferences=yes</code> were specified, any red links that might appear on [[Extension:DPL3/Manual]] would be listed in the output along with existing pages.
{{tempnote}}
==List templates
The following example would produce a list of templates that are used by the Manual article.
<pre>
{{#dpl:
|usedby=
|count=5
}}
</pre>
'''Result:'''<br>
{{#dpl:
|usedby=Manual
|count=5
}}
== ==
The following example will produce a list of articles names whose title contains the word "Manual" and includes the categories for each page.
<pre>
{{#dpl:
|titlematch=
|addcategories=true
}}
</pre>
'''Result:'''<br>
{{#dpl:
|titlematch=%Manual%
|addcategories=true
|count=5
}}
|