Difference between revisions of "Template:Persondata/doc"
(+ TD header) |
m (1 revision) |
(No difference)
|
Latest revision as of 04:12, 22 March 2014
40px | This is a documentation subpage for Template:Persondata. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on 1,000,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages, or in your own user space. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
Description
This metadata template provides for automatic data gathering and cataloging. It should be added to biographical articles (only). It must not be added to non-biographical articles, even if an article describes events related to a single individual. See Wikipedia:Persondata for the detailed documentation.
Usage
{{Persondata | NAME = | ALTERNATIVE NAMES = | SHORT DESCRIPTION = | DATE OF BIRTH = | PLACE OF BIRTH = | DATE OF DEATH = | PLACE OF DEATH = }}
Example
{{Persondata | NAME = Magellan, Ferdinand | ALTERNATIVE NAMES = Magalhães, Fernão de (Portuguese); Magallanes, Fernando de (Spanish) | SHORT DESCRIPTION = Sea explorer | DATE OF BIRTH = Spring 1480 | PLACE OF BIRTH = Sabrosa, Portugal | DATE OF DEATH = April 27, 1521 | PLACE OF DEATH = Mactan Island, Cebu, Philippines }}
Maintenance categories
Articles containing Persondata with no value in either the |NAME=
or |SHORT DESCRIPTION=
parameters are automatically added to Category:Persondata templates without name parameter or Category:Persondata templates without short description parameter, respectively.
TemplateData
Persondata
<templatedata>{ "description": "This metadata template provides for automatic data gathering and cataloging. It should be added to biographical articles (only). It must not be added to non-biographical articles, even if an article describes events related to a single individual.", "params": {
"NAME": { "label": "Name", "description": "Example: Magellan, Ferdinand", "type": "string", "required": true }, "ALTERNATIVE NAMES": { "label": "Alternative names", "description": "Example: Magalhães, Fernão de (Portuguese); Magallanes, Fernando de (Spanish)", "type": "string", "required": false }, "SHORT DESCRIPTION": { "label": "Short description", "description": "Example: Sea explorer", "type": "string", "required": true }, "DATE OF BIRTH": { "label": "Date of birth", "description": "Use exact date if known, but otherwise as close an approximation as possible. Example: Spring 1480", "type": "string", "required": false }, "PLACE OF BIRTH": { "label": "Place of birth", "description": "Example: Sabrosa, Portugal", "type": "string", "required": false }, "DATE OF DEATH": { "label": "Date of death", "description": "Use exact date if known, but otherwise as close an approximation as possible. Example: April 27, 1521", "type": "string", "required": false }, "PLACE OF DEATH": { "label": "Place of death", "description": "Example: Mactan Island, Cebu, Philippines", "type": "string", "required": false }
}}</templatedata>