Difference between revisions of "Template:Image summary"

m
m
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="background-color:#bdb76b; border:1px solid #000; border-bottom:none; height:11px; margin:1em auto 0 auto; width:90%; -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px; -webkit-border-radius-top-left:10px; -webkit-border-radius-top-right:10px"></div>
+
<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">
<div style="border:1px solid #000; border-top:none; border-bottom:none; margin:0 auto; width:90%">
+
<span style="color:#fff; font-size:larger; font-weight:bold; margin-left:4px">{{PAGENAME}}</span>
{| align="center" border="0" cellpadding="4" cellspacing="0" style="background-color:#fff; border-collapse:collapse; width:100%"
+
{| align="center" border="0" cellpadding="4" cellspacing="0" style="background-color:#fff; border-collapse:collapse; color:#000; width:100%"
! colspan="2" style="background-color:#bdb76b; color:#fff; font-size:larger; padding-top:0; text-align:left" | {{PAGENAME}}
+
|-
|- style="background-color:#eee8aa; color:#000"
+
! style="background-color:#eee8aa; text-align:left" colspan="2" | Information:
! style="text-align:left; width:8em" | Information:
 
! &nbsp;
 
 
|-
 
|-
| '''Summary'''
+
| style="width:8em" | '''Summary'''
| {{{summary|''Missing summary''<includeonly>[[Category:Missing copyright information]]</includeonly>}}}
+
| {{#if: {{{summary|}}} | {{{summary}}} | ''Missing summary''<includeonly>[[Category:Missing copyright information]]</includeonly>}}
 
|-
 
|-
 
| '''Artist'''
 
| '''Artist'''
| {{{artist|''Missing artist''<includeonly>[[Category:Missing copyright information]]</includeonly>}}}
+
| {{#if: {{{artist|}}} | {{{artist}}} | ''Missing artist''<includeonly>[[Category:Missing copyright information]]</includeonly>}}
 
|-
 
|-
 
| '''Source'''
 
| '''Source'''
| {{{source|''Missing source''<includeonly>[[Category:Missing copyright information]]</includeonly>}}}
+
| {{#if: {{{source|}}} | {{{source}}} | ''Missing source''<includeonly>[[Category:Missing copyright information]]</includeonly>}}
 +
|-
 +
| '''Licensing'''
 +
| {{#if: {{{licensing|}}} | {{{licensing}}} | ''Missing licensing''<includeonly>[[Category:Missing copyright information]]</includeonly>}}
 
|-
 
|-
 
|}
 
|}
</div><div style="background-color:#bdb76b; border:1px solid #000; border-top:none; height:11px; margin:0 auto; width:90%; -moz-border-radius-bottomleft:10px; -moz-border-radius-bottomright:10px; -webkit-border-radius-bottom-left:10px; -webkit-border-radius-bottom-right:10px"></div>
+
</div>
 
<noinclude>
 
<noinclude>
  
Line 25: Line 26:
  
 
{{Image summary/doc}}
 
{{Image summary/doc}}
[[Category:Templates|{{PAGENAME}}]]
+
[[Category: Templates|Image summary]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:34, 23 August 2020

Image summary

Information:
Summary Missing summary
Artist Missing artist
Source Missing source
Licensing Missing licensing




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[edit]

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

Explanation[edit]

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 title from where the picture was taken. The page number and year would be informative, but are optional.
licensing = 
Either {{fair use}}, {{used with permission}}, {{public domain}}, or a custom entry. The most common template is {{fair use}}.

Example[edit]

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