Difference between revisions of "Template:Photobox/Sculpture"

From Culture.si
(location added)
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<noinclude><pre>
 
<noinclude><pre>
{{Sculpture
+
  {{Photo
|description      =
+
  | status  = URL PHOTOBOX LOCALINFO CATEGORIES SIZE
|subject          =
+
  }}
|date             =
+
  </pre>
|artist          =
+
 
|artist 2        =
+
  <noinclude><pre>
|title            =
+
  {{Sculpture
|technique        =
+
  |description      =
|dimensions      =
+
  |subject          =
|date            =
+
  |subject date     =
|location        =
+
  |artist          =
|related article  =
+
  |artist 2        =
|related article 2 =
+
  |title            =
|identifier      =
+
  |technique        =
|source          =
+
  |dimensions      =
}}
+
  |foto            =
 
+
  |date            =
</pre>
+
  |location        =
</noinclude>{{#ifeq:{{#this:depth}}|1|
+
  |related article  =
<table class="photobox">
+
  |related article 2 =
{{photoboxRow
+
  |identifier      =
| label  = Description
+
  |source          =
| name    = description
+
  }}
| value  = {{{description}}}
+
 
| type    = text
+
  </pre>
}}
+
  </noinclude>{{#ifeq:{{#this:depth}}|1|
{{#if:{{{subject|}}}
+
  {{Photobox/Common}}
   |{{photoboxRow
+
  <table class="photobox">
 +
  {{photoboxRow
 +
  | label  = Description
 +
  | name    = description
 +
  | value  = {{{description|}}}
 +
  | type    = text
 +
  }}{{photoboxRow
 +
  | label  = Subject date
 +
  | name    = subject date
 +
  | value  = {{{subject date|}}}
 +
   | type    = text
 +
  }}{{photoboxRow
 
   | label  = Subject
 
   | label  = Subject
 
   | name    = subject
 
   | name    = subject
   | value  = {{{subject}}}
+
   | value  = {{{subject|}}}
 
   | type    = link
 
   | type    = link
   }}
+
   }}{{photoboxRow
}}
 
{{#if:{{{artist|}}}
 
  |{{photoboxRow
 
 
   | label  = Artist
 
   | label  = Artist
 
   | name    = artist
 
   | name    = artist
   | value  = {{{artist}}}
+
   | value  = {{{artist|}}}
 
   | type    = link
 
   | type    = link
   }}
+
   }}{{photoboxRow
}}
 
{{#if:{{{artist 2|}}}
 
  |{{photoboxRow
 
 
   | label  = &nbsp;
 
   | label  = &nbsp;
 
   | name    = artist
 
   | name    = artist
   | value  = {{{artist 2}}}
+
   | value  = {{{artist 2|}}}
 
   | type    = link
 
   | type    = link
   }}
+
   }}{{photoboxRow
}}
 
{{#if:{{{title|}}}
 
  |{{photoboxRow
 
 
   | label  = Title
 
   | label  = Title
 
   | name    = title
 
   | name    = title
   | value  = {{{title}}}
+
   | value  = {{{title|}}}
 
   | type    = text
 
   | type    = text
   }}
+
   }}{{photoboxRow
}}
 
{{#if:{{{technique|}}}
 
  |{{photoboxRow
 
 
   | label  = Technique
 
   | label  = Technique
 
   | name    = technique
 
   | name    = technique
   | value  = {{{technique}}}
+
   | value  = {{{technique|}}}
 
   | type    = text
 
   | type    = text
   }}
+
   }}{{photoboxRow
}}
 
{{#if:{{{dimensions|}}}
 
  |{{photoboxRow
 
 
   | label  = Dimensions
 
   | label  = Dimensions
 
   | name    = dimensions
 
   | name    = dimensions
   | value  = {{{dimensions}}}
+
   | value  = {{{dimensions|}}}
 
   | type    = text
 
   | type    = text
   }}
+
   }}{{photoboxRow
}}
+
  | label  = Photo by
{{#if:{{{date|}}}
+
  | name    = foto
   |{{photoboxRow
+
  | value  = {{{foto|}}}
 +
   | type    = link
 +
  }}{{photoboxRow
 
   | label  = Date
 
   | label  = Date
 
   | name    = date
 
   | name    = date
   | value  = {{{date}}}
+
   | value  = {{{date|}}}
 
   | type    = text
 
   | type    = text
   }}
+
   }}{{photoboxRow
}}
 
{{#if:{{{location|}}}
 
  |{{photoboxRow
 
 
   | label  = Location
 
   | label  = Location
 
   | name    = location
 
   | name    = location
   | value  = {{{location}}}
+
   | value  = {{{location|}}}
 
   | type    = link
 
   | type    = link
   }}
+
   }}{{photoboxRow
}}
 
{{#if:{{{related article|}}}
 
  |{{photoboxRow
 
 
   | label  = Related article
 
   | label  = Related article
 
   | name    = related article
 
   | name    = related article
   | value  = {{{related article}}}
+
   | value  = {{{related article|}}}
 
   | type    = link
 
   | type    = link
   }}
+
   }}{{photoboxRow
}}
 
{{#if:{{{related article 2|}}}
 
  |{{photoboxRow
 
 
   | label  = &nbsp;
 
   | label  = &nbsp;
 
   | name    = related article
 
   | name    = related article
   | value  = {{{related article 2}}}
+
   | value  = {{{related article 2|}}}
 
   | type    = link
 
   | type    = link
   }}
+
   }}{{photoboxRow
}}
+
   | label  = Media Source
{{#if:{{{source|}}}
+
   | name    = media source
  {{photoboxRow
+
   | value  = {{{source|}}}
   | label  = Source
 
   | name    = source
 
   | value  = {{{source}}}
 
 
   | type    = link
 
   | type    = link
 
   }}
 
   }}
}}
 
 
 
</table>
 
</table>
}}
 
{{C}}
 
 
[[Category:Sculptures]]
 
[[Category:Sculptures]]
 
[[Category:Visual arts]]
 
[[Category:Visual arts]]
 
[[Category:Artifacts]]
 
[[Category:Artifacts]]
 +
}}

Latest revision as of 19:46, 20 March 2024

  {{Photo
  | status  = URL PHOTOBOX LOCALINFO CATEGORIES SIZE 
  }}
  
  {{Sculpture
  |description      =
  |subject          =
  |subject date     =
  |artist           =
  |artist 2         =
  |title            =
  |technique        =
  |dimensions       =
  |foto             =
  |date             =
  |location         =
  |related article  =
  |related article 2 =
  |identifier       =
  |source           =
  }}