Difference between revisions of "Template:Book"
Wikisimpsons - The Simpsons Wiki
Solar Dragon (talk | contribs) m |
|||
(14 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | {| align="right" style="background: # | + | <includeonly>{{Icons|RW}}{{Italic title|{{{name}}}}}</includeonly> |
+ | {| align="right" style="background: #{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; width: 19%; border-top-left-radius: 5px; -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -khtml-border-top-left-radius: 5px; -icab-border-top-left-radius: 5px; -o-border-top-left-radius: 5px; border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; -icab-border-bottom-left-radius: 5px; -o-border-bottom-left-radius: 5px;; border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; -icab-border-bottom-left-radius: 5px; -o-border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -khtml-border-bottom-right-radius: 5px; -icab-border-bottom-right-radius: 5px; -o-border-bottom-right-radius: 5px;; border-radius: {{{Curve|10px}}}; -moz-border-radius: {{{Curve|10px}}}; -webkit-border-radius: {{{Curve|10px}}}; -khtml-border-radius: {{{Curve|10px}}}; -icab-border-radius: {{{Curve|10px}}}; -o-border-radius: {{{Curve|10px}}};;" | ||
|- | |- | ||
− | | align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>''' | + | | align="center" | '''''<big>{{{name|{{PAGENAME}}}}}</big>''''' |
− | { | + | {{#if:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}} |
− | |||
− | |||
|- | |- | ||
− | | style="background:# | + | | style="background:#{{DarkColorSwitch}}; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;;" align="center" | '''Book Information''' |
{| align="center" style="background: #FFFDF0; width: 100%; border-radius: {{{Curve|10px}}}; -moz-border-radius: {{{Curve|10px}}}; -webkit-border-radius: {{{Curve|10px}}}; -khtml-border-radius: {{{Curve|10px}}}; -icab-border-radius: {{{Curve|10px}}}; -o-border-radius: {{{Curve|10px}}};" | {| align="center" style="background: #FFFDF0; width: 100%; border-radius: {{{Curve|10px}}}; -moz-border-radius: {{{Curve|10px}}}; -webkit-border-radius: {{{Curve|10px}}}; -khtml-border-radius: {{{Curve|10px}}}; -icab-border-radius: {{{Curve|10px}}}; -o-border-radius: {{{Curve|10px}}};" | ||
+ | {{#if:{{{published|}}}| | ||
+ | ! align="right" width="80px" {{!}} Publication date: | ||
+ | {{!}} {{{published}}} }} | ||
+ | |- | ||
{{#if:{{{author|}}}| | {{#if:{{{author|}}}| | ||
− | + | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Author: | |
− | + | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{author}}} }} | |
− | |||
− | |||
− | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} | ||
− | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{ | ||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{coverartist|}}}| |
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Cover artist: | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Cover artist: | ||
− | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{ | + | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{coverartist}}} }} |
|- | |- | ||
{{#if:{{{series|}}}| | {{#if:{{{series|}}}| | ||
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Series: | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Series: | ||
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{series}}} }} | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{series}}} }} | ||
+ | |- | ||
+ | {{#if:{{{pages|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Pages: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{pages}}} }} | ||
|- | |- | ||
{{#if:{{{genre|}}}| | {{#if:{{{genre|}}}| | ||
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Genre: | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Genre: | ||
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{genre}}} }} | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{genre}}} }} | ||
+ | |- | ||
+ | {{#if:{{{price|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Price: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{price}}} }} | ||
|- | |- | ||
{{#if:{{{publisher|}}}| | {{#if:{{{publisher|}}}| | ||
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Publisher: | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Publisher: | ||
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{publisher}}} }} | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{publisher}}} }} | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} | ||
Line 45: | Line 48: | ||
<pre> | <pre> | ||
{{Book | {{Book | ||
− | | | + | |name= |
− | |image = | + | |image= |
− | | | + | |published= |
− | + | |coverartist= | |
− | | | + | |series= |
− | |series = | + | |genre= |
− | |genre = | + | |publisher= |
− | |publisher | ||
− | |||
− | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
− | <noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude> | + | <includeonly>{{#if:{{NAMESPACE}}||[[Category:Media (real world)]][[Category:Books (real world)]]}}</includeonly> |
+ | <noinclude>[[Category:Templates]] | ||
+ | [[Category:Infoboxes|{{PAGENAME}}]] | ||
+ | [[sv:Mall:Bok]]</noinclude> |
Latest revision as of 11:01, April 14, 2024
Book |
Book Information
|
Use[edit]
{{Book |name= |image= |published= |coverartist= |series= |genre= |publisher= }}