Template:BookItem: Difference between revisions

598 bytes added ,  18:16, 28 June 2022
no edit summary
No edit summary
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="flex-grow: 1;min-width: 33%;height: 100%; margin-top: 15px; margin-bottom: 15px;">
<div style="flex-grow: 1;min-width: 33%;height: 100%; margin-top: 15px; margin-bottom: 18px;">
[[{{{cover_image|File:No-Book.svg}}}|{{{cover_size|250px}}}|frameless|center|link={{{title}}}]]
[[{{{cover_image|File:No-Book.svg}}}|{{{cover_size|250px}}}|frameless|center|link={{#if:{{{book_link|}}}|{{{book_link}}} | {{{title|}}} }}]]
 
<p style="margin-top: 12px;"></p>
 
{{center| '''{{{title|Title of the book}}}''' }}
{{center| '''{{{title|Title of the book}}}''' }}
{{#if:{{{editor|}}}|{{center|'''સંપાદક: {{{editor}}}''' }} | {{center|'''લેખક: {{{author|}}}''' }} }}
{{#if:{{{editor|}}}|{{center|'''સંપાદક: {{{editor}}}''' }} | {{center|'''લેખક: {{{author|}}}''' }} }}
</div>
</div>
<noinclude>
== Usage of template ==
<nowiki>
{{BookItem
| title = [[‘પ્રત્યક્ષ'સૂચિ]]
| cover_image = File:પ્રત્યક્ષ સૂચિ કવર.jpg
| cover_size = 230px
| editor = પ્રવીણ કુકડિયા
}}
</nowiki>
Output:
{{BookItem
| title = [[‘પ્રત્યક્ષ'સૂચિ]]
| cover_image = File:પ્રત્યક્ષ સૂચિ કવર.jpg
| cover_size = 230px
| editor = પ્રવીણ કુકડિયા
}}
</noinclude>