Difference between revisions of "Template:Citation/fcite journal"
imported>Plastikspork |
imported>Anomalocaris m (properly close <span> ... I believe I did this right) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 53: | Line 53: | ||
-->{{#if: | -->{{#if: | ||
{{{last2|{{{author2|{{{coauthors|{{{coauthor|}}} }}} }}} }}}<!--if last2 | {{{last2|{{{author2|{{{coauthors|{{{coauthor|}}} }}} }}} }}}<!--if last2 | ||
| − | -->|< | + | -->|<nowiki/>{{{author-separator|;}}} {{{last2|<!-- |
-->{{{author2|{{{coauthors|{{{coauthor}}}}}}}}}}}}{{ | -->{{{author2|{{{coauthors|{{{coauthor}}}}}}}}}}}}{{ | ||
#if:{{{first2|}}}|, {{{first2}}}}}{{ | #if:{{{first2|}}}|, {{{first2}}}}}{{ | ||
#if:{{{last3|{{{author3|}}} }}} | #if:{{{last3|{{{author3|}}} }}} | ||
| − | |< | + | |<nowiki/>{{{author-separator|;}}} {{{last3|{{{author3}}}}}}{{ |
#if:{{{first3|}}}|, {{{first3}}} }}{{ | #if:{{{first3|}}}|, {{{first3}}} }}{{ | ||
#if:{{{last4|{{{author4|}}} }}} | #if:{{{last4|{{{author4|}}} }}} | ||
| − | |< | + | |<nowiki/>{{{author-separator|;}}} {{{last4|{{{author4}}}}}}{{ |
#if:{{{first4|}}}|, {{{first4}}} }}{{ | #if:{{{first4|}}}|, {{{first4}}} }}{{ | ||
#if:{{{last5|{{{author5|}}} }}} | #if:{{{last5|{{{author5|}}} }}} | ||
| − | |< | + | |<nowiki/>{{{author-separator|;}}} {{{last5|{{{author5}}}}}}{{ |
#if:{{{first5|}}}|, {{{first5}}} }} | #if:{{{first5|}}}|, {{{first5}}} }} | ||
}}<!--endif last5-->{{ | }}<!--endif last5-->{{ | ||
#if:{{{last6|{{{author6|}}} }}} | #if:{{{last6|{{{author6|}}} }}} | ||
| − | |< | + | |<nowiki/>{{{author-separator|;}}} {{{last6|{{{author6}}}}}}{{ |
#if:{{{first6|}}}|, {{{first6}}} }} | #if:{{{first6|}}}|, {{{first6}}} }} | ||
}}<!--endif last6-->{{ | }}<!--endif last6-->{{ | ||
#if:{{{last7|{{{author7|}}} }}} | #if:{{{last7|{{{author7|}}} }}} | ||
| − | |< | + | |<nowiki/>{{{author-separator|;}}} {{{last7|{{{author7}}}}}}{{ |
#if:{{{first7|}}}|, {{{first7}}} }} | #if:{{{first7|}}}|, {{{first7}}} }} | ||
}}<!--endif last7-->{{ | }}<!--endif last7-->{{ | ||
#if:{{{last8|{{{author8|}}} }}} | #if:{{{last8|{{{author8|}}} }}} | ||
| − | |< | + | |<nowiki/>{{{author-separator|;}}} {{{last8|{{{author8}}}}}}{{ |
#if:{{{first8|}}}|, {{{first8}}} }} | #if:{{{first8|}}}|, {{{first8}}} }} | ||
}}<!--endif last8--> | }}<!--endif last8--> | ||
| Line 85: | Line 85: | ||
#if:{{{editor|{{{editor-last|{{{editor1-last|}}} }}} }}}<!--if editor#1a--> | #if:{{{editor|{{{editor-last|{{{editor1-last|}}} }}} }}}<!--if editor#1a--> | ||
|{{#if:{{{author|{{{last|{{{last1|{{{author1|}}} }}} }}} }}} | |{{#if:{{{author|{{{last|{{{last1|{{{author1|}}} }}} }}} }}} | ||
| − | |< | + | |<nowiki/>{{{author-separator|;}}} }}<!--separator |
-->{{{editor|{{{editor-last|{{{editor1-last}}}}}}}}}{{ | -->{{{editor|{{{editor-last|{{{editor1-last}}}}}}}}}{{ | ||
#if:{{{editor1-first|}}}|, {{{editor1-first}}} | #if:{{{editor1-first|}}}|, {{{editor1-first}}} | ||
}}{{ | }}{{ | ||
#if:{{{editor2-last|}}}<!--if editor2 set--> | #if:{{{editor2-last|}}}<!--if editor2 set--> | ||
| − | |< | + | |<nowiki/>{{{author-separator|;}}} <!--separator |
-->{{{editor2-last}}}{{ | -->{{{editor2-last}}}{{ | ||
#if:{{{editor2-first|}}}|, {{{editor2-first}}} | #if:{{{editor2-first|}}}|, {{{editor2-first}}} | ||
}}{{ | }}{{ | ||
#if:{{{editor3-last|}}}<!--if editor3 set--> | #if:{{{editor3-last|}}}<!--if editor3 set--> | ||
| − | |< | + | |<nowiki/>{{{author-separator|;}}} <!--separator |
-->{{{editor3-last}}}{{ | -->{{{editor3-last}}}{{ | ||
#if:{{{editor3-first|}}}|, {{{editor3-first}}} | #if:{{{editor3-first|}}}|, {{{editor3-first}}} | ||
}}{{ | }}{{ | ||
#if:{{{editor4-last|}}}<!--if editor4 set--> | #if:{{{editor4-last|}}}<!--if editor4 set--> | ||
| − | |< | + | |<nowiki/>{{{author-separator|;}}} <!--separator |
-->{{{editor4-last}}}{{ | -->{{{editor4-last}}}{{ | ||
#if:{{{editor4-first|}}}|, {{{editor4-first}}} }} | #if:{{{editor4-first|}}}|, {{{editor4-first}}} }} | ||
}}<!--endif {editor4-last} --> | }}<!--endif {editor4-last} --> | ||
}}<!--endif {editor3-last} | }}<!--endif {editor3-last} | ||
| − | -->< | + | --><nowiki/>{{{author-separator|;}}} eds.  |
| − | |<!--else no editor2-->< | + | |<!--else no editor2--><nowiki/>{{{author-separator|;}}} ed.  |
}}<!--endif {editor2-last} --> | }}<!--endif {editor2-last} --> | ||
}}<!--endif {editor|editor1-last} | }}<!--endif {editor|editor1-last} | ||
| Line 121: | Line 121: | ||
#if:{{{origyear|}}}| [{{{origyear}}}] | #if:{{{origyear|}}}| [{{{origyear}}}] | ||
}}{{{sep|.}}}  | }}{{{sep|.}}}  | ||
| − | |< | + | |<nowiki/>{{{author-separator|;}}} <!-- |
-->}}<!--endif {date|year|month} | -->}}<!--endif {date|year|month} | ||
-->}}<!--endif {last|author|last1|author1|editor...} | -->}}<!--endif {last|author|last1|author1|editor...} | ||
| Line 182: | Line 182: | ||
|{{{location|London}}}{{ | |{{{location|London}}}{{ | ||
#if:{{{publisher|{{{agency|}}} }}} | #if:{{{publisher|{{{agency|}}} }}} | ||
| − | |< | + | |<nowiki/>: {{{publisher|{{{agency|[[Reuters]]}}}}}} }} |
|{{{publisher|{{{agency|[[Reuters]]}}}}}} | |{{{publisher|{{{agency|[[Reuters]]}}}}}} | ||
}})<!--endif location--> | }})<!--endif location--> | ||
| Line 331: | Line 331: | ||
|{{{sep|.}}} [{{{laysummary}}} Lay summary]{{ | |{{{sep|.}}} [{{{laysummary}}} Lay summary]{{ | ||
#if: {{{laysource|}}} | #if: {{{laysource|}}} | ||
| − | | – ''< | + | | – ''<noinclude />{{{laysource}}}<noinclude />''}} |
}}{{ | }}{{ | ||
#if:{{{laydate|}}} | #if:{{{laydate|}}} | ||
| Line 404: | Line 404: | ||
}} | }} | ||
}}<!--endif unsupported parameters | }}<!--endif unsupported parameters | ||
| − | -->}}<noinclude><!-- | + | --></span>}}<noinclude><!-- |
----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ||
--NOTES: | --NOTES: | ||
| Line 441: | Line 441: | ||
--12Jul12 Added parameters first1, first2, first3 but warn of last4. | --12Jul12 Added parameters first1, first2, first3 but warn of last4. | ||
--12Jul12 Optimized check for "author" as 2 #if's (was 7). | --12Jul12 Optimized check for "author" as 2 #if's (was 7). | ||
| − | --13Jul12 Fixed by "< | + | --13Jul12 Fixed by "<nowiki/>" to allow any separator such as ";" or ":". |
--13Jul12 Added parameter "coauthor" same as plural "coauthors". | --13Jul12 Added parameter "coauthor" same as plural "coauthors". | ||
--13Jul12 Put location/publisher in "( )" to match Cite_journal. | --13Jul12 Put location/publisher in "( )" to match Cite_journal. | ||
Latest revision as of 10:30, 5 January 2020
| This page is currently inactive and is retained for historical reference. Either the page is no longer relevant or consensus on its purpose has become unclear. To revive discussion, seek broader input via a forum such as the village pump. |
{{{title}}}.
| Template:Stop | 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:Citation/fcite journal, as with {{Citation/fcite web}} and other templates in the Citation/fcite group, is a fast-cite alternative to {{Cite journal}}} 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:Cite_journal/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_journal}} or {{Citation/fcite_web}} could be used in those articles to allow hundreds more citations without exceeding the template limits.
Examples
The operation is very similar to {{cite journal}} and related templates.
For using {{Citation/fcite_journal}}:
- Markup:
{{citation/fcite journal |title=Study 17 of life|journal=Top Journal|volume=9|issue=4|p=345|publisher=Acme|location=London|date=May 1999|year=1999|url= http://www.google.com|accessdate=1 June 2009}} - Result: "Study 17 of life". Top Journal (London: Acme) 9 (4), May 1999. Retrieved 1 June 2009.
Example with 3 authors, compared to {{cite journal}}:
- Markup:
{{citation/fcite 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 2012-07-10.
Related templates
The various templates within the Citation/fcite group include:
- Template:Citation/fcite web – for webpages, with "url=" link
- Template:Citation/fcite book – for books, with optional "url=" link
- Template:Citation/fcite news – for news articles, with "url=" link
- Template:Citation/fcite journal – for journal articles, with issue/format
- Template:Citation/fcite – puts a Harvard-ref anchor, linked from {{[[Template:|]]}}
See also
- Template:Cite web – the massive template with many options
- Template:Citation – large template to put Harvard-ref anchors
| The above documentation is transcluded from Template:Citation/fcite journal/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |