"Pang-bô͘:Birth year and age" pán-pún chi-kan bô-kāng--ê tē-hng

無編輯摘要
(<includeonly>{{#if:{{{2|}}} |{{MONTHNAME|{{{2}}}}}  }}{{{1}}} nî ({{#if:{{{2|}}} |{{#ifexpr:{{CURRENTMONTH}}<{{{2}}} |{{#expr:{{CURRENTYEAR}}-{{{1}}}-1}}… ê ia̍h í-keng kiàn-li̍p)
 
無編輯摘要
 
<includeonly>{{#if:{{{21|}}}|<!--
|-->{{MONTHNAME|{1}}} nî {{#if:{{{2|}}}}}&nbsp;
}} |{{MONTHNAME|{1{{2}}}}}}} ({{#if:{{{2|}}}
|{{#ifexpr:{{CURRENTMONTH}}<{{{2}}}
|{{#expr:{{{death-year|{{CURRENTYEAR}}}}}-{{{1}}}-1}}
|{{#ifexpr:{{CURRENTMONTH}}>{{{2}}}
|{{#expr:{{{death-year|{{CURRENTYEAR}}}}}-{{{1}}}}}
|{{#expr:{{{death-year|{{CURRENTYEAR}}}}}-{{{1}}}-1}}&ndash;{{#expr:{{{death-year|{{CURRENTYEAR}}}}}-{{{1}}}}}
}}
}}
|{{#expr:{{{death-year|{{CURRENTYEAR}}}}}-{{{1}}}-1}}&ndash;{{#expr:{{{death-year|{{CURRENTYEAR}}}}}-{{{1}}}}}
}}&nbsp; hòe)<!-- Error checks:錯誤檢查: -->{{#ifexpr: ( {{{1}}} > {{{death-year|{{CURRENTYEAR}}}}} ) OR ( {{{death-year|{{CURRENTYEAR}}}}} - {{{1}}} > 150 )
| &#32;{{error|無效年份}}
| &#32;{{error|invalid year}}{{main other|[[Category:Pages using age template with invalid date]]}}
}}{{#if:{{{2|}}}|{{#ifexpr: ( {{{2}}} > 12 ) OR ( {{{2}}} < 1 )
| &#32;{{error|無效月份}}}}
| &#32;{{error|invalid month}}{{main other|[[Category:Pages using age template with invalid date]]}}|}}
}}<!--
}}{{#invoke:Check for unknown parameters|check|ignoreblank=y|preview=Page using [[Template:Birth year and age]] with unknown parameter "_VALUE_"|unknown={{main other|[[Category:Pages using birth year and age template with unknown parameters|_VALUE_{{PAGENAME}}]]}}|1|2}}{{#ifeq: {{NAMESPACENUMBER}} | 0
-->|{{error|未指定年份}}}}</includeonly><noinclude>
| {{#if: {{#invoke:wd|label|raw}}
{{documentation}}
| {{#if: {{#invoke:String|match|{{#invoke:wd|properties|raw|P31}},|Q5,|1|1|true|}}
| {{#if: {{#invoke:wd|properties|raw|P569}}
|
| [[Category:Date of birth not in Wikidata]]
}}
}}
| [[Category:Articles without Wikidata item]]
}}
}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
15,230

次編輯