Template:WikiTree/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

This template should be used very sparingly and in most cases the template (or links to WikiTree not using this template) should be removed from articles.

Template:WikiTree displays an external link or a reference to a profile on the WikiTree website.

[edit source]
ID only
* {{WikiTree | ID }}
* {{WikiTree | id= ID }}
ID and Name
* {{WikiTree | ID | NAME }}
* {{WikiTree | id= ID | name= NAME }}
Using Wikidata property
* {{WikiTree}}
* {{WikiTree | name= NAME }}

Reference

[edit source]
ID and Access date
{{WikiTree | ID | access-date= DATE }}
{{WikiTree | id= ID | access-date= DATE }}
ID, Name and Access Date
{{WikiTree | ID | NAME | access-date= DATE }}
{{WikiTree | id= ID | name= NAME | access-date= DATE }}
Using Wikidata property
{{WikiTree | access-date= DATE }}
{{WikiTree | name= NAME | access-date= DATE }}

Usage guidance

[edit source]

Care should be taken when deciding to make a link to the WikiTree website. The biographical and other details may not be reliable. If there are fully reliable sources which may be used, then the WikiTree link should not be used, or should be removed in place of the more reliable source.

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 WikiTree 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).

Parameters

[edit source]
  • id or wtid (parameter 1, required unless using Wikidata) – The WikiTree profile ID, found at the top of the WikiTree page or in the URL (e.g., “LastName-1234" for https://www.wikitree.com/wiki/LastName-1234). This parameter is optional if Wikidata property P2949 exists, but required if not.
  • name (parameter 2, optional) – The name of the deceased. Defaults to {{PAGENAME}} if not specified.

Examples

[edit source]
[edit source]
Usage
* {{WikiTree | DeMille-39 | Cecil B. DeMille }}
Output
URL
https://www.wikitree.com/wiki/DeMille-39
[edit source]
Usage
* {{WikiTree | id= Wofford-497 | name= Toni Morrison }}
Output
URL
https://www.wikitree.com/wiki/Wofford-497
[edit source]
Usage in Cecil B. DeMille
* {{WikiTree}}
Output

Missing ID and not in Wikidata

[edit source]
Usage
* {{WikiTree}}
Output
  • The Genealogy of WikiTree/doc at WikiTreeLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).

Reference using all of the parameters

[edit source]
Usage
{{WikiTree | id = Wofford-497 | name = Toni Morrison | access-date = April 25, 2026 }}
Output
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

TemplateData

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:WikiTree in articles based on its TemplateData.

TemplateData for WikiTree

This template displays an external link or a reference to a profile on the WikiTree website.

Template parameters

ParameterDescriptionTypeStatus
WTid #id wtid 1

The WikiTree profile number, found at the top of the WikiTree profile or in the URL (e.g., ‘LastName-1234' for https://www.wikitree.com/wiki/LastName-1234). This parameter is optional if Wikidata property P2949 exists, but required if not.

Default
Wikidata property P2601
Example
LastName-1234
Stringoptional
Namename 2

The name of the deceased. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.

Default
{{PAGENAMEBASE}}
Example
Cecil B. DeMille
Linesuggested
Access dateaccess-date accessdate

The date this citation was added or last updated.

Dateoptional

Tracking categories

[edit source]
template with ID
template missing ID

See also

[edit source]