Difference between revisions of "Template:Lifetime/doc"
Jump to navigation
Jump to search
imported>Jacklee (Moved documentation from talk page to documentation page) |
imported>Jacklee (→Usage: Updated usage notes) |
||
| Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> | ||
==Usage== | ==Usage== | ||
| − | + | <pre> | |
| − | + | {{subst:lifetime|birth_year|death_year|lastname, firstname(s)}} | |
| + | </pre> | ||
| − | + | ==Examples== | |
| − | + | *[[Jean Baptiste Audebert]] (born in [[1759]], died in the year [[1800]]): | |
| + | ::<nowiki>{{subst:lifetime|1759|1800|Audebert, Jean Baptiste}}</nowiki> | ||
| − | + | *[[Clément Chartier]] (born [[1946]], still living): | |
| − | + | ::<nowiki>{{subst:lifetime|1946||Chartier, Clement}}</nowiki> | |
| − | + | *[[Jon Glover]] (birth year unknown, still living): | |
| − | + | ::<nowiki>{{subst:lifetime|||Glover, Jon}}</nowiki> | |
| − | + | *[[Jan Milic]] (birth year unknown, died 1374): | |
| − | + | ::<nowiki>{{subst:lifetime||1374|Milic, Jan}}</nowiki> | |
| − | This template should be substituted. | + | This template should be [[Wikipedia:Template substitution|substituted]]. |
<includeonly><!-- | <includeonly><!-- | ||
Revision as of 21:57, 5 March 2008
| This is a documentation subpage for Template:Lifetime. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{subst:lifetime|birth_year|death_year|lastname, firstname(s)}}
Examples
- Jean Baptiste Audebert (born in 1759, died in the year 1800):
- {{subst:lifetime|1759|1800|Audebert, Jean Baptiste}}
- Clément Chartier (born 1946, still living):
- {{subst:lifetime|1946||Chartier, Clement}}
- Jon Glover (birth year unknown, still living):
- {{subst:lifetime|||Glover, Jon}}
- Jan Milic (birth year unknown, died 1374):
- {{subst:lifetime||1374|Milic, Jan}}
This template should be substituted.