Template:ArticleCat: Difference between revisions

From DispersiveWiki
Jump to navigationJump to search
No edit summary
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[Category:Articles]][[Category:{{{journal}}}]][[Category:{{{year}}} articles]]</includeonly><noinclude>
<includeonly>[[Category:Articles]][[Category:{{{journal}}}]][[Category:{{{year}}} articles]]</includeonly><noinclude>
== How to use this template ==
== How to use this template ==


Line 6: Line 5:


  <nowiki>{{ArticleCat </nowiki>
  <nowiki>{{ArticleCat </nowiki>
  <nowiki> | author = <list of authors> </nowiki>
  <nowiki> | author = <list of authors (optional)> </nowiki>
  <nowiki> | title = <title> </nowiki>
  <nowiki> | title = <title (optional)> </nowiki>
  <nowiki> | journal = <journal> </nowiki>
  <nowiki> | journal = <journal </nowiki>('''required''')>
  <nowiki> | jvol = <journal volume> </nowiki>
  <nowiki> | jvol = <journal volume (optional)> </nowiki>
  <nowiki> | jpage = <journal pages> </nowiki>
  <nowiki> | jpage = <journal pages (optional)> </nowiki>
  <nowiki> | year = <year of publication> </nowiki>
  <nowiki> | year = <year of publication </nowiki>('''required''')>  
  <nowiki> | arxivid = <arXiv number (optional)> </nowiki>
  <nowiki> | arxivid = <arXiv number (optional)> </nowiki>
  <nowiki> | mathsciid = <mathsci number (optional)> </nowiki>
  <nowiki> | mathsciid = <mathsci number (optional)> </nowiki>
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>


in an article page. It will automatically add the page to the [[:Category:Articles|Articles]], and the appropriate [[:Category:Articles by journal|journal]] and [[:Category:Articles by year|year]] of publication categories. Note that one must place this template between <nowiki><noinclude></nowiki> and <nowiki></noinclude></nowiki> in order not to categorize as bibliography the pages with the article page in the Reference section. Also, do not leave any newline character in the article page as it will appear wherever the article page is transcluded in a references list.
in an article page. It will automatically add the page to the [[:Category:Articles|Articles]], and the appropriate [[:Category:Articles by journal|journal]] and [[:Category:Articles by year|year]] of publication categories. Note that one must place this template between &lt;noinclude&gt; and &lt;/noinclude&gt; in order not to categorize as bibliography the pages with the article page in the Reference section. Also, do not leave any newline character in the article page as it will appear wherever the article page is transcluded in a references list.
 
For an example of this template in action, see [[Aa2002]].  


For an example of this template in action, see [[Aa2002]].
See also the bibliography template [[Template:Article|Article]].


[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 19:19, 22 August 2008

How to use this template

Insert the text

{{ArticleCat 
 | author = <list of authors (optional)> 
 | title = <title (optional)> 
 | journal = <journal (required)>
 | jvol = <journal volume (optional)> 
 | jpage = <journal pages (optional)> 
 | year = <year of publication (required)> 
 | arxivid = <arXiv number (optional)> 
 | mathsciid = <mathsci number (optional)> 
}}

in an article page. It will automatically add the page to the Articles, and the appropriate journal and year of publication categories. Note that one must place this template between <noinclude> and </noinclude> in order not to categorize as bibliography the pages with the article page in the Reference section. Also, do not leave any newline character in the article page as it will appear wherever the article page is transcluded in a references list.

For an example of this template in action, see Aa2002.

See also the bibliography template Article.