|
|
Linha 1: |
Linha 1: |
| <includeonly>{{ | | <includeonly><span style="display:none">(<span class="bday">{{{1|{{{year}}}}}}-{{padleft:{{MONTHNUMBER|{{{2|{{{month}}}}}}}}|2|0}}-{{padleft:{{{3|{{{day}}}}}}|2|0}}</span>)</span>{{#if:{{{df|}}} |
| #if:{{{1|}}}{{{2|}}}{{{3|}}}
| | |{{#expr:{{{3|{{{day}}}}}}}} {{MONTHNAME|{{{2|{{{month}}}}}}}} |
| |{{#if: {{{nowrap|}}} | <span style="white-space:nowrap">}}{{
| | |{{#expr:{{{3|{{{day|}}}}}}}} de {{MONTHNAME|{{{2|{{{month}}}}}}}}, |
| #if: {{{circa|{{{c|}}}}}} | {{Circa||nl}} }}{{
| | }} {{#expr:{{{1|{{{year|}}}}}}}}</includeonly> |
| #if: {{{1|}}}
| | <noinclude>Usage: </br> |
| |[[{{{1}}} de {{MONTHNAME|{{{2}}}|lang={{{lang|br}}}}}#Nascimentos|{{{1}}} de {{MONTHNAME|{{{2}}}|lang={{{lang|br}}}}}]] de [[{{ifnumber | {{{3|}}} | {{#expr:abs{{{3|}}}}} {{#ifexpr:{{{3|}}}<0|a.C.}} | {{{3|}}} }}]]
| | <nowiki>{{dni|1917|03|08}}</nowiki> </br> |
| |{{#if:{{{2|}}}
| | Produces: </br> |
| |[[{{MONTHNAME|{{{2}}}|lang={{{lang|br}}}}}#Nascimentos|{{MONTHNAME|{{{2}}}|lang={{{lang|br}}}}}]] de [[{{ifnumber | {{{3|}}} | {{#expr:abs{{{3|}}}}} {{#ifexpr:{{{3|}}}<0|a.C.}} | {{{3|}}} }}]]
| | {{dni|1917|03|08}} |
| |{{#if:{{{3|}}}
| | </noinclude> |
| |{{#ifeq: {{{3|}}} | 0
| |
| |[[Ano zero|0]]
| |
| |[[{{ifnumber | {{{3|}}} | {{#expr:abs{{{3|}}}}} {{#ifexpr:{{{3|}}}<0|a.C.}} | {{{3|}}} }}]]
| |
| }}
| |
| }}
| |
| }}
| |
| }}<!--
| |
| FIM DO IF 1
| |
| -->{{
| |
| #switch: {{lc:{{{4}}}}}
| |
| |sem idade|si= <!-- nada a exibir -->
| |
| |#default= ({{#expr:
| |
| {{CURRENTYEAR}}
| |
| - {{#if: {{{3|}}} | {{{3}}} | 0 }}
| |
| - ( {{CURRENTMONTH}} < {{#if: {{{2|}}} | {{{2}}} | 0 }}
| |
| or {{CURRENTMONTH}} = {{#if: {{{2|}}} | {{{2}}} | 0 }}
| |
| and {{CURRENTDAY}} < {{#if: {{{1|}}} | {{{1}}} | 0 }}
| |
| )
| |
| }} {{PLURAL:{{#expr:
| |
| {{CURRENTYEAR}}
| |
| - {{#if: {{{3|}}} | {{{3}}} | 0 }}
| |
| - ( {{CURRENTMONTH}} < {{#if: {{{2|}}} | {{{2}}} | 0 }}
| |
| or {{CURRENTMONTH}} = {{#if: {{{2|}}} | {{{2}}} | 0 }}
| |
| and {{CURRENTDAY}} < {{#if: {{{1|}}} | {{{1}}} | 0 }}
| |
| )
| |
| }}|ano|anos}}){{#ifeq:{{NAMESPACENUMBER}}|0|[[Categoria:Pessoas vivas]]}}
| |
| }}<!-- switch -->{{
| |
| #if: {{{nowrap|}}} | </span>}}{{
| |
| #if: {{{3|}}} | {{Categorizar-ano-século-milénio|Nascidos|{{{3|}}}}} }}
| |
| |<!-- Não faz nada se não há nenhum dos 3 parâmetros -->
| |
| }}</includeonly>
| |