Editing Template:Image

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
<includeonly>[[file: {{{1}}}|thumb|{{{side|center}}}|{{{width|10%}}}| {{{2}}} <small>by <page-property key="{{{attribute|artist}}}" page="File:{{{1}}}" no-value="{{missing artist|marker=?}}" no-page="@{{{attribute|artist}}}" /></small>]]</includeonly><noinclude>
<includeonly><!--
 
 
This template should be used on pages to include a thumbnail of an image on a page. The
-->[[file:<!--
 
FILE: --> {{{1}}}<!--
 
STYLE:-->|thumb|{{{side|center}}}|{{#if:{{{height|}}}|x{{{height}}}|{{{width|100px}}}|}}<!--
 
-->|<!--
 
ARTIST: --><div class="attribution">by <page-property key="{{{attribute|artist}}}" page="File:{{{1}}}" no-value="{{missing artist|marker=an unknown artist}}" /></div><!--
 
CAPTION: --> {{#if:{{{2|}}}|{{{2}}}|}} <!--
 
LINK: -->{{#if:{{{link|}}}|{{!}}link={{{link}}}}}<!--
 
ALT TEXT: -->|alt=<page-property key="alt" page="File:{{{1}}}" no-value="" /><!--
 
-->]]</includeonly><noinclude>[[category: templates|{{PAGENAME}}]]
 
 
This template should be used on pages to include a thumbnail of an image on a page.
 
 
; Usage: {{t|{{lc:{{PAGENAME}}|}}|file-name.extension|caption}}
 
 
The file name parameter is required. The caption is technically optional, but is strongly encouraged. There are also several other optional parameters:
 
 
<pre>
 
{{image|file-name.extension|caption
 
|side=center/left/right
 
|width=100px
 
|attribute=artist/art-tracer/art-modified
 
|link=[[File:file-name.extension]]
 
}}
 
</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. If an optional parameter is not set, it defaults to the first value listed on its line above (height defaults to preserve ratio with the 100px default width).
 
 
{| class="wikitable" style="width: 100%"
 
|+ Usage Examples
 
|- class="title"
 
! Parameter !! Description !! Code
 
! width=30% | Example
 
|-
 
|style="text-align: center;"| ''none'' || when only the file name is passed
 
| <pre>{{image|cosmere symbol.svg}}</pre>
 
| {{image|cosmere symbol.svg}}
 
|-
 
|style="text-align: center;"| ''caption'' || when only the file name and caption are passed
 
| <pre>{{image|cosmere symbol.svg|this is the caption}}</pre>
 
| {{image|cosmere symbol.svg|this is the caption}}
 
|-
 
|style="text-align: center;"| <code>side=left</code> || pushes the image over to the left, and allows the page to flow around it
 
| <pre>{{image|cosmere symbol.svg|side=left|this is the caption}}</pre>
 
| {{image|cosmere symbol.svg|side=left|this is the caption}}
 
|-
 
|style="text-align: center;"| <code>side=right</code> || pushes the image over to the right, and allows the page to flow around it
 
| <pre>{{image|cosmere symbol.svg|side=right|this is the caption}}</pre>
 
| {{image|cosmere symbol.svg|side=right|this is the caption}}
 
|-
 
|style="text-align: center;"| <code>attribute=art-tracer</code><br />or<br /><code>attribute=art-modified</code> || changes the attribution of the image to the "tracer" of the image or the person who modified it instead of the original artist.
 
| <pre>{{image|cosmere symbol.svg|attribute=art-tracer|this is the caption}}</pre>
 
| {{image|cosmere symbol.svg|attribute=art-tracer|this is the caption}}
 
|-
 
|style="text-align: center;"| <code>width=20%</code> || changes the width of the image
 
| <pre>{{image|cosmere symbol.svg|width=200px|this is the caption}}</pre>
 
| {{image|cosmere symbol.svg|width=200px|this is the caption}}
 
|-
 
|style="text-align: center;"| <code>height=20%</code> || changes the height of the image
 
| <pre>{{image|Navani's Ketek glyphs.svg|height=150px|The [[ketek]] "Alight, winds approach deadly approaching winds alight" written in [[glyphs]] and stylized to represent the meeting of the [[Everstorm]] and a [[highstorm]]}}</pre>
 
| {{image|Navani's Ketek glyphs.svg|height=150px|The [[ketek]] "Alight, winds approach deadly approaching winds alight" written in [[glyphs]] and stylized to represent the meeting of the [[Everstorm]] and a [[highstorm]]}}
 
|-
 
|style="text-align: center;"| <code>link=Cosmere</code> || makes the image link to a page instead of its File page
 
| <pre>{{image|cosmere symbol.svg|The cosmere symbol, with a link to [[cosmere]] instead of [[:File:cosmere symbol.svg]]|width=200px|link=cosmere}}</pre>
 
| {{image|cosmere symbol.svg|The cosmere symbol, with a link to [[cosmere]] instead of [[:File:cosmere symbol.svg]]|width=200px|link=cosmere}}
 
|}
 
 
; Notes: The <code>height</code> parameter overrides the <code>width</code> parameter. If exact dimensions are required pass <code>width=WxHpx</code> where <code>W</code> is the width & <code>H</code> is the height.
 
 
== Articles using Template ==
 
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
 
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
 

Please note that all contributions to The Coppermind are considered to be released under the CC4 by-nc-nd (see Coppermind:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page: