Difference between revisions of "Template:Citation/fcite journal"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
m (Fix invalid self-closed HTML tag or other HTML tag error)
imported>WOSlinker
(use <nowiki/> rather than <b/>)
Line 53: Line 53:
 
   -->{{#if:
 
   -->{{#if:
 
       {{{last2|{{{author2|{{{coauthors|{{{coauthor|}}} }}} }}} }}}<!--if last2
 
       {{{last2|{{{author2|{{{coauthors|{{{coauthor|}}} }}} }}} }}}<!--if last2
     -->|<b></b>>{{{author-separator|;}}} {{{last2|<!--
+
     -->|<nowiki/>{{{author-separator|;}}} {{{last2|<!--
 
           -->{{{author2|{{{coauthors|{{{coauthor}}}}}}}}}}}}{{
 
           -->{{{author2|{{{coauthors|{{{coauthor}}}}}}}}}}}}{{
 
           #if:{{{first2|}}}|, {{{first2}}}}}{{
 
           #if:{{{first2|}}}|, {{{first2}}}}}{{
 
           #if:{{{last3|{{{author3|}}} }}}
 
           #if:{{{last3|{{{author3|}}} }}}
             |<b></b>>{{{author-separator|;}}} {{{last3|{{{author3}}}}}}{{
+
             |<nowiki/>{{{author-separator|;}}} {{{last3|{{{author3}}}}}}{{
 
             #if:{{{first3|}}}|, {{{first3}}} }}{{
 
             #if:{{{first3|}}}|, {{{first3}}} }}{{
 
             #if:{{{last4|{{{author4|}}} }}}
 
             #if:{{{last4|{{{author4|}}} }}}
               |<b></b>>{{{author-separator|;}}} {{{last4|{{{author4}}}}}}{{
+
               |<nowiki/>{{{author-separator|;}}} {{{last4|{{{author4}}}}}}{{
 
               #if:{{{first4|}}}|, {{{first4}}} }}{{
 
               #if:{{{first4|}}}|, {{{first4}}} }}{{
 
               #if:{{{last5|{{{author5|}}} }}}
 
               #if:{{{last5|{{{author5|}}} }}}
                 |<b></b>>{{{author-separator|;}}} {{{last5|{{{author5}}}}}}{{
+
                 |<nowiki/>{{{author-separator|;}}} {{{last5|{{{author5}}}}}}{{
 
                 #if:{{{first5|}}}|, {{{first5}}} }}
 
                 #if:{{{first5|}}}|, {{{first5}}} }}
 
               }}<!--endif last5-->{{
 
               }}<!--endif last5-->{{
 
               #if:{{{last6|{{{author6|}}} }}}
 
               #if:{{{last6|{{{author6|}}} }}}
                 |<b></b>>{{{author-separator|;}}} {{{last6|{{{author6}}}}}}{{
+
                 |<nowiki/>{{{author-separator|;}}} {{{last6|{{{author6}}}}}}{{
 
                 #if:{{{first6|}}}|, {{{first6}}} }}
 
                 #if:{{{first6|}}}|, {{{first6}}} }}
 
               }}<!--endif last6-->{{
 
               }}<!--endif last6-->{{
 
               #if:{{{last7|{{{author7|}}} }}}
 
               #if:{{{last7|{{{author7|}}} }}}
                 |<b></b>>{{{author-separator|;}}} {{{last7|{{{author7}}}}}}{{
+
                 |<nowiki/>{{{author-separator|;}}} {{{last7|{{{author7}}}}}}{{
 
                 #if:{{{first7|}}}|, {{{first7}}} }}
 
                 #if:{{{first7|}}}|, {{{first7}}} }}
 
               }}<!--endif last7-->{{
 
               }}<!--endif last7-->{{
 
               #if:{{{last8|{{{author8|}}} }}}
 
               #if:{{{last8|{{{author8|}}} }}}
                 |<b></b>>{{{author-separator|;}}} {{{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|}}} }}} }}} }}}
     |<b></b>>{{{author-separator|;}}}&#32;}}<!--separator
+
     |<nowiki/>{{{author-separator|;}}}&#32;}}<!--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-->
     |<b></b>>{{{author-separator|;}}} <!--separator
+
     |<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-->
       |<b></b>>{{{author-separator|;}}} <!--separator
+
       |<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-->
         |<b></b>>{{{author-separator|;}}} <!--separator
+
         |<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}
     --><b></b>>{{{author-separator|;}}} eds.&#32;
+
     --><nowiki/>{{{author-separator|;}}} eds.&#32;
     |<!--else no editor2--><b></b>>{{{author-separator|;}}} ed.&#32;
+
     |<!--else no editor2--><nowiki/>{{{author-separator|;}}} ed.&#32;
 
     }}<!--endif {editor2-last} -->
 
     }}<!--endif {editor2-last} -->
 
   }}<!--endif {editor|editor1-last}
 
   }}<!--endif {editor|editor1-last}
Line 121: Line 121:
 
         #if:{{{origyear|}}}|&#32;[{{{origyear}}}]
 
         #if:{{{origyear|}}}|&#32;[{{{origyear}}}]
 
         }}{{{sep|.}}}&#32;
 
         }}{{{sep|.}}}&#32;
       |<b></b>>{{{author-separator|;}}}&#32;<!--
+
       |<nowiki/>{{{author-separator|;}}}&#32;<!--
 
   -->}}<!--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|}}} }}}
             |<b></b>>: {{{publisher|{{{agency|[[Reuters]]}}}}}} }}
+
             |<nowiki/>: {{{publisher|{{{agency|[[Reuters]]}}}}}} }}
 
           |{{{publisher|{{{agency|[[Reuters]]}}}}}}
 
           |{{{publisher|{{{agency|[[Reuters]]}}}}}}
 
           }})<!--endif location-->
 
           }})<!--endif location-->
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 "<b/>" to allow any separator such as ";" or ":".
+
--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.

Revision as of 06:32, 11 October 2016

{{{title}}}.
Template documentation[view] [edit] [history] [purge]


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:

See also