Difference between revisions of "Template:Photobox"

From Culture.si
 
(95 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<noinclude><pre>
+
{{#ifeq:{{#this:depth}}|1|{{#eval:wrap|Photobox/{{{type}}}}}{{#default_form:Photobox}}}}
{{Photobox
 
|description=
 
|subject=
 
|artist=
 
|title=
 
|foto=
 
|date=
 
|location=
 
|identifier=
 
|source=
 
|source contact=
 
|coverage=
 
|alternative=
 
}}
 
{{CC-by-nd-2.5-si}}
 
[[Category:Images]]
 
[[Category:Artifacts]]
 
</pre>
 
<dl>
 
<dt>[[Property:description|description]]<dd>Short description / caption - max 150 chars
 
<dt>[[Property:subject|subject]]<dd>What is on a photo? (short)
 
<dt>[[Property:artist|artist]]<dd>Author or artist, band (for artifacts/artworks)
 
<dt>[[Property:title|title]]<dd>Title (for artifacts/artworks)
 
<dt>[[Property:foto|foto]]<dd>Photographer
 
<dt>[[Property:date|date]]<dd>Date (when was this photo taken?)
 
<dt>[[Property:location|location]]<dd>Location (where was this photo taken?)
 
<dt>[[Property:identifier|identifier]]<dd>Unique identifier (for files that have one); Catalog number in the source
 
<dt>[[Property:source|source]]<dd>Source of file (URL)
 
<dt>[[Property:source contact|source contact]]<dd>Source contact of file (email)
 
<dt>[[Property:coverage|coverage]]<dd>Spatial or temporal coverage (when and where)
 
<dt>[[Property:alternative|alternative]]<dd>Alternative representations (eg. PDF for logos)
 
</dl>
 
</noinclude>{{#ifeq:{{#this:depth}}|1|
 
<table class="photobox">
 
{{photoboxRow
 
| label  = Description
 
| name    = description
 
| value  = {{{description}}}
 
| type   = text
 
}}
 
{{photoboxRow
 
| label  = Author
 
| name    = author
 
| value  = {{{author}}}
 
| type    = text
 
}}
 
{{photoboxRow
 
| label  = Photo by
 
| name    = foto
 
| value  = {{{foto}}}
 
| type    = text
 
}}
 
{{photoboxRow
 
| label  = Date
 
| name    = date
 
| value  = {{{date}}}
 
| type    = text
 
}}
 
{{photoboxRow
 
| label  = Location
 
| name    = location
 
| value  = {{{location}}}
 
| type    = link
 
}}
 
{{photoboxRow
 
| label  = Identifier
 
| name    = identifier
 
| value  = {{{identifier}}}
 
| type    = text
 
}}
 
{{photoboxRow
 
| label  = Source
 
| name    = source
 
| value  = {{{source}}}
 
| type    = text
 
}}
 
{{photoboxRow
 
| label  = Alternative
 
| name    = alternative
 
| value  = {{{alternative}}}
 
| type    = alternative
 
}}
 
</table>
 
}}
 

Latest revision as of 07:51, 21 March 2024