Difference between revisions of "Template:AF Cite Book"

From blackwiki
Jump to navigation Jump to search
blackwiki>Debresser
(Add <includeonly>)
m (35 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 42: Line 42:
 
| publisher = {{#switch: {{{booknumber}}}
 
| publisher = {{#switch: {{{booknumber}}}
 
  | 1 = [[Viking Press]]
 
  | 1 = [[Viking Press]]
  | 2 = [[Hyperion Books]]
+
  | 2 = [[Hachette Books#Hyperion Books|Hyperion Books]]
 
  | 3 = [[Puffin Books]]
 
  | 3 = [[Puffin Books]]
 
  | 4 = [[Puffin Books]]
 
  | 4 = [[Puffin Books]]
 
  | 5 = [[Puffin Books]]
 
  | 5 = [[Puffin Books]]
  | 6 = [[Hyperion Books]]
+
  | 6 = [[Hachette Books#Hyperion Books|Hyperion Books]]
  | 7 = [[Hyperion Books]]
+
  | 7 = [[Hachette Books#Hyperion Books|Hyperion Books]]
 
  | dwarf = [[Puffin Books]]
 
  | dwarf = [[Puffin Books]]
  | files = [[Hyperion Books]]
+
  | files = [[Hachette Books#Hyperion Books|Hyperion Books]]
  | graphic = [[Hyperion Books]]
+
  | graphic = [[Hachette Books#Hyperion Books|Hyperion Books]]
 
}}
 
}}
 
| isbn = {{#switch: {{lc: {{{booknumber}}} }}
 
| isbn = {{#switch: {{lc: {{{booknumber}}} }}
Line 76: Line 76:
 
  | graphic = 144221280
 
  | graphic = 144221280
 
}}
 
}}
<!-- The following code produces one or more blank entries, which the template {{cite book}} quietly ignores -->
+
|page{{#if:{{{endpage|}}}|s}} = {{#if:{{{endpage|}}} | {{{startpage}}}{{{endpage}}} | {{{startpage|}}} }}
| pages = {{#if: {{{startpage|}}} | {{#if: {{{endpage|}}} | {{{startpage}}}{{{endpage}}} | }}
 
}}
 
| page = {{#if: {{{startpage|}}} | {{#if: {{{endpage|}}} | | {{{startpage}}} }}
 
}}
 
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 
</noinclude>

Latest revision as of 17:00, 15 October 2020

50px Template documentation[view] [edit] [history] [purge]

This template is used to cite Artemis Fowl sources in Wikipedia. It is specifically for the Artemis Fowl books.

Usage

All field names must be in lowercase. Copy a blank version to use. Remember to use the "|" (pipe) character between each field.

{{AF Cite Book | booknumber = | startpage = | endpage = }}

If there are no specific page or pages to cite then copy:

{{AF Cite Book | booknumber = }}

Fields

Examples

An entire book
  • {{AF Cite Book | booknumber = 1}}
  • Colfer, Eoin (26 April 2001). Artemis Fowl. Artemis Fowl series. Viking Press. ISBN 0-670899623. OCLC 46493219.
A single page
  • {{AF Cite Book | booknumber = 1 | startpage = 23}}
A page range
  • {{AF Cite Book | booknumber = 1 | startpage = 25 | endpage = 27}}
A complicated page range
  • {{AF Cite Book | booknumber = 1 | startpage = 21, 23, 25 | endpage = 27, 29}}