Images used (examples): Difference between revisions

m
Add some of the working examples here, the others may be parcelled out to separate/sandbox pages later
imported>FrozenPlum
m (Remove the duplicate that was moved to example page (for working example))
imported>FrozenPlum
m (Add some of the working examples here, the others may be parcelled out to separate/sandbox pages later)
Line 1:
{{DPL manual|section=Examples|subsection=Display images used}}
 
==imagecontainer==
==List images used even if not existing==
'''Example:'''<br><br><!-- transclude example from subpage-->{{#lsth:Criteria for page selection/Parameter: imagecontainer (example 1)|Example}}
{{example|base=Criteria for page selection|imagecontainer}}
 
'''Result:'''<br><!-- transclude example from subpage-->{{#lsth:Criteria for page selection/Parameter: imagecontainer (example 1)|Result}}
 
'''Example:'''<br>
This lists images used in the [[Apple]] article and uses the <code>format</code> parameter to format the resulting file link as a [[mw:Help:Images|rendered image]]
<pre>
{{#dpl:
|imagecontainer = Apple
|format = ,[[File:%TITLE%|40px]]
}}
</pre>
 
'''Result:'''<br>
{{#dpl:
|imagecontainer = Apple
|format = ,[[File:%TITLE%|40px]]
}}
 
 
==List images used evenexisting ifor not existing==
<pre>
{{#dpl:
Anonymous user