Examples/Parameter: imagecontainer (example 1): Difference between revisions
< Examples
Content added Content deleted
imported>FrozenPlum m (Tweak again, since I'm inserting this into multiple pages/contexts, it needs to make sense for those also.) |
imported>FrozenPlum mNo edit summary |
||
Line 6:
==Example==
This statement will show images contained in the [[Apple]] article. Setting the parameter <code>escapelinks=false</code> causes the image to be seen directly (at full-size), rather than having the file page link listed. Setting <code>{{DPL|mode}}=none</code> removes the default unordered list (bullet) formatting, so the image appears without a bullet in front of it. The <code>{{DPL|escapelinks}}</code> and <code>mode</code>
<pre>
|
Revision as of 00:37, 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 (at full-size), rather than having the file page link listed. Setting mode=none
removes the default unordered list (bullet) formatting, so the image appears without a bullet in front of it. The escapelinks
and mode
parameters could also be replaced by a format
statement to provide greater control over formatting the output (see Display images used (example)).
{{#dpl: |imagecontainer = Apple |escapelinks = false |mode = none }}
Result
{{#dpl: |imagecontainer = Apple |escapelinks = false |mode = none }}