Template:BDtest

From Wikiquote
Jump to navigation Jump to search
WARNING: THIS IS ONE IF THE MOST COMPLEX TEMPLATES ON WIKIQUOTE! PLEASE DISCUSS CHANGES FIRST!

This template has many optional uses. Not all of them are needed, and the template will be fine without all them. The first option is many. This is how many dates will be used. Example, 2 = the person's birth and death years (1000 – 1050). 3a the birth date and year, and the death year (May 4, 2000 – 2001). 3b = is the birth year, and the death date and year. 4 = the birth and death date and years (May 13, 1948 – September 24, 2003). If nothing is given, the default 4 is used.

{{BD|May 1|1999|March 3|2000}}        = born May 1, 1999 – died March 3, 2000
{{BD|many=2|1999|2000}}               = born 1999 – died 2000
{{BD|many=3a|March 3|1999|2000}} = born March 3, 1999 – died 2000 {{BD|many=3b|1999|March 3|2000}} = born 1999 – died March 3, 2000 {{BD|many=4|May 1|1999|March 3|2000}} = born May 1, 1999 – died March 3, 2000

There are several optional features. These are them:

{{BD | many=4 | May 13 | 1948 | September 24 | 2003 |
|name=John Smith     = born as John Smith (birth name)
|bplace=Italy        = born in Italy (place born)
|dplace=Rome         = died in Rome (place died)
|sort=Smith, John    = sorts by last name in categories
}}


Example if all is used:

{{BD|many=4|May 13|1948|September 24|2003|name=John Smith|bplace=Italy|dplace=Rome|sort=Smith, John}}
born as John Smith, in Italy, May 13, 1948 – died September 24, 2003, in Rome (will be added to Category:1948 births and Category:2003 deaths, and sorted by last name)