Template:Persondata

From WDCL Wiki
Revision as of 22:21, 29 December 2014 by Apmccumiskey (talk | contribs) (Created page with "{{Documentation subpage}} {{high-risk|1,170,000+}}<!-- if updating this transclusion count template, please update the note in the lead section of WP:PDT --> {{AWB standar...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:High-risk Template:AWB standard installation

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.

Please consider using Wikidata instead of adding new uses of this template. Eventually, when all existing uses have been converted over to Wikidata, this template will be deleted; but the conversion process is likely to take a long time, and this template is still useful to hold the data until the conversion process is finished.

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 Template:Para or Template:Para parameters are automatically added to Category:Persondata templates without name parameter or Category:Persondata templates without short description parameter, respectively.

TemplateData

Template:TemplateDataHeader <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>