Template:BD/doc

Wikipedia se
Jump to navigation Jump to search

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[source ke badlo]

Birth
  • If the year of birth is left blank (ie. {{BD||1945|Body, Some}} then the category:Date of birth unknown is used in place of year of birth.
  • The template accepts approximate years, that is "1940s" if the exact year between 1940 and 1949 is not known
Death
  • 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.
  • If the year of death is entered as "unknown" (ie. {{BD|1945|unknown|Body, Some}} then the category:Date of death unknown is used in place of year died. It also accepts "not known". The case does not matter, for example, unknown, Unknown, UNKNOWN, and UnKNOwn will all work the same way.
Name to be sorted by
  • 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}}. This causes other categories to not need sort tags.