Difference between revisions of "Template:Image summary/doc"

m
(added example)
Line 1: Line 1:
The {{[[template:image summary|image summary]]}} template shows all relevant information about an uploaded image, with the exception of copyright info, which is handled separately.
+
The {{[[template:image summary|image summary]]}} template shows all relevant information about an uploaded image, including copyright info. If any of the fields are missing, the template will include the category [[:Category:Missing copyright information|Missing copyright information]].
 
 
If any of the fields are missing, the template will include the category [[:Category:Missing copyright information|Missing copyright information]].
 
  
 
==Usage==
 
==Usage==
Line 17: Line 15:
 
; artist = : The artist, designer, or photographer of the image.
 
; artist = : The artist, designer, or photographer of the image.
 
; source = : The source of the image. Should include the book name and year from where the picture was taken.
 
; source = : The source of the image. Should include the book name and year from where the picture was taken.
; licensing = : Either {{[[:template:fair use|fair use]]}}, {{[[:template:used with permission|used with permission]]}}, {{[[:template:public domain|public domain]]}}, or a custom entry.
+
; licensing = : Either [[:template:fair use|<nowiki>{{</nowiki>fair use<nowiki>}}</nowiki>]], [[:template:used with permission|<nowiki>{{</nowiki>used with permission<nowiki>}}</nowiki>]], [[:template:public domain|<nowiki>{{</nowiki>public domain<nowiki>}}</nowiki>]], or a custom entry. The most common template is [[:template:fair use|<nowiki>{{</nowiki>fair use<nowiki>}}</nowiki>]].
 +
 
 +
==Example==
 +
This code:
 +
<pre>
 +
{{Image summary
 +
| summary = The [[Bounty Hunter]] confronting ''[[Tai-sho]]'' [[Katana Tormark]].
 +
| artist = [[Ray Lundgren]]
 +
| source = ''[[Daughter of the Dragon]]'' by [[Ilsa J. Bick]] (June 2005)
 +
| licensing = {{fair use}}
 +
}}
 +
</pre>
 +
 
 +
Will display:
 +
<div style="background-color:#bdb76b; border:1px solid #000; margin:1em auto 0 auto; padding-bottom:10px; width:90%; -moz-border-radius:10px; -webkit-border-radius:10px">
 +
<span style="color:#fff; font-size:larger; font-weight:bold; margin-left:4px">Daughter of the Dragon.jpg</span>
 +
{| align="center" border="0" cellpadding="4" cellspacing="0" style="background-color:#fff; border-collapse:collapse; color:#000; width:100%"
 +
|-
 +
! style="background-color:#eee8aa; text-align:left" colspan="2" | Information:
 +
|-
 +
| style="width:8em" | '''Summary'''
 +
| The [[Bounty Hunter]] confronting ''[[Tai-sho]]'' [[Katana Tormark]].
 +
|-
 +
| '''Artist'''
 +
| [[Ray Lundgren]]
 +
|-
 +
| '''Source'''
 +
| ''[[Daughter of the Dragon]]'' by [[Ilsa J. Bick]] (June 2005)
 +
|-
 +
| '''Licensing'''
 +
| {{fair use}}
 +
|-
 +
|}
 +
</div>

Revision as of 23:56, 26 April 2010

The {{image summary}} template shows all relevant information about an uploaded image, including copyright info. If any of the fields are missing, the template will include the category Missing copyright information.

Usage

{{Image summary
| summary = 
| artist = 
| source = 
| licensing = 
}}

Explanation

summary = 
An explanation of what the image represents.
artist = 
The artist, designer, or photographer of the image.
source = 
The source of the image. Should include the book name and year from where the picture was taken.
licensing = 
Either {{fair use}}, {{used with permission}}, {{public domain}}, or a custom entry. The most common template is {{fair use}}.

Example

This code:

{{Image summary 
| summary = The [[Bounty Hunter]] confronting ''[[Tai-sho]]'' [[Katana Tormark]].
| artist = [[Ray Lundgren]]
| source = ''[[Daughter of the Dragon]]'' by [[Ilsa J. Bick]] (June 2005)
| licensing = {{fair use}}
}}

Will display:

Daughter of the Dragon.jpg

Information:
Summary The Bounty Hunter confronting Tai-sho Katana Tormark.
Artist Ray Lundgren
Source Daughter of the Dragon by Ilsa J. Bick (June 2005)
Licensing