Difference between revisions of "Template:Infobox book"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
(revert past two edits)
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox bordered" style="float:right; width:264px; font-size:90%; text-align:left;" cellpadding="3"
{| class="infobox bordered" style="float:right; width:264px; font-size:90%; text-align:left;" cellpadding="3"
|-  
|-  
! colspan="2" style="font-size:110%; text-align:center; background-color:#CCCCCC; color:#000;" | {{{title}}}
! colspan="2" style="font-size:110%; text-align:center; background-color:#EEE; color:#000;" | ''{{{title|{{PAGENAME}}}}}''
|-
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{#if:{{{image<includeonly>|</includeonly>}}} |
Line 8: Line 8:
}}
}}
{{#if:{{{number<includeonly>|</includeonly>}}} |
{{#if:{{{number<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#CCCCCC; color:#000;" {{!}}'''Number'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Number'''
{{!}}{{{number}}}
{{!}}{{{number}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{release date<includeonly>|</includeonly>}}} |
{{#if:{{{release date<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#CCCCCC; color:#000;" {{!}}'''Release date'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Release date'''
{{!}}{{{release date}}}
{{!}}{{{release date}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{author<includeonly>|</includeonly>}}} |
{{#if:{{{author<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#CCCCCC; color:#000;" {{!}}'''Author'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Author'''
{{!}}{{{author}}}
{{!}}{{{author}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{illustrator<includeonly>|</includeonly>}}} |
{{#if:{{{illustrator<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#CCCCCC; color:#000;" {{!}}'''Illustrator'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Illustrator'''
{{!}}{{{illustrator}}}
{{!}}{{{illustrator}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{preceded by<includeonly>|</includeonly>}}} |
{{#if:{{{preceded by<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#CCCCCC; color:#000;" {{!}}'''Preceded by'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Preceded by'''
{{!}}{{{preceded by}}}
{{!}}{{{preceded by}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{succeeded by<includeonly>|</includeonly>}}} |
{{#if:{{{succeeded by<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#CCCCCC; color:#000;" {{!}}'''Succeeded by'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Succeeded by'''
{{!}}{{{succeeded by}}}
{{!}}{{{succeeded by}}}
{{!}}
{{!}}-
}}
}}
{{#if:{{{film<includeonly>|</includeonly>}}} |
{{#if:{{{film<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#CCCCCC; color:#000;" {{!}}'''Film adaptation'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Film adaptation'''
{{!}}{{{film}}}
{{!}}{{{film}}}
{{!}}
}}
}}
|}
|}
<includeonly>[[Category:Diary of a Wimpy Kid books]]</includeonly>
<includeonly>[[Category:Diary of a Wimpy Kid books]]</includeonly>
<noinclude>
<noinclude>
This infobox is for the ''Diary of a Wimpy Kid'' books. Do not use this template for in-universe books.
This infobox is for the ''Diary of a Wimpy Kid'' books. This template should not be used for in-universe books.
==Usage==
==Usage==
<pre>{{Book infobox
<pre>{{Book infobox
Line 58: Line 57:
|succeeded by =  
|succeeded by =  
|film        =  
|film        =  
}}</pre></noinclude>
}}</pre>
[[Category:Infobox templates]]
</noinclude>

Revision as of 02:04, 10 August 2019

Infobox book
{{{image}}}
Number {{{number}}}
Release date {{{release date}}}
Author {{{author}}}
Illustrator {{{illustrator}}}
Preceded by {{{preceded by}}}
Succeeded by {{{succeeded by}}}
Film adaptation {{{film}}}


This infobox is for the Diary of a Wimpy Kid books. This template should not be used for in-universe books.

Usage

{{Book infobox
|title        = 
|image        = 
|caption      = 
|number       = 
|release date = 
|author       = 
|illustrator  = 
|preceded by  = 
|succeeded by = 
|film         = 
}}