Difference between revisions of "Template:Book"

Wikisimpsons - The Simpsons Wiki
m
 
(16 intermediate revisions by 7 users not shown)
Line 1: Line 1:
−
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=240px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color:#fff4a7; border:1px solid white;"
+
<includeonly>{{Icons|RW}}{{Italic title|{{{name}}}}}</includeonly>
−
| align="center" colspan=2 bgcolor="#fada00" style="font-size:110%;" | '''{{{title}}}'''
+
{| 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}}};;"
−
|- style=background:#fff4a7
+
|-
−
|align="center" colspan="2" | {{{image|}}}
+
| align="center" | '''''<big>{{{name|{{PAGENAME}}}}}</big>'''''
−
|- style="vertical-align: top;" | class{{{author}}}="hiddenStructure"
+
{{#if:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
−
| {{#if:{{{author|}}}|'''Author'''|}}
+
|-
−
| {{{author|}}}
+
| 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'''
−
|- style="vertical-align: top;" | class{{{illustrator}}}="hiddenStructure"
+
{| 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:{{{illustrator|}}}|'''Illustrator'''|}}
+
{{#if:{{{published|}}}|
−
| {{{illustrator|}}}
+
! align="right" width="80px" {{!}} Publication date:
−
|- style="vertical-align: top;" |class{{{cover artist}}}="hiddenStructure"
+
{{!}} {{{published}}} }}
−
| {{#if:{{{cover artist|}}}|'''Cover artist'''|}}
+
|-
−
| {{{cover Artist|}}}
+
{{#if:{{{author|}}}|
−
|- style="vertical-align: top;" |class{{{series}}}="hiddenStructure"
+
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Author:
−
| {{#if:{{{series|}}}|'''Series'''|}}
+
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{author}}} }}
−
| {{{series|}}}
+
|-
−
|- style="vertical-align: top;" |class{{{genre}}}="hiddenStructure"
+
{{#if:{{{coverartist|}}}|
−
| {{#if:{{{genre|}}}|'''Genre'''|}}
+
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Cover artist:
−
| {{{genre|}}}
+
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{coverartist}}} }}
−
|- style="vertical-align: top;" |class{{{publisher}}}="hiddenStructure"
+
|-
−
| {{#if:{{{publisher|}}}|'''Publisher'''|}}
+
{{#if:{{{series|}}}|
−
| {{{publisher|}}}
+
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Series:
−
|- style="vertical-align: top;" |class{{{published}}}="hiddenStructure"
+
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{series}}} }}
−
| {{#if:{{{published|}}}|'''Published'''|}}
+
|-
−
| {{{published|}}}
+
{{#if:{{{pages|}}}|
−
|- style="vertical-align: top;" |class{{{appearance}}}="hiddenStructure"
+
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Pages:
−
| {{#if:{{{appearance|}}}|'''First Appearance'''|}}
+
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{pages}}} }}
−
| {{{appearance|}}}
+
|-
−
|- style="vertical-align: top;"
+
{{#if:{{{genre|}}}|
 +
! align="right" width="80px" 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|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Publisher:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{publisher}}} }}
 +
|-
 +
|}
 +
|-
 
|-
 
|-
 
|}
 
|}
Line 35: Line 48:
 
<pre>
 
<pre>
 
{{Book
 
{{Book
−
|title =  
+
|name=  
−
|image =  
+
|image=  
−
|author =
+
|published=  
−
|illustrator =  
+
|coverartist=  
−
|cover artist =  
+
|series=  
−
|series =  
+
|genre=  
−
|genre =  
+
|publisher=  
−
|publisher =
 
−
|published =
 
−
|appearance =
 
 
}}
 
}}
 
</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 12:01, April 14, 2024

Book
Book Information


Use[edit]

{{Book
|name= 
|image= 
|published= 
|coverartist= 
|series= 
|genre= 
|publisher= 
}}