Jump to content
This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

Examples/Parameter: imagecontainer (example 1): Difference between revisions

m
formatting
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...")
 
imported>FrozenPlum
m (formatting)
 
(9 intermediate revisions by the same user not shown)
Line 1:
<noinclude>{{noedit}}</noinclude><!--
<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,
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> parameters could also be replaced by a <code>{{DPL|format}}</code> statement to provide greater control over formatting the output (see [[Display images used (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 <code>openreferences=true</code> we will also see non-existing images, including those not housed locally, such as images used from [https://meta.wikimedia.org/wiki/Wikimedia_Commons 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.
 
<pre>
{{#dpl:
|imagecontainer = Apple¦Orange
|escapelinks = false
|mode = none
|openreferences=true
}}
</pre>
 
==Result==
{{tempnote}}
<noinclude><!--
{{#dpl:
|imagecontainer = Apple¦Orange
|escapelinks = false
|mode = none
|openreferences=true
}}
}}--></noinclude>
 
<noinclude>
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 <code>openreferences=true</code> (currently non-working), we will also see non-existing images, including those not housed locally, such as images used from [https://meta.wikimedia.org/wiki/Wikimedia_Commons 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. ¦Orange -->
[[Category:Select by link-related criteria‎]]
[[Category:Uses imagecontainer parameter]]
[[Category:Uses escapelinksmode parameter]]
[[Category:Uses openreferences parameter]]
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.