Template:Find a Grave: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
| {{cite web |url=https://www.findagrave.com/memorial/{{#if: {{{1|{{{grid|{{{id|}}}}}}}}} | {{{1|{{{grid|{{{id}}}}}}}}} | {{First word|1={{#property:P535}}|sep=,}} }} |title={{#if: {{{2|{{{name|}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }} |publisher=[[w:Find a Grave|Find a Grave]] |work={{{work|}}} |last={{{last|{{{author|}}}}}} |first={{{first|}}} |date={{{date|}}} |access-date={{{accessdate|{{{access-date|}}}}}} |display-authors={{{display-authors|}}} }} | | {{cite web |url=https://www.findagrave.com/memorial/{{#if: {{{1|{{{grid|{{{id|}}}}}}}}} | {{{1|{{{grid|{{{id}}}}}}}}} | {{First word|1={{#property:P535}}|sep=,}} }} |title={{#if: {{{2|{{{name|}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }} |publisher=[[w:Find a Grave|Find a Grave]] |work={{{work|}}} |last={{{last|{{{author|}}}}}} |first={{{first|}}} |date={{{date|}}} |access-date={{{accessdate|{{{access-date|}}}}}} |display-authors={{{display-authors|}}} }} | ||
| [https://www.findagrave.com/memorial/{{#if: {{{1|{{{grid|{{{id<includeonly>|</includeonly>}}}}}}}}} | {{{1|{{{grid|{{{id}}}}}}}}} | {{First word|1={{#property:P535}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}]{{#if: {{{work|}}} | , {{{work}}} }} at [[Find a Grave]] | | [https://www.findagrave.com/memorial/{{#if: {{{1|{{{grid|{{{id<includeonly>|</includeonly>}}}}}}}}} | {{{1|{{{grid|{{{id}}}}}}}}} | {{First word|1={{#property:P535}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}]{{#if: {{{work|}}} | , {{{work}}} }} at [[w:Find a Grave|Find a Grave]] | ||
}}<includeonly>{{EditAtWikidata|pid=P535| {{{1|{{{grid|{{{id|}}}}}}}}} }}</includeonly>{{#ifeq: {{Yesno-yes|{{{check-wikidata|}}}}} | yes | {{WikidataCheck|property=P535|value={{{1|{{{grid|{{{id|}}}}}}}}}|category=Find a Grave template with ID|namespaces=0|nocatsame=1}} }} | }}<includeonly>{{EditAtWikidata|pid=P535| {{{1|{{{grid|{{{id|}}}}}}}}} }}</includeonly>{{#ifeq: {{Yesno-yes|{{{check-wikidata|}}}}} | yes | {{WikidataCheck|property=P535|value={{{1|{{{grid|{{{id|}}}}}}}}}|category=Find a Grave template with ID|namespaces=0|nocatsame=1}} }} |
Latest revision as of 21:59, 21 November 2022
This template is used on approximately 34,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Per WP:FINDAGRAVE-EL, this template should be used very sparingly and in most cases the template (or links to Findagrave not using this template) should be removed from articles. |
This template uses Lua: |
Template:Find a Grave displays an external link or a reference to a memorial on the Find a Grave website.
Usage
External link
Unnamed parameters:
* {{Find a Grave | ID }}
* {{Find a Grave | ID | NAME }}
Named parameters:
* {{Find a Grave | id= }}
* {{Find a Grave | id= | name= }}
* {{Find a Grave | id= | name= | work= }}
Using Wikidata property (P535):
* {{Find a Grave}}
* {{Find a Grave | name= }}
* {{Find a Grave | name= | work= }}
Reference
Two unnamed parameters:
{{Find a Grave | ID | NAME | work= | last= | first= | date= | access-date= }}
Named parameters:
{{Find a Grave | id= | name= | work= | last= | first= | date= | access-date= }}
Using Wikidata property P535:
{{Find a Grave | work= | last= | first= | date= | access-date= }}
{{Find a Grave | name= | work= | last= | first= | date= | access-date= }}
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:
- access-date
- author
- date
- last
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.
Parameters
id
orgrid
(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.name
(parameter 2, optional) – The name of the deceased. Defaults to {{PAGENAME}} if not specified.work
– A group or category within the Find a Grave site.- Parameters for {{Cite web}}
last
– The surname of the original author of the Find a Grave article.author
– Alias forlast
. If bothlast
andauthor
are specified,last
takes precedence.
first
– The given name of the original author of the Find a Grave article. Requireslast
.display-authors
– 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.date
– The date of the Find a Grave article.access-date
– The date this citation was added or last updated.
Examples
- External link with unnamed parameters
* {{Find a Grave | 1234 | Henri Langlois }}
- displays as:
- External link with named parameters
* {{Find a Grave | id= 94078737 | name= Sally Kristen Ride | work= American Astronaut }}
- displays as:
- Sally Kristen Ride, American Astronaut at Find a Grave
- External link using Wikidata property P535
* {{Find a Grave}}
- pulls the Grave ID from Wikidata and uses the page title. On the Henri Langlois article, it will display as:
- Missing ID and no Wikidata
{{Find a Grave}}
- if the article's Wikidata item does not have the Find a Grave property, this will display as:
- Find a Grave at Find a Grave
- Reference using all of the parameters
{{Find a Grave | id = 94078737 | name = Sally Kristen Ride | work = American Astronaut | last = Daniluke | first = Marc J. | display-authors = et al | date = July 23, 2012 | access-date = December 26, 2024 }}
- displays as:
- Daniluke, Marc J.; et al. (July 23, 2012). "Sally Kristen Ride". American Astronaut. Find a Grave. Retrieved December 26, 2024.
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Find a Grave in articles based on its TemplateData.
TemplateData for Find a Grave This template displays an external link or a reference to a memorial on the Find a Grave website.
|
Tracking categories
- template with ID
- Category:Find a Grave template with ID different from Wikidata (0)
- Category:Find a Grave template with ID not in Wikidata (57)
- template missing ID
See also
- Wikipedia:FINDAGRAVE
- {{Find a Grave cemetery}} to link to a cemetery at Find a Grave
- Pages with script errors
- Templates using data from Wikidata
- Templates tracking Wikidata
- Lua-based templates
- Templates using TemplateData
- People and person external link templates
- External link templates with accessdate parameter
- External link templates using Wikidata
- Templates that add a tracking category
- Templates that wrap Cite web