Template:Age in years and days/days
From Iwe
{{#ifeq:{{{s}}}|on
|{{number table sorting/{{#iferror:{{#expr:+{{#expr:0*86400}}}}
|error
|Qyes/{{#expr:{{#expr:0*86400}}<0}}
}}
|{{#expr:0*86400}}|style={{#ifeq:{{{debug}}}|yes
|border:1px solid;display:inline;
|display:none
}}
|{{#expr:floor((ln(abs({{#expr:0*86400}}))/ln10)+1E-14)}}|prefix=
|off
}} }}{{#switch:{{{f}}}
|commas={{#ifexpr:)<0|−{{#expr:-0}}|0}}
|gaps=WP:SAFESUBST
|0
}}{{#switch:{{{u}}}
|abbr= d
|full= day{{#ifexpr:abs0!=1|s}}
}}{{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
|semi
|autoconfirmed=semi
|administrator
|full
|sysop=indef
|move=move
|#default=indef}}
|move={{#ifeq:
{{#switch:{{#ifeq:age in years and days/days/template|age in years and days/days/template|undefined|{{#ifeq:age in years and days/days|sandbox|sysop|undefined}}}}
|semi |autoconfirmed = autoconfirmed
|administrator |full |sysop = sysop
|undefined =
|#default = }}
|sysop|yes|no
}}
|create={{#if:
{{#switch:{{#ifeq:age in years and days/days/template|age in years and days/days/template|undefined|{{#ifeq:age in years and days/days|sandbox|sysop|undefined}}}}
|semi |autoconfirmed = autoconfirmed
|administrator |full |sysop = sysop
|undefined =
|#default = }}
|yes|no
}}
|template={{#if:
{{#switch:{{#ifeq:age in years and days/days/template|age in years and days/days/template|undefined|{{#ifeq:age in years and days/days|sandbox|sysop|undefined}}}}
|templateeditor |template = templateeditor
|administrator |full |sysop = sysop
|undefined =
|#default = }}
|yes|no
}}
|pc1 ={{#ifeq:
{{#switch:{{#ifeq:age in years and days/days/template|age in years and days/days/template|undefined|{{#ifeq:age in years and days/days|sandbox|sysop|undefined}}}}
|pc1 = autoconfirmed
|undefined = Template:PENDINGCHANGELEVEL
|#default = }}
|autoconfirmed
|yes|no
}}
|pc2 ={{#ifeq:
{{#switch:{{#ifeq:age in years and days/days/template|age in years and days/days/template|undefined|{{#ifeq:age in years and days/days|sandbox|sysop|undefined}}}}
|pc2 = review
|undefined = Template:PENDINGCHANGELEVEL
|#default = }}
|review
|yes|no
}}
|#default={{#if:
{{#switch:{{#ifeq:age in years and days/days/template|age in years and days/days/template|undefined|{{#ifeq:age in years and days/days|sandbox|sysop|undefined}}}}
|semi |autoconfirmed = autoconfirmed
|administrator |full |sysop = sysop
|undefined =
|#default = }}
|{{#ifeq:{{#switch:
|semi |autoconfirmed = autoconfirmed
|administrator |full |sysop = sysop
|#default = }}
|{{#switch:{{#ifeq:age in years and days/days/template|age in years and days/days/template|undefined|{{#ifeq:age in years and days/days|sandbox|sysop|undefined}}}}
|semi |autoconfirmed = autoconfirmed
|administrator |full |sysop = sysop
|undefined =
|#default = }}
|no|yes
}}
|no}}
}}|yes|{{#ifeq:yes|yes|
|
{{#ifeq:|yes||| {{{topimage}}}{{#if: | {{{topcaption}}} }} |
| {{{pretitle}}} |
| }}Message box meta-templates |
|---|
| {{{image}}}{{#if: | {{{caption}}} }} |
| {{{above}}} |
| {{{heading1}}} |
|
| {{{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=Comenius - To boost local and international tourism with OpenStreetMap - BoostOSM
{ class="center" - style="width:16%;vertical-align:bottom;" File:Merge.png } |small=Template:Navigation bar | #default =Template:Navigation bar }}
|
}}|}}{{#ifeq:{{#ifeq:template|template|{{#switch:{{#ifeq:-|-sysop|move|}}
|semi
|autoconfirmed={{#ifeq:|sysop|}}
|move=
|administrator
|full
|sysop
|#default=}}}}{{#ifeq:template|file|[[category:{{#switch:
|semi
|autoconfirmed=semi-protected
|administrator
|full
|sysop
|#default=protected}} images|age in years and days/days]]}}|no||{{#ifeq:Template|Template|{{#switch:{{#ifeq:-|-sysop|move|}}
|semi
|autoconfirmed={{#ifeq:|sysop|}}
|move=
|administrator
|full
|sysop
|#default=}}}}{{#ifeq:Template|File|[[Category:{{#switch:
|semi
|autoconfirmed=Semi-protected
|administrator
|full
|sysop
|#default=Protected}} images|Age in years and days/days]]}}}}
