Examples/Parameter: imagecontainer (example 1): Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
(Created page with "<noinclude>{{note|Please '''do not edit''' this page unless you're wanting to edit the manual itself, it is an example included in the manual.|error}}</noinclude><!-- This is the example preloaded for testing, press "Show Preview" to see the example working (at the bottom of the page). If you save this page, it saves as a new section at the bottom of your '''User:Username/Sandbox''' --> ==Example== This statement will show all images which are contained in the two arti...")
 
imported>FrozenPlum
m (Forgot I had found an alternate example for now, and can link off to or replace with the other when it's fixed)
Line 6: Line 6:
==Example==
==Example==


Lists all images used on the [[Apple]] article.
This statement will show all images which are contained in the two articles ''Apple'' and ''Orange''. Normally, we would only get the names of images that really exist. But because we have specified <code>openreferences=true</code> we will also see non-existing images, including those not housed locally, such as images used from [https://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons]. Normally, we would get a list of image names. Setting the parameter ''escapelinks'' to false, however, causes that we will see existing images directly. Non-existing images will be displayed as red links.


<pre>
<pre>
{{#dpl:
{{#dpl:
|imagecontainer = Apple¦Orange
|imagecontainer=Apple
|escapelinks=false
|openreferences=true
}}
}}
</pre>
</pre>


==Result==
==Result==
{{tempnote}}
<noinclude><!--
{{#dpl:
{{#dpl:
|imagecontainer = Apple¦Orange
|imagecontainer=Apple
}}
|escapelinks=false
|openreferences=true
}}--></noinclude>


<noinclude>
<noinclude>
[[Category:Uses imagecontainer parameter]]
[[Category:Uses imagecontainer parameter]]
[[Category:Uses escapelinks parameter]]
[[Category:Uses openreferences parameter]]
</noinclude>
</noinclude>

Revision as of 05:20, 7 April 2022

Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

Lists all images used on the Apple article.

{{#dpl:
|imagecontainer=Apple
}}

Result

{{#dpl: |imagecontainer=Apple }}