Examples/Parameter: imagecontainer (example 1): Difference between revisions
< Examples
Content added Content deleted
imported>FrozenPlum mNo edit summary |
imported>FrozenPlum m (Give an option on how to format the output right in the example text, for better understanding, and for if/when this is sandbox tested.) |
||
Line 6:
==Example==
This statement will show
<pre>
Line 12:
|imagecontainer = Apple
|escapelinks = false
|mode = none
}}
</pre>
Line 18 ⟶ 19:
{{#dpl:
|imagecontainer = Apple
|mode = none
}}
<noinclude>
<!--Normally, we would only get the names of images that really exist. But because we have specified openreferences=true (currently non-working), 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:Select by link-related criteria]]
[[Category:Uses imagecontainer parameter]]
[[Category:Uses mode parameter]]
</noinclude>
|
Revision as of 00:09, 16 April 2022
Example
This statement will show images contained in the Apple article. Setting the parameter escapelinks=false
causes the image to be seen directly, rather than having the file page link listed. Setting mode=none
removes the default unordered bullet formatting before the item, so only the image is displayed. The mode
parameter could also be replaced by a format
statement to provide greater control over formatting the output, such as |format = ,[[File:%TITLE%|40px]]
to change the image size.
{{#dpl: |imagecontainer = Apple |escapelinks = false |mode = none }}
Result
{{#dpl: |imagecontainer = Apple |mode = none }}