Template:Book: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
m (still tweaking... sorry...)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
''{{{title}}}'', {{{author}}} <small>['''{{{pub}}}''', {{{year}}}]</small>
<includeonly>''{{{title}}}'', {{{author}}} <small>[ <u>{{{pub}}}</u> '' {{{year}}} '' ISBN {{{isbn|none}}}]</small></includeonly><noinclude>
This template will format in a standard way any book reference you may wish to include.
|author=de Brunhoff, Jean

|pub=
'''See also'''
|year=

}}
[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 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 ==

=== Usage w/o ISBN ===
<tt><pre>
{{ Book
| title = <!-- Book's title -->
| author = <!-- Author's name -->
| pub = <!-- Publisher or Editor name -->
| year = <!-- Year of edition -->
}}
</pre></tt>

;Typing this:<nowiki>{{ 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 -->

}}
</nowiki>
;Results in:{{ 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 -->
}}

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

;Typing this:<nowiki>{{ 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 -->

}}
</nowiki>
;Results in:{{ 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 -->
}}
</noinclude>

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]