Difference between revisions of "Template:Infobox literature"

From The Lion King Wiki
Jump to: navigation, search
 
(22 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|-
 
|-
 
{{#if:{{{Img|}}}|
 
{{#if:{{{Img|}}}|
{{!}} style="text-align:center;" colspan="2" {{!}} [[File:{{{Img|}}}|frameless|center|220px||caption]]
+
{{!}} style="text-align:center;" colspan="2" {{!}} [[File:{{{Img|}}}|frameless|center|220px|{{{Img_capt|}}}]]
 
<div><small>{{{Img_capt|}}}</small></div>
 
<div><small>{{{Img_capt|}}}</small></div>
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{Author|}}}|
 
{{#if:{{{Author|}}}|
! style="white-space:nowrap;" {{!}} Author(s)
+
! style="white-space:nowrap;" {{!}} Author
 
{{!}} {{{Author}}}
 
{{!}} {{{Author}}}
 
{{!}}-
 
{{!}}-
Line 25: Line 25:
 
! style="white-space:nowrap;" {{!}} Illustrators
 
! style="white-space:nowrap;" {{!}} Illustrators
 
{{!}} {{{Illustrators}}}
 
{{!}} {{{Illustrators}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{Img|}}}|
 +
! style="text-align:center; line-height:1.5em; background:#9cc;" colspan="2" {{!}} Details
 +
{{!}}-
 +
}}
 +
{{#if:{{{Num_Pages|}}}|
 +
! style="white-space:nowrap;" {{!}} Pages
 +
{{!}} {{{Num_Pages}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 30: Line 39:
 
! style="white-space:nowrap;" {{!}} Publisher
 
! style="white-space:nowrap;" {{!}} Publisher
 
{{!}} {{{Publisher}}}
 
{{!}} {{{Publisher}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{Year_Published|}}}|
 +
! style="white-space:nowrap;" {{!}} Published
 +
{{!}} {{{Year_Published}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{Published|}}}|
 +
! style="white-space:nowrap;" {{!}} Published
 +
{{!}} {{{Published}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 37: Line 56:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{Date_Published|}}}|
+
{{#if:{{{ISSN|}}}|
! style="white-space:nowrap;" {{!}} Published
+
! style="white-space:nowrap;" {{!}} ISSN
{{!}} {{{Date_Published}}}
+
{{!}} {{{ISSN}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 45: Line 64:
 
! style="white-space:nowrap;" {{!}} ISBN
 
! style="white-space:nowrap;" {{!}} ISBN
 
{{!}} {{{ISBN}}}
 
{{!}} {{{ISBN}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{ISBN-10|}}}|
 +
! style="white-space:nowrap;" {{!}} ISBN-10
 +
{{!}} {{{ISBN-10}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{ISBN-13|}}}|
 +
! style="white-space:nowrap;" {{!}} ISBN-13
 +
{{!}} {{{ISBN-13}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 52: Line 81:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
|}</includeonly><noinclude>All fields are optional.
+
{{#if:{{{Series|}}}|
<pre>{{Infobox Literature
+
! style="white-space:nowrap;" {{!}} Series
| Img                =
+
{{!}} {{{Series}}}
| Img_capt            =
+
{{!}}-
| Author              =
+
}}
| Illustrator        =
+
{{#if:{{{Inducks_code|}}}|
| Publisher          =
+
! style="white-space:nowrap;" {{!}} Inducks code
| Date_Published      =  
+
{{!}} [http://coa.inducks.org/story.php?c={{#replace:{{{Inducks_code}}}| |+}} {{{Inducks_code}}}]
| ISBN                =  
+
{{!}}-
| Collection          =  
+
}}
 +
{{#if:{{{Origin|}}}|
 +
! style="white-space:nowrap;" {{!}} Origin
 +
{{!}} {{{Origin}}}
 +
{{!}}-
 
}}
 
}}
</pre></noinclude>
+
|}</includeonly><noinclude>
 +
{{/doc}}
 +
[[Category:Infobox templates|L]]</noinclude>

Latest revision as of 22:51, 3 April 2013

Template-info.png Documentation

All fields are optional.

{{Infobox literature
| Img = 
| Img_capt = 
| Author  = 
| Illustrator = 
| Num_Pages  = 
| Publisher = 
| Published = 
| Producer = 
| ISSN = 
| ISBN = 
| ISBN-10 = 
| ISBN-13 = 
| Collection = 
| Series = 
| Inducks_code = 
| Origin = 
}}

The above documentation is transcluded from Template:Infobox literature/doc. (edit | history)