Examples/Parameter: imagecontainer (example 1): Difference between revisions
< Examples
Content added Content deleted
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) |
imported>FrozenPlum mNo edit summary |
||
Line 6: | Line 6: | ||
==Example== |
==Example== |
||
This statement will show all images which are contained in the article [[Apple]]. Setting the parameter <code>escapelinks=false</code>, however, causes the image to be see directly, rather than having the file page listed. |
|||
Lists all images used on the [[Apple]] article. |
|||
<pre> |
<pre> |
||
{{#dpl: |
{{#dpl: |
||
|imagecontainer=Apple |
|imagecontainer = Apple |
||
|escapelinks=false |
|||
}} |
}} |
||
</pre> |
</pre> |
||
Line 16: | Line 17: | ||
==Result== |
==Result== |
||
{{#dpl: |
{{#dpl: |
||
|imagecontainer=Apple |
|imagecontainer = Apple |
||
|escapelinks=false |
|||
}} |
}} |
||
<noinclude> |
<noinclude> |
||
<!--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. Non-existing images will be displayed as red links. ¦Orange --> |
|||
[[Category:Uses imagecontainer parameter]] |
[[Category:Uses imagecontainer parameter]] |
||
</noinclude> |
</noinclude> |
Revision as of 05:32, 7 April 2022
Example
This statement will show all images which are contained in the article Apple. Setting the parameter escapelinks=false
, however, causes the image to be see directly, rather than having the file page listed.
{{#dpl: |imagecontainer = Apple |escapelinks=false }}
Result
{{#dpl: |imagecontainer = Apple |escapelinks=false }}