Difference between revisions of "Template:Set image"
Line 8: | Line 8: | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#set: image=Image:{{{1}}}}} | <includeonly>{{#set: image=Image:{{{1}}}}} | ||
− | {{#if:{{{quiet|}}}||[[Image:{{{1}}}]]}}</includeonly> | + | {{#if:{{{quiet|}}}||[[Image:{{{1}}}]] wth dude}}</includeonly> |
Revision as of 11:20, 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.