Template:FormatRef

From 2008.igem.org

(Difference between revisions)
m
m
 
(11 intermediate revisions not shown)
Line 1: Line 1:
-
{{{A}}} ({{{Y}}}) ''"{{{T}}}"''. '''{{{J}}}''', pp. {{{N}}} ''{{{P}}}''
+
<noinclude>
 +
This template will automatically format references. Copy and paste the template below...
 +
 
 +
 
 +
<center>'''<nowiki>{{FormatRef|Author|Year|Title|Journal|Page|Publisher}}</nowiki>'''</center>
 +
 
 +
 
 +
...and replace each word with whatever you need, if you don't need one just delete the word (but keep the pipe). So this:
 +
 
 +
 
 +
<center>'''<nowiki>{{FormatRef|Elowitz and Leibler|2000|A Synthetic Oscillatory Network of Transcriptional Regulators|Nature 403(6767)|335-8|}}</nowiki>'''</center>
 +
 
 +
 
 +
will show up as this:
 +
 
 +
 
 +
<center>Elowitz & Leibler (2000) ''A Synthetic Oscillatory Network of Transcriptional Regulators'' -  '''Nature 403(6767)''' 335-8.</center>
 +
 
 +
 
 +
with no publisher because that field was left blank. There might be problems leaving stuff out (punctuation or whatever still appearing) but I can fix them later if they arise.
 +
 
 +
You may wish to use this with the [[Template:Ref |Reference Template]] I made which lets you put in-line citations into text that link to any section called "References" on the page.
 +
 
 +
 
 +
~Tom
 +
</noinclude><includeonly>{{{1|}}} ({{{2|}}}) ''{{{3|}}}'' -''' {{{4|}}}{{{6|}}}''' {{{5|}}}</includeonly>

Latest revision as of 22:21, 27 October 2008

This template will automatically format references. Copy and paste the template below...


{{FormatRef|Author|Year|Title|Journal|Page|Publisher}}


...and replace each word with whatever you need, if you don't need one just delete the word (but keep the pipe). So this:


{{FormatRef|Elowitz and Leibler|2000|A Synthetic Oscillatory Network of Transcriptional Regulators|Nature 403(6767)|335-8|}}


will show up as this:


Elowitz & Leibler (2000) A Synthetic Oscillatory Network of Transcriptional Regulators - Nature 403(6767) 335-8.


with no publisher because that field was left blank. There might be problems leaving stuff out (punctuation or whatever still appearing) but I can fix them later if they arise.

You may wish to use this with the Reference Template I made which lets you put in-line citations into text that link to any section called "References" on the page.


~Tom