Difference between revisions of "Template:Set image"

From SNIC Documentation
Jump to: navigation, search
Line 7: Line 7:
  
 
</noinclude>
 
</noinclude>
<includeonly>[[image::Image:{{{1}}}| ]]
+
<includeonly>{{left brackets}}image::Image:{{{1}}}| {{right brackets}}
 
{{#if:{{{quiet|}}}||[[Image:{{{1}}}]]}}</includeonly>
 
{{#if:{{{quiet|}}}||[[Image:{{{1}}}]]}}</includeonly>

Revision as of 10:05, 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.