Difference between revisions of "Template:Book"

From LDraw.org Wiki
Jump to navigation Jump to search
(Created page with "{|style="width: 300px; background-color: #E0E0E0; border: 1px solid #AAAAAA; border-radius: 5px; float:right; margin-left: 10px; font-size: 12pt" cellspacing="0" cellpadding="...")
 
m (Minor code fix)
 
Line 6: Line 6:
 
{|style="width: 300px; background-color: #F9F9F9; font-size: 9pt" cellpadding="0" cellspacing="5"
 
{|style="width: 300px; background-color: #F9F9F9; font-size: 9pt" cellpadding="0" cellspacing="5"
 
|-align="center" valign="middle" width="300"
 
|-align="center" valign="middle" width="300"
| colspan="2" | [[File:{{{image|}}}|280px]]
+
| colspan="2" | [[File:{{{image|}}}|280x300px]]
 
|-align="left" valign="top"
 
|-align="left" valign="top"
 
| style="width: 120px; min-width: 120px;" | '''Author(s)'''
 
| style="width: 120px; min-width: 120px;" | '''Author(s)'''
Line 42: Line 42:
  
 
'''image'''
 
'''image'''
:The book's cover, defined as {{code|Filename.ext}}. The {{code|<nowiki>[[File:Filename.ext]]</nowiki>}} format is not required. The image is set to a width of 280px.
+
:The book's cover, defined as {{code|Filename.ext}}. The {{code|<nowiki>[[File:Filename.ext]]</nowiki>}} format is not required. The image is set to not exceed a width of 280px or 300px.
  
 
'''author'''
 
'''author'''

Latest revision as of 07:21, 25 January 2015

Book
[[File:|280x300px]]
Author(s) unknown
Country unknown
Language unknown
Published unknown
ISBN unknown
Book infobox

Usage

{{Book
|title      = <!-- Delete this line completely to use the {{{PAGENAME}}} parameter -->
|image      = 
|author     = 
|language   = 
|published  = 
|isbn       = 
}}

Parameters

title

The book's title, automatically displayed in italics. Uses the {{PAGENAME}} parameter if not used.

image

The book's cover, defined as Filename.ext. The [[File:Filename.ext]] format is not required. The image is set to not exceed a width of 280px or 300px.

author

The name of the book's author. If more than one author is credited, separate each one with the <br> tag.

published

The year of the book's publication, followed by the publisher, e.g. 2002 by Syngress Publishing.