Difference between revisions of "Template:Photobox"

From Culture.si
 
(102 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=
 
|author=
 
|foto=
 
|date=
 
|location=
 
|identifier=
 
|source=
 
|language=
 
|coverage=
 
|rights=http://creativecommons.org/licenses/by-nd/2.5/si/
 
|alternative=
 
}}
 
[[Category:Images]]
 
[[Category:Artifacts]]
 
</pre></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 06:51, 21 March 2024