قالب:Cite quick/doc

من ويكيبيديا، الموسوعه الحره
اذهب إلى التنقل اذهب إلى البحث

The Template:Cite quick is a fast-cite alternative to {{{cite web}} or {{{cite news}} or {{{cite book}}, for use in large articles using Citation style 1. To allow extreme speed, only the basic parameter names are supported, such as "last3=" or "first3=" rather than "surname3=" or "given3=" (etc.), and "author=" but not "author1=" (see below: Limited parameters supported). For rare parameters, the original cite templates can still be used, and mixed within an article. To view all parameter names, see: Template:Cite web/doc.

Usage: {{cite quick |web |title=Xxx | url=http://url.com | date=1 May 2009 |accessdate=1 June 2012}}
  {{cite quick |book |title=Xxx | chapter=Chapter 3: Issues |url=http://url.com | date=March 1998}}

Parameter 1 can be: web, news, book, or journal. Because the author-link parameters are not supported, wikilinks must be hand-coded, such as

  • author = [[Arthur C. Clarke|A. Clarke]]

To use rare parameters, then the original full templates should be used, instead, such as using the full {{{cite book}} to list editor names or show an authormask.

The parameter "pages=n" will auto-adjust to show "p." for a singular lone page number, or "pp." for a plural page-range. Parameter "page=" always shows the "p." prefix.

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 . template can be used to run 10x faster (3–6 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 . could be used in those articles to allow hundreds more citations without exceeding the template limits.

Limited parameters supported[تعديل]

To allow extreme speed, only the major parameters are supported:

  • title, work, journal (or: newspaper)
  • author, author2, author3, author4,... author8
  • last, first, last1, first1, last2 (or coauthors), first2 ... last8, first8
  • publisher, agency, location (or place), volume, issue/number, edition
  • chapter, format, page, pages
  • url, archiveurl, archivedate, doi, isbn, issn, pmid, pmc
  • date, day, month, year, accessdate/acc, quote, notes

The following sets of parameters are not supported:

  • Not supported: ref=harv, ref=x
  • Not supported: magazine, periodical, encyclopedia, contribution
  • Not supported: authors, coauthor, author9, last9, first9 (or higher)
  • Not supported: authormask, authorlink, author-link, author1-link (or higher)
  • Not supported: editor, editor-last, editor-link, editor1, editor1-last (or higher)
  • Not supported: surname, given, surname1, given1 (or higher)
  • Not supported: series, version, volumename, publication-place
  • Not supported: trans_title, article, publication-date
  • Not supported: at, arxiv, asin, bibcode, jfm, jstor, lccn, mr
  • Not supported: oclc, ol, osti, rfc, ssrn, zbl, id, etc.
  • Not supported: postscript, laysummary, laysource, laydate
  • Not supported: episode, transcript, transcripturl

For a full description of all parameter names, see: Template:Cite web/doc.

Examples[تعديل]

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

For using {{{Cite_quick}}:

  • Markup: {{cite quick |web |title=Study 17 of life |work=Studies Online
|volume=9 |issue=4 |page=345 |publisher=Acme |location=London |date=May 1999
| year=1999 | url=http://www.google.com | accessdate=1 June 2009}}
  Result: "Study 17 of life". Studies Online (London: Acme) 9 (4). May 1999. p. 345. Retrieved 1 June 2009.

Example with 3 authors, compared to {{{cite journal}}:

  • Markup: {{cite quick |journal |last1=Smith |first1=Joe |last2=Doe |first2=John H.
|last3=Jones |first3=Mary |title=Growth of dawn creatures |journal=Life Journal
|publisher=Acme |year=1980 |date=June 1980 |location=London |volume=6 |issue=235
|page=2345-47 | url=http://www.science.com |accessdate=2012-07-10}}
  Result: Smith, Joe; Doe, John H.; Jones, Mary (June 1980). "Growth of dawn creatures". Life Journal (London: Acme) 6 (235): 2345-47. Retrieved 2012-07-10.
  • Compare: {{cite journal |last1=Smith |first1=Joe |last2=Doe |first2=John H.
|last3=Jones |first3=Mary |title=Growth of dawn creatures |journal=Life Journal
|publisher=Acme |year=1980 |date=June 1980 |location=London |volume=6 |issue=235
|page=2345-47 | url=http://www.science.com |accessdate=2012-07-10}}
  Result: Smith، Joe؛ Doe، John H.؛ Jones، Mary (June 1980). "Growth of dawn creatures". Life Journal. London: Acme. 6 (235): 2345-47. Retrieved 10 يوليه 2012. 

Other benefits[تعديل]

The Template:Cite_quick was primarily designed to be fast, for use in major articles, viewed over 5,000 times per day, or frequently edited. However, there are other benefits:

  • Reduces template include-size by 60% which avoids error "include size too large".
  • Allows up to 1,000 citation templates, versus 380 of Empty citation (help)  in large pages.
  • By running faster, stops 60-second timeout "wp:Wikimedia Foundation error".
  • Avoids missing dots "." by ignoring parameter "separator=" which omits dots.
  • Works on any browser by avoiding CSS classes which duplicate URL links on older browsers.
  • Auto-adjusts for singular "pages=n" to show "p." but then "pp." for range.
  • Provides for quickly adding new parameters, as one template, rather than 24 forks of Empty citation (help) .

There are other minor benefits as well.

See also[تعديل]