Template:Book: Difference between revisions

From OLPC
Jump to navigation Jump to search
(tweaked the isbn auto link)
m (still tweaking... sorry...)
 
Line 1: Line 1:
<includeonly>''{{{title}}}'', {{{author}}} <small>[ <u>{{{pub}}}</u> '' {{{year}}} '' ISBN {{{isbn|none}}}]</small></includeonly>
<includeonly>''{{{title}}}'', {{{author}}} <small>[ <u>{{{pub}}}</u> '' {{{year}}} '' ISBN {{{isbn|none}}}]</small></includeonly><noinclude>
<noinclude>
This template will format in a standard way any book reference you may wish to include.
This template will format in a standard way any book reference you may wish to include.


See also
'''See also'''

* [http://meta.wikimedia.org/wiki/Help:ISBN_links WikiMedia's help on ISBN]
[http://meta.wikimedia.org/wiki/Help:ISBN_links WikiMedia's help on ISBN]
* To reference any book just by it's ISBN number you can do <nowiki>ISBN somenumber</nowiki> and an ''ISBN link'' to [[Special:Booksources]] will be automatically created.

To reference any book just by it's ISBN number you can just type
: <tt><nowiki>ISBN 978-0345391803</nowiki></tt>
and an ''ISBN link'' (ie: ISBN 978-0345391803) to [[Special:Booksources]] will be automatically created.


== Sample ==
== Sample ==

Latest revision as of 18:43, 21 January 2007

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

See also

WikiMedia's help on ISBN

To reference any book just by it's ISBN number you can just type

ISBN 978-0345391803

and an ISBN link (ie: ISBN 978-0345391803) to Special:Booksources will be automatically created.

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]