Difference between revisions of "Template:Photobox/Book"

From Culture.si
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
<noinclude><pre>
 +
{{Photo
 +
| status  = URL PHOTOBOX LOCALINFO CATEGORIES SIZE
 +
}}
 +
</pre>
 +
 
<noinclude><pre>
 
<noinclude><pre>
 
{{Book  
 
{{Book  
 
|description      =
 
|description      =
 +
|subject          =
 
|author            =
 
|author            =
 
|author 2          =
 
|author 2          =
Line 24: Line 31:
 
<dl>
 
<dl>
 
<dt>[[Property:description|description]] (page)<dd> basic info about the publication
 
<dt>[[Property:description|description]] (page)<dd> basic info about the publication
 +
<dt>[[Property:subject|subject]] (page)<dd> basic article (usually publishing house)
 
<dt>[[Property:author|author]]  <dd>author, writer
 
<dt>[[Property:author|author]]  <dd>author, writer
<dt>[[Property:author2|author2]]  <dd>author 2
+
<dt>[[Property:author 2|author 2]]  <dd>author 2
 +
<dt>[[Property:translator|translator]]  <dd>translator
 +
<dt>[[Property:translator 2|translator 2]]  <dd>translator 2
 
<dt>[[Property:title|title]] <dd> title of the publication
 
<dt>[[Property:title|title]] <dd> title of the publication
 
<dt>[[Property:artist|artist]]  <dd>designer
 
<dt>[[Property:artist|artist]]  <dd>designer
Line 43: Line 53:
  
  
</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
 +
}}{{photoboxRow
 +
| label  = Subject
 +
| name    = subject
 +
| value  = {{{subject|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  = Author
 +
| name    = book author
 +
| value  = {{{author|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  = &nbsp;
 +
| name    = book author
 +
| value  = {{{author 2|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  = Translator
 +
| name    = translator
 +
| value  = {{{translator|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  = &nbsp;
 +
| name    = translator
 +
| value  = {{{translator 2|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  = Title
 +
| name    = title
 +
| value  = {{{title|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  = Design by:
 +
| name    = artist
 +
| value  = {{{artist|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  = &nbsp;
 +
| name    = artist
 +
| value  = {{{artist 2|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  = &nbsp;
 +
| name    = artist
 +
| value  = {{{artist 3|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  = Media Publisher
 +
| name    = media publisher
 +
| value  = {{{publisher|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  = &nbsp;
 +
| name    = media publisher
 +
| value  = {{{publisher 2|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  = Date
 +
| name    = date
 +
| value  = {{{date|}}}
 +
| type    = text
 +
}}{{photoboxRow
 +
| label  = Book info
 +
| name    = book info
 +
| value  = {{{book info|}}}
 +
| type    = text
 +
}}{{photoboxRow
 +
| label  = Related article
 +
| name    = related article
 +
| value  = {{{related article|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  =  &nbsp;
 +
| name    = related article
 +
| value  = {{{related article 2|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  = Media Source
 +
| name    = media source
 +
| value  = {{{source|}}}
 +
| type    = link
 +
}}{{photoboxRow
 +
| label  = Language
 +
| name    = language
 +
| value  = {{{language|}}}
 
| type    = text
 
| type    = text
 
}}
 
}}
{{#if:{{{subject|}}}
 
  |{{photoboxRow
 
  | label  = Subject
 
  | name    = subject
 
  | value  = {{{subject}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{author|}}}
 
  |{{photoboxRow
 
  | label  = Author
 
  | name    = author
 
  | value  = {{{author}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{author 2|}}}
 
  |{{photoboxRow
 
  | label  = &nbsp;
 
  | name    = author
 
  | value  = {{{author 2}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{title|}}}
 
  |{{photoboxRow
 
  | label  = Title
 
  | name    = title
 
  | value  = {{{title}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{artist|}}}
 
  |{{photoboxRow
 
  | label  = Artist
 
  | name    = artist
 
  | value  = {{{artist}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{artist 2|}}}
 
  |{{photoboxRow
 
  | label  = &nbsp;
 
  | name    = artist
 
  | value  = {{{artist 2}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{artist 3|}}}
 
  |{{photoboxRow
 
  | label  = &nbsp;
 
  | name    = artist
 
  | value  = {{{artist 3}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{publisher|}}}
 
  |{{photoboxRow
 
  | label  = Publisher
 
  | name    = publisher
 
  | value  = {{{publisher}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{publisher 2|}}}
 
  |{{photoboxRow
 
  | label  = &nbsp;
 
  | name    = publisher
 
  | value  = {{{publisher 2}}}
 
  | type    = link
 
  }}
 
}}
 
{{#if:{{{date|}}}
 
  |{{photoboxRow
 
  | label  = Date
 
  | name    = date
 
  | value  = {{{date}}}
 
  | type    = text
 
  }}
 
}}
 
{{#if:{{{book info|}}}
 
  |{{photoboxRow
 
  | label  = Book info
 
  | name    = book info
 
  | value  = {{{book info}}}
 
  | type    = text
 
  }}
 
}}
 
{{#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
 
}}
 
}}
 
{{#if:{{{language|}}}
 
| {{photoboxRow
 
| label  = Language
 
| name    = language
 
| value  = {{{language}}}
 
| type    = text
 
}}
 
}}
 
 
 
</table>
 
</table>
}}
 
 
{{C}}
 
{{C}}
 
 
[[Category:Printed matter]]
 
[[Category:Printed matter]]
 
[[Category:Books]]
 
[[Category:Books]]
 +
</includeonly>

Latest revision as of 04:03, 21 March 2024

{{Photo
| status  = URL PHOTOBOX LOCALINFO CATEGORIES SIZE 
}}
{{Book 
|description       =
|subject           =
|author            =
|author 2          =
|title             =
|artist            =
|artist 2          =
|artist 3          =
|publisher         =
|publisher 2       =
|date              =
|book info         =
|isbn              =
|related article   =
|related article 2 =
|identifier        =
|source            =
|language          =
}}


description (page)
basic info about the publication
subject (page)
basic article (usually publishing house)
author
author, writer
author 2
author 2
translator
translator
translator 2
translator 2
title
title of the publication
artist
designer
artist 2
artist 2, e.g. illustrator
artist 3
artist 3, e.g. photographer
publisher
publisher
publisher 2
publisher 2
date
publishing date
book info
info from cobiss
isbn
isbn number
related article article that is related (e.g. publisher, organisation)
related article 2 2nd article that is related
identifier (text)
Unique identifier (for files that have one); Catalogue number in the source; For example: user@domain.com:file1.jpg
source who contributed the image
language Slovenian/English