Difference between revisions of "Template:Photobox"

From Culture.si
Line 18: Line 18:
 
</pre>
 
</pre>
 
<dl>
 
<dl>
<dt>[[Property:description|description]]<dd>Short description / caption - max 150 chars / podnaslov
+
<dt>[[Property:description|description]] (text)<dd>Short description / caption - max 150 chars / podnaslov
<dt>[[Property:subject|subject]]<dd>What is on a photo? (short)
+
<dt>[[Property:subject|subject]] (page)<dd>What is on a photo? (person, organization, publication...)
<dt>[[Property:artist|artist]]<dd>Author or artist, band (for artifacts/artworks)
+
<dt>[[Property:artist|artist]] (page)<dd>Author or artist, band (for artifacts/artworks)
<dt>[[Property:title|title]]<dd>Title (for artifacts/artworks)
+
<dt>[[Property:title|title]] (text)<dd>Title (for artifacts/artworks)
<dt>[[Property:foto|foto]]<dd>Photographer
+
<dt>[[Property:foto|foto]] (page)<dd>Photographer
<dt>[[Property:date|date]]<dd>Date (when was this photo taken?)
+
<dt>[[Property:date|date]] (date)<dd>Date (when was this photo taken?)
<dt>[[Property:location|location]]<dd>Location (where was this photo taken?)
+
<dt>[[Property:location|location]] (page)<dd>Location (where was this photo taken?)
<dt>[[Property:identifier|identifier]]<dd>Unique identifier (for files that have one); Catalog number in the source; For example: user@domain.com:file1.jpg
+
<dt>[[Property:identifier|identifier]] (text)<dd>Unique identifier (for files that have one); Catalog number in the source; For example: user@domain.com:file1.jpg
<dt>[[Property:source|source]]<dd>Source of file (URL)
+
<dt>[[Property:source|source]] (page)<dd>Source of file (URL)
<dt>[[Property:coverage|coverage]]<dd>Spatial or temporal coverage (when and where)
+
<dt>[[Property:coverage|coverage]] (text)<dd>Spatial or temporal coverage (when and where)
<dt>[[Property:alternative|alternative]]<dd>Alternative representation (eg. PDF for logos)
+
<dt>[[Property:alternative|alternative]] (file)<dd>Alternative representation (eg. PDF for logos)
 
</dl>
 
</dl>
 
</noinclude>{{#ifeq:{{#this:depth}}|1|
 
</noinclude>{{#ifeq:{{#this:depth}}|1|
Line 37: Line 37:
 
| value  = {{{description}}}
 
| value  = {{{description}}}
 
| type    = text
 
| type    = text
 +
}}
 +
{{#if:{{{subject|}}}
 +
  |{{photoboxRow
 +
  | label  = Subject
 +
  | name    = subject
 +
  | value  = {{{subject}}}
 +
  | type    = link
 +
  }}
 
}}
 
}}
 
{{#if:{{{artist|}}}
 
{{#if:{{{artist|}}}

Revision as of 04:56, 24 April 2010

{{Photobox
|description=
|subject=
|artist=
|title=
|foto=
|date=
|location=
|identifier=
|source=
|coverage=
|alternative=
}}
{{CC-by-nd-2.5}}
[[Category:Images]]
[[Category:Artifacts]]
description (text)
Short description / caption - max 150 chars / podnaslov
subject (page)
What is on a photo? (person, organization, publication...)
artist (page)
Author or artist, band (for artifacts/artworks)
title (text)
Title (for artifacts/artworks)
foto (page)
Photographer
date (date)
Date (when was this photo taken?)
location (page)
Location (where was this photo taken?)
identifier (text)
Unique identifier (for files that have one); Catalog number in the source; For example: user@domain.com:file1.jpg
source (page)
Source of file (URL)
coverage (text)
Spatial or temporal coverage (when and where)
alternative (file)
Alternative representation (eg. PDF for logos)