Template:Book: Difference between revisions
Jump to navigation
Jump to search
(usage and ISBN auto-link in template) |
(tweaked the isbn auto link) |
||
Line 7: | Line 7: | ||
* 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 do <nowiki>ISBN somenumber</nowiki> and an ''ISBN link'' 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> |
<tt><pre> |
||
{{ Book |
{{ Book |
||
Line 17: | Line 48: | ||
}} |
}} |
||
</pre></tt> |
</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> |
</noinclude> |
Revision as of 18:30, 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 do ISBN somenumber and an ISBN link 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]