Difference between revisions of "Template:Lifetime/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jacklee
(→‎Usage: Updated usage notes)
imported>RockMFR
(wtf do not substitute this - it generates all kinds of shit)
Line 3: Line 3:
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
{{subst:lifetime|birth_year|death_year|lastname, firstname(s)}}
+
{{lifetime|birth_year|death_year|lastname, firstname(s)}}
 
</pre>
 
</pre>
  
 
==Examples==
 
==Examples==
 
*[[Jean Baptiste Audebert]] (born in [[1759]], died in the year [[1800]]):
 
*[[Jean Baptiste Audebert]] (born in [[1759]], died in the year [[1800]]):
::<nowiki>{{subst:lifetime|1759|1800|Audebert, Jean Baptiste}}</nowiki>
+
::<nowiki>{{lifetime|1759|1800|Audebert, Jean Baptiste}}</nowiki>
  
 
*[[Clément Chartier]] (born [[1946]], still living):
 
*[[Clément Chartier]] (born [[1946]], still living):
::<nowiki>{{subst:lifetime|1946||Chartier, Clement}}</nowiki>
+
::<nowiki>{{lifetime|1946||Chartier, Clement}}</nowiki>
  
 
*[[Jon Glover]] (birth year unknown, still living):
 
*[[Jon Glover]] (birth year unknown, still living):
::<nowiki>{{subst:lifetime|||Glover, Jon}}</nowiki>
+
::<nowiki>{{lifetime|||Glover, Jon}}</nowiki>
  
 
*[[Jan Milic]] (birth year unknown, died 1374):
 
*[[Jan Milic]] (birth year unknown, died 1374):
::<nowiki>{{subst:lifetime||1374|Milic, Jan}}</nowiki>
+
::<nowiki>{{lifetime||1374|Milic, Jan}}</nowiki>
  
This template should be [[Wikipedia:Template substitution|substituted]].
+
DO NOT SUBSTITUTE THIS TEMPLATE!
  
 
<includeonly><!--
 
<includeonly><!--

Revision as of 16:16, 17 March 2008

Usage

{{lifetime|birth_year|death_year|lastname, firstname(s)}}

Examples

{{lifetime|1759|1800|Audebert, Jean Baptiste}}
{{lifetime|1946||Chartier, Clement}}
{{lifetime|||Glover, Jon}}
{{lifetime||1374|Milic, Jan}}

DO NOT SUBSTITUTE THIS TEMPLATE!