Anonymous user
Images used (examples): Difference between revisions
m
Start setting up examples page
imported>FrozenPlum m (FrozenPlum moved page Example: Display images used to Display images used (example) without leaving a redirect) |
imported>FrozenPlum m (Start setting up examples page) |
||
Line 1:
{{DPL manual|section=Examples|subsection=Display images used}}
==List images used==
<pre><nowiki>{{#dpl:
|imagecontainer=
|format=,\n*[[%PAGE%]]\n,
}}</nowiki></pre>
'''Result:'''
{{#dpl:
|imagecontainer=
|format=,\n*[[%PAGE%]]\n,
}}
==List images used even if not existing==
<pre>
{{#dpl:
|imagecontainer = Apple¦Orange
|openreferences=true
}}
</pre>
Lists all images used in the two ''Apple'' and ''Orange'' articles. <code>openreferences=true</code> lists non-existing images, including those not housed locally, such as images used from [https://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons]. Non-existing images are displayed as red links.
{{tempnote}}
'''Result:'''
==Display images used==
<pre>
{{#dpl:
|imagecontainer = Apple¦Orange
|openreferences=true
|escapelinks=false
}}
</pre>
{{tempnote}}
Lists all images used in the two ''Apple'' and ''Orange'' articles. <code>openreferences=true</code> lists non-existing images, including those not housed locally, such as images used from [https://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons]. Setting the parameter ''escapelinks'' to false, causes the display of existing images directly, rather than listing their names.
'''Result:'''
|