Difference between revisions of "Template:Image"

210 bytes added ,  3 years ago
m
no edit summary
m (added missing curly brace)
m
-->|<!--
ARTIST: --><div class="attribution">by <page-property key="{{{attribute|artist}}}" page="File:{{{1}}}" no-value="{{missing artist|marker=?}}" /></div><!--
CAPTION: --> {{#if:{{{2}}}|{{{2}}}|}} <!--
-->]]</includeonly><noinclude>[[category: templates|{{PAGENAME}}]]
 
; Usage: {{t|{{lc:{{PAGENAME}}|}}|file-name.png|caption}}
 
The file name and caption parameters areis required. THereCaption is, technically optional but strongly encouraged. There are several optional parameters:
 
<pre>
}}
</pre>
 
When copy-pasting the template above, it might be more readable to put it all on the same line; it is split across multiple ones just for clarity.
 
{| class="wikitable" style="width: 100%"