Jump to content

Template:Lifetime: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
create from simple:
No edit summary
Line 15: Line 15:
*If the ''year of death'' is left blank (ie. <nowiki> {{BD|1945||Body, Some}}</nowiki> then the [[:category:Living people]] is used in place of year died.
*If the ''year of death'' is left blank (ie. <nowiki> {{BD|1945||Body, Some}}</nowiki> then the [[:category:Living people]] is used in place of year died.
*The ''name to be sorted'' as is most often in the form of ''Last name'', ''First name''. If this field is left blank, the page name is used.
*The ''name to be sorted'' as is most often in the form of ''Last name'', ''First name''. If this field is left blank, the page name is used.
*This template includes the default sort tag <nowiki>{{DEFAULTSORT:name sorted by}}</nowiki>. Therefore, other categories do not need sort tags.
*This template includes the default sort tag <nowiki>{{DEFAULTSORT:name sorted by}}</nowiki>. Other categories still need sort tags, because the one here is not visible.


[[category:Category templates]]
[[category:Category templates]]

Revision as of 23:28, 9 November 2007


Template:BD (Born - Died) is for adding the categories for births and deaths in a certain year (ie. 1935 births, 1994 deaths).


Usage
{{ BD | year of birth | year of death |Name to be sorted as }}
notes
  • If the year of death is left blank (ie. {{BD|1945||Body, Some}} then the category:Living people is used in place of year died.
  • The name to be sorted as is most often in the form of Last name, First name. If this field is left blank, the page name is used.
  • This template includes the default sort tag {{DEFAULTSORT:name sorted by}}. Other categories still need sort tags, because the one here is not visible.