Template:BookItem: Difference between revisions

Jump to navigation Jump to search
599 bytes added ,  18:16, 28 June 2022
no edit summary
No edit summary
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="flex-grow: 1;min-width: 33%;height: 100%; margin-top: 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}}}''' }}
{{#if:{{{editor|}}}|{{center|'''સંપાદક: {{{editor}}}''' }} | {{center|'''લેખક: {{{author|}}}''' }} }}
</div>
<noinclude>
== Usage of template ==
<nowiki>
{{BookItem
| title = [[‘પ્રત્યક્ષ'સૂચિ]]
| cover_image = File:પ્રત્યક્ષ સૂચિ કવર.jpg
| cover_size = 230px
| editor = પ્રવીણ કુકડિયા
}}
</nowiki>




{{center| '''{{{title|Title of the book}}}''' }}
 
{{#if:{{{editor|}}}|{{center|'''સંપાદક: {{{editor}}}''' }}|}}
Output:
{{#if:{{{author|}}}|{{center|'''લેખક: {{{author}}}''' }}|}}
{{BookItem
</div>
| title = [[‘પ્રત્યક્ષ'સૂચિ]]
| cover_image = File:પ્રત્યક્ષ સૂચિ કવર.jpg
| cover_size = 230px
| editor = પ્રવીણ કુકડિયા
}}
</noinclude>

Navigation menu