Difference between revisions of "Template:Age in fortnights"

From blackwiki
Jump to navigation Jump to search
blackwiki>Buaidh
(New userbox template.)
 
m (2 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{userbox
+
<includeonly>{{#expr:floor({{age in days|{{{1|2000}}}|{{{2|1}}}|{{{3|1}}}}}/14)}}</includeonly><noinclude>{{documentation}}</noinclude>
|id={{{id|{{nobreak|&thinsp;{{#expr:floor({{age in days|{{{1|2000}}}|{{{2|1}}}|{{{3|1}}}}}/14)}}&thinsp;}}}}}
 
|id-a={{{id-a|center}}}
 
|id-c={{{id-c|#000055}}}
 
|id-fc={{{id-fc|#FFFFBB}}}
 
|id-p={{{id-p|0}}}
 
|id-s={{{id-s|14}}}
 
|id-w={{{id-w|46}}}
 
|info={{{info|This user is {{#expr:floor({{age in days|{{{1|2000}}}|{{{2|1}}}|{{{3|1}}}}}/14)}} fortnights old.}}}
 
|info-a={{{info-a|center}}}
 
|info-c={{{info-c|#FFFFBB}}}
 
|info-fc={{{info-fc|#000055}}}
 
|info-s={{{info-s|10}}}
 
|nocat={{{nocat|false}}}
 
}}</includeonly><noinclude>{{documentation}}</noinclude>
 

Latest revision as of 12:35, 18 October 2020

50px Template documentation[view] [edit] [history] [purge]

This template calculates an age or expired time in full fortnights from a birth or starting date.

Use

The full syntax of this template is:

{{Age in hundreds|year|month|day}}

where:

  • year is the required user birth year number.
  • month is the required user birth month number.
  • day is the required user birth day number.

See also