Difference between revisions of "Template:Photobox/Film"

From Culture.si
 
(3 intermediate revisions by 2 users not shown)
Line 27: Line 27:
 
}}
 
}}
 
</pre>
 
</pre>
</noinclude> {{#ifeq:{{#this:depth}}|1|
+
</noinclude><includeonly>
 +
{{Photobox/Common}}
 
<table class="photobox">
 
<table class="photobox">
 
{{photoboxRow
 
{{photoboxRow
| label  = Description
+
| label  = Description
| name    = description
+
| name    = description
| value  = {{{description}}}
+
| value  = {{{description|}}}
| type    = text
+
| type    = text
}}
+
}}{{photoboxRow
{{#if:{{{subject|}}}
+
| label  = Subject
  | {{photoboxRow
+
| name    = subject
  | label  = Subject
+
| value  = {{{subject|}}}
  | name    = subject
+
| type    = link
  | value  = {{{subject}}}
+
}}{{photoboxRow
  | type    = link
+
| label  = &nbsp;
  }}
+
| name    = subject
}}
+
| value  = {{{subject 2|}}}
{{#if:{{{subject 2|}}}
+
| type    = link
  | {{photoboxRow
+
}}{{photoboxRow
  | label  = &nbsp;
+
| label  = &nbsp;
  | name    = subject
+
| name    = subject
  | value  = {{{subject 2}}}
+
| value  = {{{subject 3|}}}
  | type    = link
+
| type    = link
  }}
+
}}{{photoboxRow
}}
+
| label  = Directed by
{{#if:{{{subject 3|}}}
+
| name    = director
  | {{photoboxRow
+
| value  = {{{director|}}}
  | label  = &nbsp;
+
| type    = text
  | name    = subject
+
}}{{photoboxRow
  | value  = {{{subject 3}}}
+
| label  = Artist
  | type    = link
+
| name    = artist
  }}
+
| value  = {{{artist 2|}}}
}}
+
| type    = text
{{#if:{{{director|}}}
+
}}{{photoboxRow
  | {{photoboxRow
+
| label  = &nbsp;
  | label  = Directed by
+
| name    = artist
  | name    = director
+
| value  = {{{artist 3|}}}
  | value  = {{{director}}}
+
| type    = text
  | type    = text
+
}}{{photoboxRow
  }}
+
| label  = Title
}}
+
| name    = title
{{#if:{{{artist 2|}}}
+
| value  = {{{title|}}}
  | {{photoboxRow
+
| type    = text
  | label  = Artist
+
}}{{photoboxRow
  | name    = artist
+
| label  = Film info
  | value  = {{{artist 2}}}
+
| name    = imdb
  | type    = text
+
| value  = {{{imdb|}}}
  }}
+
| type    = text
}}
+
}}{{photoboxRow
{{#if:{{{artist 3|}}}
+
| label  = Production company
  | {{photoboxRow
+
| name    = production company
  | label  = &nbsp;
+
| value  = {{{production company|}}}
  | name    = artist
+
| type    = link
  | value  = {{{artist 3}}}
+
}}{{photoboxRow
  | type    = text
+
| label  = &nbsp;
  }}
+
| name    = production company 2
}}
+
| value  = {{{production company 2|}}}
{{#if:{{{title|}}}
+
| type    = link
  | {{photoboxRow
+
}}{{photoboxRow
  | label  = Title
+
| label  = Photo by
  | name    = title
+
| name    = foto
  | value  = {{{title}}}
+
| value  = {{{foto|}}}
  | type    = text
+
| type    = link
  }}
+
}}{{photoboxRow
}}
+
| label  = Date
{{#if:{{{imdb|}}}
+
| name    = date
  | {{photoboxRow
+
| value  = {{{date|}}}
  | label  = Film info
+
| type    = text
  | name    = imdb
+
}}{{photoboxRow
  | value  = {{{imdb}}}
+
| label  = Location
  | type    = text
+
| name    = location
  }}
+
| value  = {{{location|}}}
}}
+
| type    = link
{{#if:{{{production company|}}}
+
}}{{photoboxRow
  | {{photoboxRow
+
| label  = Related article
  | label  = Production company
+
| name    = related article
  | name    = production company
+
| value  = {{{related article|}}}
  | value  = {{{production company}}}
+
| type    = link
  | type    = link
+
}}{{photoboxRow
  }}
+
| label  = &nbsp;
}}
+
| name    = related article
{{#if:{{{production company 2|}}}
+
| value  = {{{related article 2|}}}
  | {{photoboxRow
+
| type    = link
  | label  = &nbsp;
+
}}{{photoboxRow
  | name    = production company 2
+
| label  = Media source
  | value  = {{{production company 2}}}
+
| name    = media source
  | type    = link
+
| value  = {{{source|}}}
  }}
+
| 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:{{{related article|}}}
 
  | {{photoboxRow
 
  | label  = Related article
 
  | name    = related article
 
  | value  = {{{related article}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{related article 2|}}}
 
  |{{photoboxRow
 
  | label  = &nbsp;
 
  | name    = related article
 
  | value  = {{{related article 2}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{source|}}}
 
| {{photoboxRow
 
| label  = Source
 
| name    = source
 
| value  = {{{source}}}
 
| type    = link
 
}}
 
 
}}
 
}}
 
</table>
 
</table>
{{Photobox/Common}}
 
}}
 
 
{{C}}
 
{{C}}
 
[[Category:Film]]
 
[[Category:Film]]
 
[[Category:Film images]]
 
[[Category:Film images]]
 +
</includeonly>

Latest revision as of 04:55, 21 March 2024

{{Photo
| status  = URL PHOTOBOX LOCALINFO CATEGORIES SIZE 
}}
{{Film
|description          =
|subject              =
|subject 2            =
|subject 3            =
|director             =
|artist 2             =
|artist 3             =
|title                =
|imdb                 =
|production company   =
|production company 2 =
|foto                =
|date                 =
|location             =
|related article      =
|related article 2    =
|identifier           =
|source               =
}}