Difference between revisions of "Template:Book"

Wikisimpsons - The Simpsons Wiki
(category fix)
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;"
 
{| 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;"
 
| align="center" colspan=2 bgcolor="#fada00" style="font-size:110%;" | '''{{{title}}}'''
 
| align="center" colspan=2 bgcolor="#fada00" style="font-size:110%;" | '''{{{title}}}'''
−
|- style=background:white
+
|- style=background:#fff4a7
−
|align="center" colspan="2" | {{{image}}}
+
|align="center" colspan="2" | {{{image|}}}
 +
|- style="vertical-align: top;" | class{{{author}}}="hiddenStructure"
 +
| {{#if:{{{author|}}}|'''Author'''|}}
 +
| {{{author|}}}
 +
|- style="vertical-align: top;" | class{{{illustrator}}}="hiddenStructure"
 +
| {{#if:{{{illustrator|}}}|'''Illustrator'''|}}
 +
| {{{illustrator|}}}
 +
|- style="vertical-align: top;" |class{{{cover artist}}}="hiddenStructure"
 +
| {{#if:{{{cover artist|}}}|'''Cover artist'''|}}
 +
| {{{cover Artist|}}}
 +
|- style="vertical-align: top;" |class{{{series}}}="hiddenStructure"
 +
| {{#if:{{{series|}}}|'''Series'''|}}
 +
| {{{series|}}}
 +
|- style="vertical-align: top;" |class{{{genre}}}="hiddenStructure"
 +
| {{#if:{{{genre|}}}|'''Genre'''|}}
 +
| {{{genre|}}}
 +
|- style="vertical-align: top;" |class{{{publisher}}}="hiddenStructure"
 +
| {{#if:{{{publisher|}}}|'''Publisher'''|}}
 +
| {{{publisher|}}}
 +
|- style="vertical-align: top;" |class{{{published}}}="hiddenStructure"
 +
| {{#if:{{{published|}}}|'''Published'''|}}
 +
| {{{published|}}}
 +
|- style="vertical-align: top;" |class{{{appearance}}}="hiddenStructure"
 +
| {{#if:{{{appearance|}}}|'''First Appearance'''|}}
 +
| {{{appearance|}}}
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
−
| '''Author'''
+
|-
−
| {{{Author}}}
+
|}
−
|- style="vertical-align: top;"
+
 
−
| '''Illustrator'''
+
<noinclude>
−
| {{{Illustrator}}}
+
== Use ==
−
|- style="vertical-align: top;"
+
<pre>
−
| '''Cover Artist'''
+
{{Book
−
| {{{Cover Artist}}}
+
|title =  
−
|- style="vertical-align: top;"
+
|image =
−
| '''Series'''
+
|author =
−
| {{{Series}}}
+
|illustrator =  
−
|- style="vertical-align: top;"
+
|cover artist =
−
| '''Genre'''
+
|series =
−
| {{{Genre}}}
+
|genre =  
−
|- style="vertical-align: top;"
+
|publisher =
−
| '''Publisher'''
+
|published =
−
| {{{Publisher}}}
+
|appearance =
−
|- style="vertical-align: top;"
+
}}
−
|  '''Published'''
+
</pre>
−
|  {{{Published}}}
+
</noinclude>
−
|- style="vertical-align: top;"
 
−
|}<noinclude></noinclude>
 
 
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 21:46, April 24, 2010

{{{title}}}


Use

{{Book
|title = 
|image = 
|author = 
|illustrator = 
|cover artist = 
|series = 
|genre = 
|publisher = 
|published = 
|appearance =
}}