Examples/Parameter: imagecontainer (example 1)

From DynamicPageList3 Manual
Revision as of 05:16, 7 April 2022 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

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 openreferences=true we will also see non-existing images, including those not housed locally, such as images used from 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.

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

Result

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.