Template:Book: Difference between revisions
Jump to navigation
Jump to search
(usage and ISBN auto-link in template) |
m (still tweaking... sorry...) |
||
(One intermediate revision by the same user not shown) | |||
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''' |
||
⚫ | |||
* 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 == |
|||
=== 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 --> |
|||
}} |
|||
⚫ | |||
<tt><pre> |
<tt><pre> |
||
{{ Book |
{{ Book |
||
Line 17: | Line 51: | ||
}} |
}} |
||
</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> |
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
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]