Template:Find a Grave/doc

External link
Unnamed parameters:

Named parameters:

Using Wikidata property :

Reference
Two unnamed parameters:

Named parameters:

Using Wikidata property P535:

Usage guidance
Care should be taken when deciding to make a link to the Find a Grave website. While photographs of gravestones provide useful information, the biographical and other additional details may not be reliable. If there are fully reliable sources which may be used, then the Find a Grave link should not be used, or should be removed in place of the more reliable source.

As an WP:External link
To comply with WP:ELNO, only place in External links section if the website contains unique information not already mentioned and cited in the body of the article and is not a WP:COPYLINK violation. Remove from External links if Find a Grave is already cited in main body, if burial information is provided in main body by a more reliable source, or if the page contains any unlicensed copyrighted information (e.g., professional portrait photography or copies of obituaries from a newspaper).

As a reference for article content
With rare exceptions, do not use Find a Grave as a source. Find a Grave is not reliable because it relies on user-generated input without vetting by an editorial body.

If any of the parameters: are specified, this template will produce a citation with Cite web. Otherwise, it produces a format for use in an "External links" section. If used as a reference, it should not be duplicated in the "External links" section.
 * accessdate
 * author
 * date
 * last

Parameters

 * or  (parameter 1, required unless using Wikidata) – The Find a Grave Memorial number, found at the bottom of the Find a Grave article or in the URL (e.g., "1234" for https://www.findagrave.com/cgi-bin/fg.cgi?page=gr&GRid=1234). This parameter is optional if Wikidata property P535 exists, but required if not.
 * (parameter 2, optional) – The name of the deceased. Defaults to PAGENAME if not specified.
 * – A group or category within the Find a Grave site.
 * Parameters for Cite web
 * – The surname of the original author of the Find a Grave article.
 * – Alias for . If both   and   are specified,   takes precedence.
 * – The given name of the original author of the Find a Grave article. Requires.
 * – If the Find a Grave article has more than one author, use et al to display "et al." after the name of the first author.
 * – The date of the Find a Grave article.
 * – The date this citation was added or last updated.

Examples

 * External link with unnamed parameters
 * displays as:
 * displays as:


 * External link with named parameters
 * displays as:
 * displays as:


 * External link using Wikidata property P535
 * pulls the Grave ID from Wikidata and uses the page title. On the Henri Langlois article, it will display as:
 * OOjs UI icon edit-ltr-progressive.svg
 * OOjs UI icon edit-ltr-progressive.svg


 * Missing ID and no Wikidata
 * if the article's Wikidata item does not have the Find a Grave property, this will display as:
 * if the article's Wikidata item does not have the Find a Grave property, this will display as:


 * Reference using all of the parameters:
 * displays as:
 * displays as:

TemplateData
{	"description": "This template displays an external link or a reference to a memorial on the Find a Grave website.", "params": { "id": { "aliases": ["grid","1"], "label": "GRid #", "description": "The Find a Grave Memorial number, found at the bottom of the Find a Grave article or in the URL (e.g., '1234' for https://www.findagrave.com/cgi-bin/fg.cgi?page=gr&GRid=1234). This parameter is optional if Wikidata property P535 exists, but required if not.", "type": "number", "required": false, "default": "Wikidata property P2601" },		"name": { "aliases": ["2"], "label": "Name of deceased", "description": "The name of the deceased. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.", "type": "line", "suggested": true, "default": "" },		"work": { "description": "A group or category within the Find a Grave site", "type": "line" },		"last": { "label": "Author surname", "description": "The surname of the original author of the Find a Grave article.", "type": "line", "aliases": ["author"] },		"first": { "label": "Author given name", "description": "The given name of the original author of the Find a Grave article. Requires .", "type": "line" },		"display-authors": { "label": "Display authors", "description": "If the Find a Grave article has more than one author, use |display-authors=et al to display 'et al.' after the name of the first author.", "type": "string", "example": "et al" },		"date": { "description": "The date of the Find a Grave article.", "type": "date" },		"accessdate": { "label": "Access date", "description": "The date this citation was added or last updated.", "type": "date" }	},	"paramOrder": [ "id", "name", "work", "last", "first", "display-authors", "date", "accessdate" ] }

Tracking categories

 * template with ID
 * template missing ID
 * template missing ID
 * template missing ID