Difference between revisions of "Template:FormatLifespan"

From Wikispooks
Jump to navigation Jump to search
(created)
 
m (Text replacement - "String Templates" to "String manipulation templates")
 
Line 1: Line 1:
<noinclude>[[Category:String Templates]]This template creates a human-readable lifespan range from optional birth and death dates.<br/>
+
<noinclude>[[Category:String manipulation templates]]This template creates a human-readable lifespan range from optional birth and death dates.<br/>
 
Usage:<br/>
 
Usage:<br/>
 
<pre>{{FormatLifespan|Born on|Died on}}</pre>
 
<pre>{{FormatLifespan|Born on|Died on}}</pre>
 
</noinclude><includeonly>{{#if: {{{1|}}}{{{2|}}}|{{#if: {{{1|}}}|{{#if: {{{2|}}}|{{{1}}} - {{{2}}}|Born {{{1}}}}}|Died {{{2}}}}}}}</includeonly>
 
</noinclude><includeonly>{{#if: {{{1|}}}{{{2|}}}|{{#if: {{{1|}}}|{{#if: {{{2|}}}|{{{1}}} - {{{2}}}|Born {{{1}}}}}|Died {{{2}}}}}}}</includeonly>

Latest revision as of 09:24, 23 March 2015

This template creates a human-readable lifespan range from optional birth and death dates.
Usage:

{{FormatLifespan|Born on|Died on}}