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

From blackwiki
Jump to navigation Jump to search
imported>Pablo X
(Undid revision 505072095 by Wikid77 That's not a "correction". That's misrepresenting the TfD outcome.)
imported>Anomalocaris
m (adjust white space to force recalculation of lint errors)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
{{documentation subpage}}
 
{{mbox|image={{stop}}|text=per [[Wikipedia:Templates for discussion/Log/2012 July 15#Template:Fcite]], this suite of templates is only for use as a testbed, for helping to improve existing citation templates, and should be not deployed in article space.}}
 
{{mbox|image={{stop}}|text=per [[Wikipedia:Templates for discussion/Log/2012 July 15#Template:Fcite]], this suite of templates is only for use as a testbed, for helping to improve existing citation templates, and should be not deployed in article space.}}
  
The '''[[Template:Fcite book]]''', as with {{[[Template:Fcite web|Fcite web]]}} and other templates in the Fcite group, is a fast-cite alternative to {{[[Template:Cite book|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]].
+
The '''[[Template:Citation/fcite book]]''', as with {{[[Template:Citation/fcite web|Citation/fcite web]]}} and other templates in the Citation/fcite group, is a fast-cite alternative to {{[[Template:Cite book|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 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 {Fcite_web} or {Fcite_news} could be used in those articles to allow hundreds more citations without exceeding the template limits.
+
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 ==
 
== Examples ==
 
The operation is very similar to {&#123;cite web}} and related templates.<br>
 
The operation is very similar to {&#123;cite web}} and related templates.<br>
  
For using {&#123;Fcite_book}}:
+
For using {&#123;Citation/fcite_book}}:
:* '''Markup''': <font color=darkgreen>{&#123;'''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''': {{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;'''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=https://books.google.com</nowiki> | accessdate=1 June 2009}}</span>
:: &nbsp; '''Result''': {{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=https://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=https://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=https://books.google.com | accessdate=1 June 2009}}
  
 
== Related templates ==
 
== Related templates ==
The various templates within the Fcite group include:
+
The various templates within the Citation/fcite group include:
:* [[Template:Fcite web]] – for webpages, with "url=" link
+
:* [[Template:Citation/fcite web]] – for webpages, with "url=" link
:* [[Template:Fcite book]] – for books, with optional "url=" link
+
:* [[Template:Citation/fcite book]] – for books, with optional "url=" link
:* [[Template:Fcite news]] – for news articles, with "url=" link
+
:* [[Template:Citation/fcite news]] – for news articles, with "url=" link
:* [[Template:Fcite journal]] – for journal articles, with issue/format
+
:* [[Template:Citation/fcite journal]] – for journal articles, with issue/format
:* [[Template:Fcitation]] – puts a Harvard-ref anchor, linked from {&#123;[[Template:Harvnb|Harvnb]]}}
+
:* [[Template:Citation/fcite]] – puts a Harvard-ref anchor, linked from {&#123;[[Template:Harvnb|Harvnb]]}}
  
 
== See also ==
 
== See also ==
* [[Template:Cite web]] – the massive template with many options
+
* [[Template:Cite web]] – the massive template with many options  
 
* [[Template:Citation]] – large template to put Harvard-ref anchors
 
* [[Template:Citation]] – large template to put Harvard-ref anchors
 
<includeonly>
 
[[Category:Wikipedia formatting and function templates]]
 
</includeonly>
 
 
<!--INTERWIKI LINKS BELOW HERE-->
 

Latest revision as of 10:52, 5 January 2020

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=https://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=https://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