Difference between revisions of "Template:Set image"
(9 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
</noinclude> | </noinclude> | ||
− | <includeonly>{{ | + | <includeonly>{{#set: image=Image:{{{1}}}}} |
{{#if:{{{quiet|}}}||[[Image:{{{1}}}]]}}</includeonly> | {{#if:{{{quiet|}}}||[[Image:{{{1}}}]]}}</includeonly> |
Latest revision as of 12:55, 5 July 2011
Helper for setting the image property correctly. Among other things, it helps with getting the I in Image right.
Usage: {{set image|filename|[quiet=]}}
When using this template, the image will also be also shown, as-is, without any options on it. This is probably exactly what you want to happen, since it is a good check that the image looks good when shown in this manner, which is essential because this is how most dynamically generated content will display it. You can use quiet to set the image property quietly, but only if you have very good reasons to do so.