Related to article (example): Difference between revisions

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