Images used (examples): Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
m (flag for later cleanup)
imported>FrozenPlum
m (Remove the duplicate that was moved to example page (for working example))
Line 1: Line 1:
{{DPL manual|section=Examples|subsection=Display images used}}
{{DPL manual|section=Examples|subsection=Display images used}}

==List images used==
<pre><nowiki>{{#dpl:
|imagecontainer=Apple
|format=,\n*[[%PAGE%]]\n,
}}</nowiki></pre>

Lists all images used on the [[Apple]] article page.

'''Result:'''
{{#dpl:
|imagecontainer=Apple
|format=,\n*[[%PAGE%]]\n,
}}


==List images used even if not existing==
==List images used even if not existing==

Revision as of 05:34, 7 April 2022

Manual Examples Display images used

List images used even if not existing

{{#dpl:
|imagecontainer = Apple¦Orange
|openreferences=true
}}

Lists all images used in the two Apple and Orange articles. openreferences=true lists non-existing images, including those not housed locally, such as images used from Wikimedia Commons. Non-existing images are displayed as red links.

This example is currently non-working, it may be replaced or removed at a later date to improve the clarity of this manual. As this needs to be done at a deliberate pace, the Gamepedia DPL3 Manual can be used in the interim, keeping in mind some functions may have changed.

Result:

Display images used

{{#dpl:
|imagecontainer = Apple¦Orange
|openreferences=true
|escapelinks=false
}}
This example is currently non-working, it may be replaced or removed at a later date to improve the clarity of this manual. As this needs to be done at a deliberate pace, the Gamepedia DPL3 Manual can be used in the interim, keeping in mind some functions may have changed.

Lists all images used in the two Apple and Orange articles. openreferences=true lists non-existing images, including those not housed locally, such as images used from Wikimedia Commons. Setting the parameter escapelinks to false, causes the display of existing images directly, rather than listing their names.

Result: