Template:Library infobox work: Difference between revisions

Template page
m (Added audiobook option and removed unused labels)
(switching Library Work and Library Infobox Work (first was redirect, second was template: now switched))
Tag: New redirect
 
(42 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
#REDIRECT [[Template:Library work]]
| bodyclass = vcard
 
| abovestyle = padding-top:0; padding-bottom:0;
| above = <div style="padding-top:0.3em; padding-bottom:0.3em; {{#if:{{{colorcode|}}}|border-top:2px solid {{{colorcode}}}; border-bottom:2px solid {{{colorcode}}};}} line-height: 1;">{{Br separated entries
| 1 = <div style="display:inline;" class="fn org">{{if empty|{{{title|}}}|{{PAGENAMEBASE}}}}</div>
| 2 = {{#if:{{{native_name|}}} |<div style="display:inline;" class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}} style="font-size: 0.8em;">{{{native_name}}}</div>}}
}}</div>
 
| subheader = {{{_subheader|}}}
 
| imageclass = logo
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{{image_upright|0.8}}}|alt={{{image_alt|}}}|size={{{image_size|}}}}}
| caption = {{{caption|}}}
 
| headerstyle = line-height: 0.8em; padding-top:0.5em; padding-bottom:0;
| labelstyle = line-height:1.3em;
| datastyle = line-height:1.3em;
 
| label1  = Written by
|  data1  = {{{written by|}}}
 
| label2  = Written in
|  data2  = {{{written in|}}}
 
| label3  = First published
|  data3  = {{{published|}}}
 
| label4  = Type
|  data4  = {{{type|}}}
 
| label5  = Source
|  data5  = {{{source|}}}
 
| label6 = Audiobook
|  data6 = {{{audiobook|}}}
}}
<noinclude>
How to use this template:
<nowiki>
{{Library work
| title =
| written by =
| written in =
| published =
| type =
| source =
| image =
| image_size =
| image_upright =
| image_alt =
| caption =
}}
</nowiki>
</noinclude>

Latest revision as of 17:54, 29 September 2023