Difference between revisions of "Template:Photobox"

From Culture.si
 
(45 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude>
+
{{#ifeq:{{#this:depth}}|1|{{#eval:wrap|Photobox/{{{type}}}}}{{#default_form:Photobox}}}}
__TOC__
 
==Usage==
 
<pre>
 
{{Photobox
 
|description=
 
|subject=
 
|subject 2=
 
|subject 3=
 
|title=
 
|artist=
 
|artist 2=
 
|artist 3=
 
|foto=
 
|date=
 
|subject date=
 
|location=
 
|performance info=
 
|related article=
 
|related article 2=
 
|identifier=
 
|source=
 
}}
 
{{CC-by-nd-2.5}}
 
[[Category:Images]]
 
</pre>
 
==Arguments==
 
<dl>
 
<dt>[[Property:description|description]] (text)<dd>The description of what you see on the picture (the text is visible under the image in the Gallery) - add the links [[Link title]], title of the performance, book, in Slovene [Link title]]naslovi predstav, knjig,... v slovenskem jeziku, zraven v oglatih oklepajih [angleški naslov samo z referenco] ne prevajamo naslovov na lastno roko. / caption - max 150 chars / podnaslov
 
<dt>[[Property:subject|subject]] (page)<dd>The name of the article - identical with the Culture.si name! (the picture automatically appears in the Gallery of the article, and also as a Billboard text when the picture is Cat.BEST) LINK!
 
<dt>[[Property:subject 2|subject 2]] <dd> Who (name+surname) or what is on the picture- one LINK
 
<dt>[[Property:subject 3|subject 3]] <dd>in case of further subjects LINK
 
<dt>[[Property:artist|artist]] (page)<dd>The author of the / cover / performance director / book/ poster (Author or artist, band (for artifacts/artworks)
 
<dt>[[Property:artist 2|artist 2]] (page)<dd>The author  2 / cover / performance director / book/ poster  (Author or artist, band (for artifacts/artworks)
 
<dt>[[Property:artist 3|artist 3]] (page)<dd>The author 3 / cover / performance director / book/ poster  (Author or artist, band (for artifacts/artworks)
 
<dt>[[Property:title|title]] (text)<dd> The title of the artwork: book, performance, film, concert . Slovenian title! (for artifacts/artworks)
 
<dt>[[Property:foto|foto]] (page)<dd>Name and surename of the photographer)
 
<dt>[[Property:date|date]] (date)<dd> When was this photo was taken (Date)
 
<dt>[[Property:subject date|subject date]] <dd> coverage temporal, date of artefact, date of origin
 
<dt>[[Property:location|location]] (page)<dd>Location (where was this photo taken?)
 
<dt>[[Property:performance info|performance info]]<dd> link to sigledal.si 
 
<dt>[[Property:film info|film info]]<dd> link to imdb
 
<dt>[[Property:artist info|artist info]]<dd> link to the proper database
 
<dt>[[Property:related article|related article]] <dd>  the name of the related article (the image appears in the gallery of that article, too)  -IF NOT UNDER SUBJECT
 
<dt>[[Property:related article 2|related article 2]] <dd>  the name of another related article (the image appears in the gallery of that article, too)
 
<dt>[[Property:identifier|identifier]] (text)<dd>who has sent the picture: email xxx Unique identifier (for files that have one); Catalog number in the source; For example: user@domain.com:file1.jpg
 
<dt>[[Property:source|source]] (page)<dd> The institution (the main institution) who contributed the image (check the name - identical with the Culture.si name)
 
</dl>
 
 
 
==Subtemplates ==
 
{{Special:PrefixIndex/Template:Photobox/}}
 
</noinclude>{{#ifeq:{{#this:depth}}|1|
 
<table class="photobox">
 
 
 
{{photoboxRow
 
| label  = Description
 
| name    = description
 
| value  = {{{description}}}
 
| type    = text
 
}}
 
{{#if:{{{subject|}}}
 
  |{{photoboxRow
 
  | label  = Subject
 
  | name    = subject
 
  | value  = {{{subject}}}
 
  | type   = link
 
  }}
 
}}
 
{{#if:{{{subject2|}}}
 
  |{{photoboxRow
 
  | label  = Subject 2
 
  | name    = subject 2
 
  | value  = {{{subject2}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{subject3|}}}
 
  |{{photoboxRow
 
  | label  = Subject 3
 
  | name    = subject 3
 
  | value  = {{{subject3}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{artist|}}}
 
  |{{photoboxRow
 
  | label  = Artist
 
  | name    = artist
 
  | value  = {{{artist}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{artist 2|}}}
 
  |{{photoboxRow
 
  | label  = Artist
 
  | name    = artist
 
  | value  = {{{artist 2}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{artist 3|}}}
 
  |{{photoboxRow
 
  | label  = Artist
 
  | name    = artist
 
  | value  = {{{artist 3}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{foto|}}}
 
  |{{photoboxRow
 
  | label  = Photo by
 
  | name    = foto
 
  | value  = {{{foto}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{date|}}}
 
  |{{photoboxRow
 
  | label  = Date
 
  | name    = date
 
  | value  = {{{date}}}
 
  | type    = text
 
  }}
 
}}
 
{{#if:{{{location|}}}
 
  |{{photoboxRow
 
  | label  = Location
 
  | name    = location
 
  | value  = {{{location}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{performance info|}}}
 
  |{{photoboxRow
 
  | label  = Performance info
 
  | name    = performance info
 
  | value  = {{{performance info}}}
 
  | type    = text
 
  }}
 
}}
 
{{#if:{{{related article|}}}
 
  |{{photoboxRow
 
  | label  = Related article
 
  | name    = related article
 
  | value  = {{{related article}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{related article2|}}}
 
  |{{photoboxRow
 
  | label  = Related article 2
 
  | name    = related article 2
 
  | value  = {{{related article2}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{source|}}}
 
|{{photoboxRow
 
| label  = Source
 
| name    = source
 
| value  = {{{source}}}
 
| type    = link
 
}}
 
}}
 
{{#if:{{{alternative|}}}
 
|{{photoboxRow
 
| label  = Alternative
 
| name    = alternative
 
| value  = {{{alternative}}}
 
| type    = alternative
 
}}
 
}}
 
</table>
 
}}
 

Latest revision as of 07:51, 21 March 2024