Template:Book

From OLPC
Revision as of 14:30, 21 January 2007 by Xavi (talk | contribs) (tweaked the isbn auto link)
Jump to: navigation, search


This template will format in a standard way any book reference you may wish to include.

See also

Sample

Usage w/o ISBN

 {{ Book
    | title   =    <!-- Book's title  -->
    | author  =    <!-- Author's name -->
    | pub     =    <!-- Publisher or Editor name -->
    | year    =    <!-- Year of edition -->
 }}
Typing this
{{ Book | title = The Hitchhiker's Guide to the Galaxy <!-- Book's title --> | author = Douglas Noel Adams <!-- Author's name --> | pub = Del Rey <!-- Publisher or Editor name --> | year = 1995 <!-- Year of edition --> }}
Results in
The Hitchhiker's Guide to the Galaxy, Douglas Noel Adams [ Del Rey 1995 ISBN none]

Usage w/ ISBN

 {{ Book
    | title   =    <!-- Book's title  -->
    | author  =    <!-- Author's name -->
    | pub     =    <!-- Publisher or Editor name -->
    | year    =    <!-- Year of edition -->
    | isbn    =    <!-- ISBN number -->
 }}

Sample

Typing this
{{ Book | title = The Hitchhiker's Guide to the Galaxy <!-- Book's title --> | author = Douglas Noel Adams <!-- Author's name --> | pub = Del Rey <!-- Publisher or Editor name --> | year = 1995 <!-- Year of edition --> | isbn = 978-0345391803 <!-- ISBN number --> }}
Results in
The Hitchhiker's Guide to the Galaxy, Douglas Noel Adams [ Del Rey 1995 ISBN 978-0345391803]