User:2257/Test: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{safesubst:#expr:({{safesubst:#time:Y|{{{2|{{safesubst:CURRENTTIMESTAMP}}}}}}})-({{safesubst:#time:Y|{{{1}}}}})-(({{safesubst:#time:m|{{{2|{{safesubst:CURRENTTIMESTAMP}}}}}}})<({{safesubst:#time:m|{{{1}}}}})or({{safesubst:#time:m|{{{2|{{safesubst:CURRENTTIMESTAMP}}}}}}})=({{safesubst:#time:m|{{{1}}}}})and({{safesubst:#time:d|{{{2|{{safesubst:CURRENTTIMESTAMP}}}}}}})<({{safesubst:#time:d|{{{1}}}}}))}}</includeonly><noinclude>
{{#invoke:Sandbox|main
This template returns the number of full years between two specified dates. If the second parameter is not included, it will return the number of full years between a specified date and today's date.
|l:ja
|w:カロン
|r:Karon
|m:Derived from 「からから」 ''karakara,'' meaning "dried-up", or alternately, the sound of clattering. {{wp|Charon}} has the same pronunciation, but "Karon" is the official romanization.


;Syntax<nowiki>:</nowiki>
|l:es
:<nowiki>{{age|date1|date2}}</nowiki>  or
|w:Huesitos
:<nowiki>{{age|date1}}</nowiki>
|m:Diminutive of ''hueso'' (bone)
|w:Huesos Secos
|c:once in ''The Adventures of Super Mario Bros. 3''
|m:Dry Bones (only called this once, and was also referred to as "Huesitos" in the same episode)


; Examples<nowiki>:</nowiki>
|l:fr
: <nowiki>{{age|July 7, 1989|July 14, 2003}}</nowiki> returns "{{age|July 7, 1989|July 14, 2003}}"
|w:Ossec
: <nowiki>{{age|July 7, 1989}}</nowiki> returns "{{age|July 7, 1989}}"
|c:early games
|m:Portmanteau of ''os'' (bone) and ''sec'' (dry)
|w:Skelex
|c:NOA
|m:Pun on "skeleton"
|w:Skelerex
|c:NOE since ''Mario & Luigi: Superstar Saga''
|m:Pun on "skeleton"


: The full range of possible date formats is based on php's strtotime() function and is explained [https://www.php.net/manual/en/datetime.formats.php here], but for simplicity it's usually best to just stick to the format above.
|l:nl
:: <nowiki>{{age|July 7 1989}}</nowiki> returns "{{age|July 7 1989}}"
|w:Dry Bones
:: <nowiki>{{age|7 July 1989}}</nowiki> returns "{{age|7 July 1989}}"
:: <nowiki>{{age|1989-7-23}}</nowiki> returns "{{age|1989-7-23}}"


: When using this template to calculate a person's age at death or a person's age on a specified date (rather than the person's current age), please substitute it into the page.
|l:de
:: Example: <nowiki>{{subst:age|July 7, 1989|July 14, 2003}}</nowiki>
|w:Knochentrocken
|m:"Dry as a Bone"
|w:Skelett-Koopa
|m:Skeleton Koopa


; Note<nowiki>:</nowiki>
|l:it
:This template does not check for incorrect input:
|w:Tartosso
:: <nowiki>{{age|1980-7-14|1993-6-233}}</nowiki> returns "{{age|1980-7-14|1993-6-233}}" (surplus days do not count as extra months)
|m:Portmanteau of ''tartaruga'' (turtle) and ''osso'' (bone)
:: <nowiki>{{age|1980-7-14|1993-88-14}}</nowiki> returns "{{age|1980-7-14|1993-88-14}}" (surplus months do not count as extra years)
|w:Ossa Secche
|c:''The Adventures of Super Mario Bros. 3''
|m:Dry Bones


[[Category:Formatting templates]]</noinclude>
|l:pt
|w:Quebra-ossos
|c:NOA
|m:Bone Breaker
|w:Caveirinha
|c:NOE
|m:Diminutive of ''caveira'' (skull)
 
|l:ru
|w:Купа-скелет
|r:Kupa-skelet
|m:Skeleton Koopa
 
|l:ko
|w:와르르
|r:Wareureu
|m:The sound of many light, solid objects collapsing
 
|l:zh-Hans
|w:枯骨怪<ref>无敌阿尔宙斯 (August 28, 2013). [http://tieba.baidu.com/p/2560204606 神游 超级马力欧世界 敌人官译]. ''Baidu Tieba''. Retrieved February 2, 2017.</ref>
|r:Kūgǔ Guài
|m:Dry Bone Monster
|w:碎碎龟
|c:since ''Mario Tennis Aces''
|r:Suì Suì Guī
|m:Fragmented Turtle
 
|l:zh-Hant
|w:碎碎龜
|r:Suì Suì Guī
|m:Fragmented Turtle
}}

Revision as of 00:10, February 10, 2021

Script error: The function "main" does not exist.