Difference between revisions of "Template:Countdown for events"
m (Carybe moved page Template:Contagem regressiva para eventos to Template:Countdown for events without leaving a redirect: translation) |
|||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{idioma|{{{lang|pt-br}}}}}} | <includeonly>{{#switch:{{{idioma|{{{lang|pt-br}}}}}} | ||
|pt | |pt | ||
− | |pt-br = {{#switch:{{#expr:-{{ | + | |pt-br = {{#switch:{{#expr:-{{years in days|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}}} |
|0 = <big><big><big>{{uc:{{{artigo_evento|o}}}}}{{#ifeq:{{{plural|}}}|y|s|}} {{{event|{{{evento|evento}}}}}} {{#ifeq:{{{plural|}}}|y|são|é}} '''<span style="color:red;">hoje</span>'''.</big></big></big> | |0 = <big><big><big>{{uc:{{{artigo_evento|o}}}}}{{#ifeq:{{{plural|}}}|y|s|}} {{{event|{{{evento|evento}}}}}} {{#ifeq:{{{plural|}}}|y|são|é}} '''<span style="color:red;">hoje</span>'''.</big></big></big> | ||
|1 = <big><big>{{uc:{{{artigo_evento|o}}}}}{{#ifeq:{{{plural|}}}|y|s|}} {{{event|{{{evento|evento}}}}}} {{#ifeq:{{{plural|}}}|y|são|é}} '''<span style="color:red;">amanhã</span>'''.</big></big> | |1 = <big><big>{{uc:{{{artigo_evento|o}}}}}{{#ifeq:{{{plural|}}}|y|s|}} {{{event|{{{evento|evento}}}}}} {{#ifeq:{{{plural|}}}|y|são|é}} '''<span style="color:red;">amanhã</span>'''.</big></big> | ||
|2 = <big>{{uc:{{{artigo_evento|o}}}}}{{#ifeq:{{{plural|}}}|y|s|}} {{{event|{{{evento|evento}}}}}} {{#ifeq:{{{plural|}}}|y|são|é}} '''<span style="color:red;">depois de amanhã</span>'''.</big> | |2 = <big>{{uc:{{{artigo_evento|o}}}}}{{#ifeq:{{{plural|}}}|y|s|}} {{{event|{{{evento|evento}}}}}} {{#ifeq:{{{plural|}}}|y|são|é}} '''<span style="color:red;">depois de amanhã</span>'''.</big> | ||
|7 = Falta '''<span style="color:red">1</span>''' semana para {{lc:{{{artigo_evento|o}}}}}{{#ifeq:{{{plural|}}}|y|s|}} {{{event|{{{evento|evento}}}}}}. | |7 = Falta '''<span style="color:red">1</span>''' semana para {{lc:{{{artigo_evento|o}}}}}{{#ifeq:{{{plural|}}}|y|s|}} {{{event|{{{evento|evento}}}}}}. | ||
− | |#default = {{#switch:{{#expr:{{ | + | |#default = {{#switch:{{#expr:{{years in days|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}<0}} |
− | |1 = Faltam '''<span style="color:red">{{#expr:-{{ | + | |1 = Faltam '''<span style="color:red">{{#expr:-{{years in days|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}}}</span>''' dias para {{lc:{{{artigo_evento|o}}}}}{{#ifeq:{{{plural|}}}|y|s|}} {{{event|{{{evento|evento}}}}}}. |
|0 = {{{closing sentence|{{{frase de encerramento|{{uc:{{{artigo_evento|o}}}}}{{#ifeq:{{{plural|}}}|y|s|}} {{{event|{{{evento|evento}}}}}} {{#ifeq:{{{plural|}}}|y|foram finalizad{{lc:{{{artigo_evento|o}}}}}s|foi finalizado}}}}}}}}. | |0 = {{{closing sentence|{{{frase de encerramento|{{uc:{{{artigo_evento|o}}}}}{{#ifeq:{{{plural|}}}|y|s|}} {{{event|{{{evento|evento}}}}}} {{#ifeq:{{{plural|}}}|y|foram finalizad{{lc:{{{artigo_evento|o}}}}}s|foi finalizado}}}}}}}}. | ||
}} | }} | ||
}} <sup>{{Purgar|{{{update|{{{atualizar|atualizar ↻}}}}}}}}</sup> | }} <sup>{{Purgar|{{{update|{{{atualizar|atualizar ↻}}}}}}}}</sup> | ||
− | | #default = {{#switch:{{#expr:-{{ | + | | #default = {{#switch:{{#expr:-{{years in days|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}}} |
|0 = <big><big><big>The {{{event|{{{evento|event}}}}}} {{#ifeq:{{{plural|}}}|y|are|is}} '''<span style="color:red;">today</span>'''.</big></big></big> | |0 = <big><big><big>The {{{event|{{{evento|event}}}}}} {{#ifeq:{{{plural|}}}|y|are|is}} '''<span style="color:red;">today</span>'''.</big></big></big> | ||
|1 = <big><big>The {{{event|{{{evento|evento}}}}}} {{#ifeq:{{{plural|}}}|y|are|is}} '''<span style="color:red;">tomorrow</span>'''.</big></big> | |1 = <big><big>The {{{event|{{{evento|evento}}}}}} {{#ifeq:{{{plural|}}}|y|are|is}} '''<span style="color:red;">tomorrow</span>'''.</big></big> | ||
|7 = '''<span style="color:red">1</span>''' week to the {{{event|{{{evento|event}}}}}}. | |7 = '''<span style="color:red">1</span>''' week to the {{{event|{{{evento|event}}}}}}. | ||
− | |#default = {{#switch:{{#expr:{{ | + | |#default = {{#switch:{{#expr:{{years in days|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}<0}} |
− | |1 = '''<span style="color:red">{{#expr:-{{ | + | |1 = '''<span style="color:red">{{#expr:-{{years in days|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}}}</span>''' days to the {{{event|{{{evento|event}}}}}}. |
|0 = {{{closing sentence|{{{frase de encerramento|The {{{event|{{{evento|event}}}}}} {{#ifeq:{{{plural|}}}|y|have|has}} ended}}}}}}. | |0 = {{{closing sentence|{{{frase de encerramento|The {{{event|{{{evento|event}}}}}} {{#ifeq:{{{plural|}}}|y|have|has}} ended}}}}}}. | ||
}} | }} | ||
}} <sup>{{Purgar|{{{update|{{{atualizar|update ↻}}}}}}}}</sup> | }} <sup>{{Purgar|{{{update|{{{atualizar|update ↻}}}}}}}}</sup> | ||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> |