Jump to content
This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

Related to article (example): Difference between revisions

remove tempnote as openreferences was fixed in v3.5.0, and fix examples
imported>FrozenPlum
m (flag for later cleanup)
imported>FrozenPlum
(remove tempnote as openreferences was fixed in v3.5.0, and fix examples)
 
Line 1:
{{DPL manual|section=Examples|subsection=Related to article}}
 
==List pages linked from Manual article==
The following example would produce a list of pages linked from [[Manual]] article.
 
<pre>
{{#dpl:
|linksfrom=ManualApple
|openreferences=yes
|ordermethod=none
|linksfrom=Manual
|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=ManualApple
|openreferences=yes
|ordermethod=none
|linksfrom=Manual
|count=5
}}
 
==List templates used by the Manualan article==
=== 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 used by the Manual article==
The following example would produce a list of templates that are used by the Manual article.
 
<pre>
{{#dpl:
|usedby=ManualApple
|count=5
}}
</pre>
The following example would produceProduces a list of templates that are used by the Manual[[Apple]] article.
 
'''Result:'''<br>
{{#dpl:
|usedby=ManualApple
|count=5
}}
 
== ==
The following example will produceProduces a list of articles names whose title contains the word "ManualMain" and includes the categories for each page.
<pre>
{{#dpl:
|titlematch=%ManualMain%
|addcategories=true
}}
Line 50 ⟶ 46:
'''Result:'''<br>
{{#dpl:
|titlematch=%ManualMain%
|addcategories=true
|count=5
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.