Difference between revisions of "Template:Countdown for events"

From NeuroMat
Jump to: navigation, search
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:-{{anos em dias|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}}}
+
|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:{{anos em dias|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}<0}}
+
|#default = {{#switch:{{#expr:{{years in days|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}<0}}
|1 = Faltam '''<span style="color:red">{{#expr:-{{anos em dias|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}}}</span>''' dias para {{lc:{{{artigo_evento|o}}}}}{{#ifeq:{{{plural|}}}|y|s|}} {{{event|{{{evento|evento}}}}}}.
+
|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 &#8635;}}}}}}}}</sup>
 
}} <sup>{{Purgar|{{{update|{{{atualizar|atualizar &#8635;}}}}}}}}</sup>
| #default = {{#switch:{{#expr:-{{anos em dias|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}}}
+
| #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:{{anos em dias|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}<0}}
+
|#default = {{#switch:{{#expr:{{years in days|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}<0}}
|1 = '''<span style="color:red">{{#expr:-{{anos em dias|{{{year|{{{ano|{{CURRENTYEAR}}}}}}}}|{{{month|{{{mês|{{CURRENTMONTH1}}}}}}}}|{{{day|{{{dia|{{CURRENTDAY}}}}}}}}}}}}</span>''' days to the {{{event|{{{evento|event}}}}}}.
+
|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 &#8635;}}}}}}}}</sup>
 
}} <sup>{{Purgar|{{{update|{{{atualizar|update &#8635;}}}}}}}}</sup>
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 13:38, 28 April 2022