Related to article (example): Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
m (→‎IGNORE - DEBUG TESTING BY DEVELOPERS. THIS PAGE HAS AN ISSUE.: clean up, replaced: [[zh:Extension::{{subst:BASEPAGENAME}}]] → [[zh:扩展:{{subst:BASEPAGENAME}}]])
(revised)
Line 1: Line 1:
{{DPL manual|section=Examples|subsection=Related to article}}
{{DPL manual|section=Examples|subsection=Related to article}}


==List articles that link to DPL3/Manual article from themselves==
==List pages linked from DPL3/Manual==
The following example
The following example


<pre><nowiki>{{#dpl:
<pre><nowiki>{{#dpl:
format=,[[%PAGE%]],<br/>
format=,[[%PAGE%]],<br/>
|openreferences=yes
|ordermethod=none
|ordermethod=none
|linksfrom=Extension:DPL3/Manual
|linksfrom=Extension:DPL3/Manual
}}</nowiki></pre>
}}</nowiki></pre>


Would produce a list of articles that link to Extension:DPL3/Manual
Would produce a list of pages linked from [[Extension:DPL3/Manual]]:


{{#dpl:
{{#dpl:
format=,[[%PAGE%]],<br/>
format=,[[%PAGE%]],<br/>
|openreferences=yes
|ordermethod=none
|ordermethod=none
|linksfrom=Extension:DPL3/Manual
|linksfrom=Extension:DPL3/Manual
}}
}}

=== 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.


==List templates are used by the Extension:DPL3/Manual article==
==List templates are used by the Extension:DPL3/Manual article==

Revision as of 11:06, 30 July 2019

Manual Examples Related to article

List pages linked from DPL3/Manual

The following example

{{#dpl:
format=,[[%PAGE%]],<br/>
|ordermethod=none
|linksfrom=Extension:DPL3/Manual
}}

Would produce a list of pages linked from Extension:DPL3/Manual:

{{#dpl: format=,%PAGE%,
|ordermethod=none |linksfrom=Extension:DPL3/Manual }}

Notes

  • Use |openreferences=yes to include links to non-existing pages (red links). In the example above, if |openreferences=yes were specified, any red links that might appear on Extension:DPL3/Manual would be listed in the output along with existing pages.

List templates are used by the Extension:DPL3/Manual article

The following example

{{#dpl:
format=,[[%PAGE%]],<br/>
|usedby=Extension:DPL3/Manual
}}

Would produce a list of templates that are used by DPL:Manual

IGNORE - DEBUG TESTING BY DEVELOPERS. THIS PAGE HAS AN ISSUE.

{{#dpl: titlematch=Extension:DPL3/Manual |addcategories=true |format=,²{#replace:Category:%CATNAMES%¦²{comma}²¦
Category:}²,
}}

{{#dpl: mode=userformat |format=,%PAGE%,
|escapelinks=true |imagecontainer=Extension:DPL3/Manual }}