Template:Collection citation/doc: Difference between revisions

From FamilySearch Wiki
No edit summary
(→‎Usage: add example)
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
This template produces a Collection citation used in FamilySearch Historical Records articles.
== Purpose  ==


This template is used for all Historical Record collections.
This template is used to add the collection citation to a [[FamilySearch Historical Record Collections|Historical Record Collection]]'s search page at [[FamilySearch.org]] under the heading '''Source Information''' heading.


The template does not have any parameters.
== Usage  ==
The template can be used to protect the needed code from being removed by unwitting contributors. The citation must be inserted between the <nowiki><!--bibdescbegin--></nowiki>and <nowiki><!--bibdescbend--></nowiki> tags.
<pre>
{{Collection citation
| text =<!--bibdescbegin-->The source citation<!--bibdescbend-->
}}
</pre>


The code is simple:
=== Example ===
<PRE>{{Collection citation}}</PRE>
For the collection [[England and Wales Census, 1901 (FamilySearch Historical Records)#Citation for This Collection|England and Wales Census, 1901 (FamilySearch Historical Records)]]
 
<pre>
The template displays as:
{{Collection citation
 
| text = <!--bibdescbegin-->England and Wales Census, 1901. FHL digital images. Family History Library, Salt Lake City, Utah.<!--bibdescend-->  
{{Collection citation}}
}}
[[Category:Template documentation]]
</pre>
[[Category:WikiProject FamilySearch Historical Records templates]]

Revision as of 07:15, 22 March 2012

Purpose[edit source]

This template is used to add the collection citation to a Historical Record Collection's search page at FamilySearch.org under the heading Source Information heading.

Usage[edit source]

The template can be used to protect the needed code from being removed by unwitting contributors. The citation must be inserted between the <!--bibdescbegin-->and <!--bibdescbend--> tags.

{{Collection citation
| text =<!--bibdescbegin-->The source citation<!--bibdescbend-->
}}

Example[edit source]

For the collection England and Wales Census, 1901 (FamilySearch Historical Records)

{{Collection citation
| text = <!--bibdescbegin-->England and Wales Census, 1901. FHL digital images. Family History Library, Salt Lake City, Utah.<!--bibdescend--> 
}}