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

From Linking experiences of World War One
Jump to: navigation, search
(Created page with "{{documentation subpage}} ==Usage== Please use this template to cite E.A. James, ''British Regiments 1914-1918''. <pre> {{RefJames |firstpage = |lastpage = }} </pre> *'''f...")
 
m (Usage: typo)
 
(6 intermediate revisions by the same user not shown)
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>
{{RefJames
+
{{Cite James| page = }}
|firstpage =
 
|lastpage =
 
}}
 
 
</pre>
 
</pre>
  
*'''firstpage''': the number of the first page being cited. If you are only citing one page, you only need to use this parameter. Parameter name can be omitted as long as this value comes first.
+
Or:
*'''lastpage''': Optional. The number of the last page being cited if you are citing a range of pages. You can leave it out if you are only citing one page. Parameter name can be omitted as long as this value comes second.
 
  
 +
<pre>
 +
{{Cite James| pages = }}
 +
</pre>
 +
 +
Parameter names must be used. Only one of these parameters should be used at a time.
 +
 +
* '''page''': a single page number. Use this if you are only citing one page.
 +
* '''pages''': multiple page numbers. These can be ranges of consecutive pages, or non-consecutive pages, or a mixture of both. Use this if you're citing more than one page.
  
[[Category:Citation templates]]
+
<includeonly>[[Category:Citation templates]]</includeonly>

Latest revision as of 03:30, 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| page = }}

Or:

{{Cite James| pages = }}

Parameter names must be used. Only one of these parameters should be used at a time.

  • page: a single page number. Use this if you are only citing one page.
  • pages: multiple page numbers. These can be ranges of consecutive pages, or non-consecutive pages, or a mixture of both. Use this if you're citing more than one page.