Difference between revisions of "Template:Image information art"

From blackwiki
Jump to navigation Jump to search
imported>Ginsuloft
(moved it inside the existing noinclude tags (better that way))
imported>B
(Add machine-readable markers. See https://meta.wikimedia.org/wiki/File_metadata_cleanup_drive/How_to_fix_metadata for information.)
 
Line 2: Line 2:
 
! colspan="2" style="font-size:120%;background-color:gray;color:white"| Artwork image information
 
! colspan="2" style="font-size:120%;background-color:gray;color:white"| Artwork image information
 
|-
 
|-
! style="background: #F5F5F5; text-align: right; vertical-align: top;" width="15%" | Title
+
! style="background: #F5F5F5; text-align: right; vertical-align: top;" width="15%" {{#if:{{{Title|{{{title|}}}}}}|id="fileinfotpl_desc"}} | Title
 
| style="background: #ffffff; text-align: left;" | {{{title}}}
 
| style="background: #ffffff; text-align: left;" | {{{title}}}
 
|-
 
|-
! style="background: #F5F5F5; text-align: right; vertical-align: top;" class="vcard" | Artist
+
! style="background: #F5F5F5; text-align: right; vertical-align: top;" class="vcard" {{#if:{{{Artist|{{{artist|}}}}}}|id="fileinfotpl_aut"}} | Artist
| style="background: #ffffff; text-align: left;" class-"fn" | {{{artist}}}
+
| style="background: #ffffff; text-align: left;" class-"fn" | {{#if: {{{Artist|{{{artist|}}}}}}
 +
| {{{Artist|{{{artist}}}}}}
 +
| <noinclude>{{{artist}}}</noinclude><includeonly>{{Description missing|author information|category=}}</includeonly>{{#ifeq:{{NAMESPACE}}|File|<includeonly>[[Category:Files lacking an author]]</includeonly>}}
 +
}}
 
|-
 
|-
 
! style="background: #F5F5F5; text-align: right; vertical-align: top;" | Year
 
! style="background: #F5F5F5; text-align: right; vertical-align: top;" | Year
Line 35: Line 38:
 
| style="background: #ffffff; text-align: left;" | {{{museum}}}
 
| style="background: #ffffff; text-align: left;" | {{{museum}}}
 
|-
 
|-
! style="background: #F5F5F5; text-align: right; vertical-align: top;" | Source
+
! style="background: #F5F5F5; text-align: right; vertical-align: top;" {{#if:{{{Source|{{{source|}}}}}}|id="fileinfotpl_src"}} | Source
| style="background: #ffffff; text-align: left;" | {{{source}}}
+
| style="background: #ffffff; text-align: left;" | {{#if:{{{Source|{{{source|}}}}}}
 +
| {{{Source|{{{source}}}}}}
 +
| {{#ifeq:{{NAMESPACE}}|File|<includeonly>[[Category:Files with no machine-readable source]]</includeonly>}} <includeonly>No source specified. Please edit this file description and [[Wikipedia:Citing sources#Multimedia|provide a source]].</includeonly><noinclude>{{{source}}}</noinclude>
 +
}}
 
|-
 
|-
 
! style="background: #F5F5F5; text-align: right; vertical-align: top;" | Permission
 
! style="background: #F5F5F5; text-align: right; vertical-align: top;" | Permission

Latest revision as of 09:23, 17 September 2018

Artwork image information
Title {{{title}}}
Artist {{{artist}}}
Year {{{year}}}
Creation location {{{creationLocation}}}
Type {{{type}}}
Height {{{height}}}
Width {{{width}}}
Depth {{{depth}}}
Units {{{units}}}
City {{{city}}}
Museum/Gallery {{{museum}}}
Source {{{source}}}
Permission {{{permission}}}
Other notes {{{other}}}

Template:Pp-semi

Brief syntax description

{{Image information art|
|title = Title of the work
|artist = Artist who created it
|year = Year of production
|creationLocation = Location where the work was created
|type = Technique used
|height = Height
|width = Width
|depth = Depth
|units = Units of measurement
|city = City of current location
|museum = Museum/gallery/venue of (current) location
|source = Where the image was found (URL + name, usually)
|permission = Notes about permission to use the image. This does NOT replace the need for a license tag or fair use statement.
|other = Other notes about the image or artwork
|other_versions = (optional variable, can be left out)
}}

See also