Template:Cite book: Difference between revisions
From Podpedia
Content added Content deleted
(First version, based on http://zelda.gamepedia.com/index.php?title=Template:Cite_book&oldid=508633 (see link for contributors)) |
(put TD in a collapse top / bottom section) |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:citation/CS1|citation |
|||
<includeonly>{{#if:{{{quote|}}}|<i>"{{{quote|}}}"</i> (}}<i>{{{book|}}}</i> ({{{publisher|}}}), pg. {{{page|}}}{{#if:{{{quote|}}}|)}}</includeonly><noinclude> |
|||
|CitationClass=book |
|||
}}</includeonly><noinclude> |
|||
== Purpose == |
|||
{{documentation}} |
|||
This is a variant of the {{[[Template:Cite|cite]]}} template that is to be used when you're pulling a quote or information from a book that is NOT A MANUAL, such as a strategy guide or any of the [[manga]]. This is to be used to [[Help:References|cite sources]], and should be used within <nowiki><ref></ref></nowiki> tags. |
|||
{{collapse top|TemplateData}} |
|||
{{Cite book/TemplateData}} |
|||
This template can also be used in [[Template:FileInfo|FileInfo]] to source an image, in which case <nowiki><ref></ref></nowiki> tags should ''not'' be used. (Leave the "quote" field blank.) |
|||
{{collapse bottom}} |
|||
</noinclude> |
|||
== Usage == |
|||
To use, enter this code: |
|||
::'''<nowiki>{{Cite book</nowiki>'''| ''quote= [the quote]| book= [book title]| publisher= [the book's publisher]| page= [the page(s) the quote appears on]'''''}}''' |
|||
Replace the parts in [ brackets ] like so: |
|||
*'''''quote''''' |
|||
**The direct quote. |
|||
*'''''book''''' |
|||
**The '''FULL TITLE''' of the book that the quote is from. |
|||
*'''''publisher''''' |
|||
**The publisher of the book (Nintendo, Prima Games, etc.). |
|||
*'''''page''''' |
|||
**The number of the page(s) the quote appears on. |
|||
Example: |
|||
:<code><nowiki>{{cite book|quote= ...Telma is actually the leader of a resistance force...|book= The Legend of Zelda: Twilight Princess Premium Edition strategy guide|publisher= Prima Games|page= 16}}</nowiki></code> |
|||
Will generate: |
|||
:{{cite book|quote= ...After sharpening your knife, it's time to do the same to your pencil...|book= How To Sharpen Pencils|publisher= Melville House|page= 45}}</code> |
|||
[[Category:Formatting Templates|C]]</noinclude> |