Template:Find A Grave/doc: Difference between revisions

(add named link example)
(→‎Parameters: expand)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


==Usage==
==Usage==
This template has been created to create links to cemetery pages within the [http://www.findagrave.com Find A Grave website].
This template has been created to create links to cemetery pages within the ''[[Find A Grave]]'' website.
 
The template should be used as follows:-
{{tlx|Find A Grave|''CRid''|''cemetery name''|''accessdate<nowiki>=</nowiki>''}}
 
=== Parameters  ===
The first portion of the Find a Grave website url is built into the template. The url begins as: “http://www.findagrave.com/cgi-bin/fg.cgi?page=cr&CRid=”. This field cannot be changed.
 
;CRid :(required) The first unnamed parameter is the "CRid" number
;cemetery name :(optional) The second unnamed parameter is for the name of the cemetery that is being linked (default "cemetery").
;accessdate :(optional) - date page last checked


=== Examples  ===
=== Examples  ===
Line 18: Line 28:
|
|
<pre>
<pre>
{{Find A Grave|CRid=1907776}}  
{{Find A Grave|1907776|De Wolf Family Cemetery}}  
</pre>
</pre>
|
|
{{Find A Grave|CRid=1907776}}  
{{Find A Grave|1907776|De Wolf Family Cemetery}}  
|-
|-
|
|
<pre>
<pre>
{{Find A Grave|1907776|De Wolf Family Cemetery}}  
{{Find A Grave|1907776|accessdate=September 9, 2010}}  
</pre>
</pre>
|
|
{{Find A Grave|1907776|De Wolf Family Cemetery}}  
{{Find A Grave|1907776|accessdate=September 9, 2010}}  
|}
|}



Latest revision as of 10:54, 9 September 2010

Usage

This template has been created to create links to cemetery pages within the Find A Grave website.

The template should be used as follows:- {{Find A Grave{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}}

Parameters

The first portion of the Find a Grave website url is built into the template. The url begins as: “http://www.findagrave.com/cgi-bin/fg.cgi?page=cr&CRid=”. This field cannot be changed.

CRid
(required) The first unnamed parameter is the "CRid" number
cemetery name
(optional) The second unnamed parameter is for the name of the cemetery that is being linked (default "cemetery").
accessdate
(optional) - date page last checked

Examples

You type You get
{{Find A Grave|1907776}} 

cemetery database at Find A Grave.

{{Find A Grave|1907776|De Wolf Family Cemetery}} 

De Wolf Family Cemetery database at Find A Grave.

{{Find A Grave|1907776|accessdate=September 9, 2010}} 

cemetery database at Find A Grave. Retrieved September 9, 2010