Difference between revisions of "Template:Citation/fcite book/doc"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
imported>WOSlinker
(tidy style for better HTML5 compatibility)
Line 9: Line 9:
  
 
For using {{Citation/fcite_book}}:
 
For using {{Citation/fcite_book}}:
:* '''Markup''': <font color=darkgreen>{&#123;'''citation/fcite book'''|title=Life of Days |publisher=Acme Printing |date=May 1999</font>
+
:* '''Markup''': <span style="color:darkgreen">{&#123;'''citation/fcite book'''|title=Life of Days |publisher=Acme Printing |date=May 1999</span>
::::::: <font color=darkgreen>| <nowiki>url=http://www.google.com</nowiki> | accessdate=1 June 2009}}</font>
+
::::::: <span style="color:darkgreen">| <nowiki>url=http://www.google.com</nowiki> | accessdate=1 June 2009}}</span>
 
:: &nbsp; '''Result''': {{citation/fcite book|title=Life of Days |publisher=Acme Printing | date=May 1999| url=http://www.google.com | accessdate=1 June 2009}}
 
:: &nbsp; '''Result''': {{citation/fcite book|title=Life of Days |publisher=Acme Printing | date=May 1999| url=http://www.google.com | accessdate=1 June 2009}}
  
:* '''Markup''': <font color=darkgreen>{&#123;cite book|title=Life of Days |publisher=Acme Printing |date=May 1999</font>
+
:* '''Markup''': <span style="color:darkgreen">{&#123;cite book|title=Life of Days |publisher=Acme Printing |date=May 1999</span>
::::::: <font color=darkgreen>| <nowiki>url=http://www.google.com</nowiki> | accessdate=1 June 2009}}</font>
+
::::::: <span style="color:darkgreen">| <nowiki>url=http://www.google.com</nowiki> | accessdate=1 June 2009}}</span>
 
:: &nbsp; '''Result''': {{cite book|title=Life of Days |publisher=Acme Printing | date=May 1999| url=http://www.google.com | accessdate=1 June 2009}}
 
:: &nbsp; '''Result''': {{cite book|title=Life of Days |publisher=Acme Printing | date=May 1999| url=http://www.google.com | accessdate=1 June 2009}}
  
 
For a chapter, or [[short story]], in the book:
 
For a chapter, or [[short story]], in the book:
:* '''Markup''': <font color=darkgreen>{&#123;'''citation/fcite book'''|title=Chapter 2: Dawn |work=Life of Days |publisher=Acme Ink</font>
+
:* '''Markup''': <span style="color:darkgreen">{&#123;'''citation/fcite book'''|title=Chapter 2: Dawn |work=Life of Days |publisher=Acme Ink</span>
::::::: <font color=darkgreen>|date=May 1999| <nowiki>url=http://books.google.com</nowiki> | accessdate=1 June 2009}}</font>
+
::::::: <span style="color:darkgreen">|date=May 1999| <nowiki>url=http://books.google.com</nowiki> | accessdate=1 June 2009}}</span>
 
:: &nbsp; '''Result''': {{citation/fcite book|title=Chapter 2: Dawn |work=Life of Days |publisher=Acme Ink | date=May 1999| url=http://books.google.com | accessdate=1 June 2009}}
 
:: &nbsp; '''Result''': {{citation/fcite book|title=Chapter 2: Dawn |work=Life of Days |publisher=Acme Ink | date=May 1999| url=http://books.google.com | accessdate=1 June 2009}}
  
:* '''Markup''': <font color=darkgreen>{&#123;cite book|title=Chapter 2: Dawn |work=Life of Days |publisher=Acme Ink</font>
+
:* '''Markup''': <span style="color:darkgreen">{&#123;cite book|title=Chapter 2: Dawn |work=Life of Days |publisher=Acme Ink</span>
::::::: <font color=darkgreen>|date=May 1999| <nowiki>url=http://books.google.com</nowiki> | accessdate=1 June 2009}}</font>
+
::::::: <span style="color:darkgreen">|date=May 1999| <nowiki>url=http://books.google.com</nowiki> | accessdate=1 June 2009}}</span>
 
:: &nbsp; '''Result''': {{cite book|title=Chapter 2: Dawn |work=Life of Days |publisher=Acme Ink | date=May 1999| url=http://books.google.com | accessdate=1 June 2009}}
 
:: &nbsp; '''Result''': {{cite book|title=Chapter 2: Dawn |work=Life of Days |publisher=Acme Ink | date=May 1999| url=http://books.google.com | accessdate=1 June 2009}}
  

Revision as of 21:19, 20 July 2015

The Template:Citation/fcite book, as with {{Citation/fcite web}} and other templates in the Citation/fcite group, is a fast-cite alternative to {{cite book}} for use in large articles. To allow extreme speed, only the basic parameter names are supported, such as "last6=" or "first6=" rather than "surname6=" or "given6=" (etc.), and "author=" but not "authormask=". For rare parameters, the original cite templates can still be used, and mixed within an article. To view parameter names, see: Template:Citation/doc.

In articles which contain more than 300 formatted references, the speed of formatting a large article, during 2009, reached 30–60 seconds for logged-in users, so the Citation/fcite templates can be used to run 5x faster (6–12 seconds) when reformatting an article. Many large articles experienced similar long delays during 2009–2012, due to using numerous large templates. Also, there have been some cases where other large templates, in the same articles, have exceeded template resources, and so {Citation/fcite_web} or {Citation/fcite_news} could be used in those articles to allow hundreds more citations without exceeding the template limits.

Examples

The operation is very similar to {{cite web}} and related templates.

For using {{Citation/fcite_book}}:

  • Markup: {{citation/fcite book|title=Life of Days |publisher=Acme Printing |date=May 1999
| url=http://www.google.com | accessdate=1 June 2009}}
  Result: Life of Days. Acme Printing. May 1999. Retrieved 1 June 2009.
  • Markup: {{cite book|title=Life of Days |publisher=Acme Printing |date=May 1999
| url=http://www.google.com | accessdate=1 June 2009}}
  Result: Life of Days. Acme Printing. May 1999. Retrieved 1 June 2009.

For a chapter, or short story, in the book:

  • Markup: {{citation/fcite book|title=Chapter 2: Dawn |work=Life of Days |publisher=Acme Ink
|date=May 1999| url=http://books.google.com | accessdate=1 June 2009}}
  Result: "Chapter 2: Dawn". Acme Ink. May 1999. Retrieved 1 June 2009.
  • Markup: {{cite book|title=Chapter 2: Dawn |work=Life of Days |publisher=Acme Ink
|date=May 1999| url=http://books.google.com | accessdate=1 June 2009}}
  Result: Chapter 2: Dawn. Life of Days. Acme Ink. May 1999. Retrieved 1 June 2009.

Related templates

The various templates within the Citation/fcite group include:

See also