Difference between revisions of "Template:Cite James/doc"

From Linking experiences of World War One
Jump to: navigation, search
m (updating examples)
m (updating for new template)
Line 3: Line 3:
 
==Usage==
 
==Usage==
  
Please use this template to cite E.A. James, ''British Regiments 1914-1918''.
+
Please use this template to cite E.A. James, ''British Regiments 1914-1918''. It passes data to {{tl|Cite book}}, which automatically inserts COinS metadata.
  
 
<pre>
 
<pre>
 
{{Cite James
 
{{Cite James
|firstpage =
+
| firstpage =
|lastpage =
+
| lastpage =
 
}}
 
}}
 
</pre>
 
</pre>
Line 14: Line 14:
 
Parameter names can be omitted if the values are entered in this order.
 
Parameter names can be omitted if the values are entered in this order.
  
{{Pageref/doc/params}}
+
* '''firstpage''': the number of the first or only page being cited.
 +
* '''lastpage''': the number of the last page being cited if you're citing a range of consecutive pages.
  
[[Category:Citation templates]]
+
<includeonly>[[Category:Citation templates]]</includeonly>

Revision as of 02:18, 16 April 2016


Usage

Please use this template to cite E.A. James, British Regiments 1914-1918. It passes data to {{Cite book}}, which automatically inserts COinS metadata.

{{Cite James
| firstpage =
| lastpage =
}}

Parameter names can be omitted if the values are entered in this order.

  • firstpage: the number of the first or only page being cited.
  • lastpage: the number of the last page being cited if you're citing a range of consecutive pages.