Template:Cite: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 1,486: Line 1,486:
bib=A. H. MacDonald and S. H. Vosko, ''A relativistic density functional formalism'', J. Phys. C '''12''', 2977 (1979).|  
bib=A. H. MacDonald and S. H. Vosko, ''A relativistic density functional formalism'', J. Phys. C '''12''', 2977 (1979).|  
link=https://.doi.org/10.1088/0022-3719/12/15/007
link=https://.doi.org/10.1088/0022-3719/12/15/007
}}{{
Reference|key=sharma:jctc:2018|show={{{1}}}|
bib=Sharma, S., Gross, E. K. U., Sanna, A., and Dewhurst, J. K., ''Source-free exchange-correlation magnetic fields in density functional theory'', Journal of chemical theory and computation, '''14'''(3), 1247-1253 (2018).|
link=https://.doi.org/10.1021/acs.jctc.7b01049
}}
}}

Revision as of 07:24, 20 December 2024

This template is similar to how LaTeX manages citations, you have a key and then a text that is included. The template translates this to the mediawiki format. Usage {{cite|key}}.

Mind: Add new citations to the end of this list. Be wary of the whitespace here as it will be introduced to the other document when you include it via the template. A good test is that the preview page should be completely empty and not show any empty lines.