close
Sayahna Sayahna
Search

Difference between revisions of "Template:Persondata"


(add tracking categories per talk)
 
m (1 revision)
 
(No difference)

Latest revision as of 04:06, 22 March 2014

Documentation icon Template documentation[view] [edit] [history] [purge]

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

This is the TemplateData documentation for this template used by VisualEditor and other tools.

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>



it:Template:Bio