Template:Age in years, months, weeks and days

From Iwe

{{#ifeq: age in years, months, weeks and days | doc

 | 

{{

   #ifeq: show | show
| {{#ifeq:|yes||}}{{#ifeq:|yes||{{#if: |}}}}{{#ifeq:|yes||{{#if: | }}}}{{#ifeq:|yes||{{#if: | }}}}{{#if:Message box
meta-templates |{{#ifeq:|yes|| }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if:
  • {{{{#if: |subst:}}ambox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}cmbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}imbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}mbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}ombox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}tmbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}asbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}dmbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}fmbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)|
}}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#if: | }}{{#ifeq:|yes||{{#switch: |none |off= |#default=}}
{{{outertitle}}}
{{{topimage}}}{{#if: |
{{{topcaption}}}
}}
{{{pretitle}}}
}}Message box
meta-templates
{{{image}}}{{#if: |
{{{caption}}}
}}
{{{above}}}
{{{heading1}}}
  • {{{{#if: |subst:}}ambox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}cmbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}imbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}mbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}ombox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}tmbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}asbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}dmbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
  • {{{{#if: |subst:}}fmbox{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} (t)
{{{heading2}}}
{{{content2}}}
{{{heading3}}}
{{{content3}}}
{{{heading4}}}
{{{heading5}}}
{{{content5}}}
{{{heading6}}}
{{{content6}}}
{{{heading7}}}
{{{content7}}}
{{{heading8}}}
{{{content8}}}
{{{heading9}}}
{{{content9}}}
{{{heading10}}}
{{{content10}}}
{{{heading11}}}
{{{content11}}}
{{{heading12}}}
{{{content12}}}
{{{heading13}}}
{{{content13}}}
{{{heading14}}}
{{{content14}}}
{{{heading15}}}
{{{content15}}}
{{{heading16}}}
{{{content16}}}
{{{heading17}}}
{{{content17}}}
{{{heading18}}}
{{{content18}}}
{{{heading19}}}
{{{content19}}}
{{{heading20}}}
{{{content20}}}
{{{heading21}}}
{{{content21}}}
{{{heading22}}}
{{{content22}}}
{{{heading23}}}
{{{content23}}}
{{{heading24}}}
{{{content24}}}
{{{heading25}}}
{{{content25}}}
{{{heading26}}}
{{{content26}}}
{{{heading27}}}
{{{content27}}}
{{{heading28}}}
{{{content28}}}
{{{heading29}}}
{{{content29}}}
{{{heading30}}}
{{{content30}}}
{{{heading31}}}
{{{content31}}}
{{{heading32}}}
{{{content32}}}
{{{heading33}}}
{{{content33}}}
{{{heading34}}}
{{{content34}}}
{{{heading35}}}
{{{content35}}}
{{{below}}}
{{#switch: mbox templates

|table={ class="wikitable" !Comenius OSM and Tourism !Sl: Life Long Learning Mapping Project !Ro: Life Long Learning Mapping Project !Pt:Life Long Learning Mapping Project !Tr: Life Long Learning Mapping Project !DE: Life Long Learning Mapping Project }

|line=

|small=Template:Navigation bar

| #default =Template:Navigation bar }}


}}
   }}{{
   #if: 
   | 
   | {{#ifexist:Template:Age in years, months, weeks and days|[[Category:{{
     #switch: Template
     | Template  = Template
     | User      = User
     | #default  = Wikipedia
   }} documentation pages]]|}}
 }}

| }}

This template returns the number of months, weeks and days that have elapsed between two dates.

[edit] Usage

Usage: {{Age in years, months, weeks and days |month1= |day1= |year1= |month2= |day2= | year2=}}

Personal tools