• Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

Difference between revisions of "Template:Book2"

Wikisimpsons - The Simpsons Wiki
m (top: replaced: {{LightBox}} → {{LightColorSwitch}}, {{DarkBox}} → {{DarkColorSwitch}})
 
(12 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| align="right" style="background: #FFEC73; border:2px solid #E0B400; 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}}};;"
+
<includeonly>{{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>'''''
{| align="center" style="background: #FFDC00; 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:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
| align="center" style="background:#FFF88F;" | {{{image}}}
 
|}
 
 
|-
 
|-
| style="background:#FFDC00; 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="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:{{{author|}}}|
 
{{#if:{{{author|}}}|
Line 15: Line 14:
 
! 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:{{{mention|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} First mentioned:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{mention}}} }}
 
|-
 
|-
 
{{#if:{{{appearance|}}}|
 
{{#if:{{{appearance|}}}|
Line 22: Line 25:
 
|-
 
|-
 
|-
 
|-
|}<includeonly>[[Category:Books]]</includeonly><noinclude>
+
|}<includeonly>[[Category:Books]][[Category:Media]]</includeonly><noinclude>
  
 
== Use ==
 
== Use ==
Line 31: Line 34:
 
|author =  
 
|author =  
 
|genre =  
 
|genre =  
 +
|mention =
 
|appearance =  
 
|appearance =  
 
}}
 
}}
 
</pre>
 
</pre>
  
[[Category:Templates|{{PAGENAME}}]]
+
[[Category:Templates]]
[[Category:Infoboxes|{{PAGENAME}}]]</noinclude>
+
[[Category:Infoboxes|{{PAGENAME}}]]
 +
[[sv:Mall:Book2]]</noinclude>

Latest revision as of 12:44, September 24, 2020

Book2
Book Information

Use[edit]

{{Book2
|name = 
|image = 
|author = 
|genre = 
|mention = 
|appearance = 
}}