Diferència entre les revisions de "Plantilla:Any"

De L'Enciclopèdia, la wikipedia en valencià
Anar a la navegació Anar a la busca
(Pàgina nova, en el contingut: «<includeonly>{| class="infobox" |- style="background-color:#f3f3f3" | align="right" | <small>'''Anys:'''</small> | align="center" | {{#ifeq: {{{2}}} | a. C. | [[{...».)
 
m
 
(No es mostren 9 edicions intermiges d'4 usuaris)
Llínea 2: Llínea 2:
 
|- style="background-color:#f3f3f3"
 
|- style="background-color:#f3f3f3"
 
| align="right" | <small>'''Anys:'''</small>
 
| align="right" | <small>'''Anys:'''</small>
| align="center" | {{#ifeq: {{{2}}} | a. C. | [[{{#expr: {{{1|{{PAGENAME}}}}} + 3 }} a. C.]] | [[{{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} | -2 | 3 a. C. | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} | -1 | 2 a. C. | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} | 0 | 1 a. C. | {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} }} }} }}]] }} {{#ifeq: {{{2}}} | a. C. | [[{{#expr: {{{1|{{PAGENAME}}}}} + 2 }} a. C.]] | [[{{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 2 }} | -1 | 2 a. C. | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 2 }} | 0 | 1 a. C. | {{#expr: {{{1|{{PAGENAME}}}}} - 2 }} }} }}]] }} {{#ifeq: {{{2}}} | a. C. | [[{{#expr: {{{1|{{PAGENAME}}}}} + 1 }} a. C.]] | [[{{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 1 }} | 0 | 1 a. C. | {{#expr: {{{1|{{PAGENAME}}}}} - 1 }} }}]] }} – '''[[{{{1|{{PAGENAME}}}}} {{{2|}}}]]''' – {{#ifeq: {{{2}}} | a. C. | [[{{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 1 }} a. C. | 0 a. C. | 1 | {{#expr: {{{1|{{PAGENAME}}}}} - 1 }} a. C. }}]] | [[{{#expr: {{{1|{{PAGENAME}}}}} + 1 }}]] }} {{#ifeq: {{{2}}} | a. C. | [[{{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 2 }} a. C. | -1 a. C. | 2 | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 2 }} a. C. | 0 a. C. | 1 | {{#expr: {{{1|{{PAGENAME}}}}} - 2 }} a. C. }} }}]] | [[{{#expr: {{{1|{{PAGENAME}}}}} + 2 }}]] }} {{#ifeq: {{{2}}} | a. C. | [[{{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} a. C. | -2 a. C. | 3 | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} a. C. | -1 a. C. | 2 | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} a. C. | 0 a. C. | 1 | {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} a. C. }} }} }}]] | [[{{#expr: {{{1|{{PAGENAME}}}}} + 3 }}]] }}  
+
| align="center" | {{#ifeq: {{{2}}} | a. C. | [[{{#expr: {{{1|{{PAGENAME}}}}} + 3 }} a. C.]] | [[{{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} | -2 | 3 a. C. | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} | -1 | 2 a. C. | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} | 0 | 1 a. C. | {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} }} }} }}]] }} {{#ifeq: {{{2}}} | a. C. | [[{{#expr: {{{1|{{PAGENAME}}}}} + 2 }} a. C.]] | [[{{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 2 }} | -1 | 2 a. C. | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 2 }} | 0 | 1 a. C. | {{#expr: {{{1|{{PAGENAME}}}}} - 2 }} }} }}]] }} {{#ifeq: {{{2}}} | a. C. | [[{{#expr: {{{1|{{PAGENAME}}}}} + 1 }} a. C.]] | [[{{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 1 }} | 0 | 1 a. C. | {{#expr: {{{1|{{PAGENAME}}}}} - 1 }} }}]] }} – '''[[{{{1|{{PAGENAME}}}}} {{{2|}}}]] ''' – {{#ifeq: {{{2}}} | a. C. | [[{{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 1 }} a. C. | 0 a. C. | 1 | {{#expr: {{{1|{{PAGENAME}}}}} - 1 }} a. C. }}]] | [[{{#expr: {{{1|{{PAGENAME}}}}} + 1 }}]] }} {{#ifeq: {{{2}}} | a. C. | [[{{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 2 }} a. C. | -1 a. C. | 2 | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 2 }} a. C. | 0 a. C. | 1 | {{#expr: {{{1|{{PAGENAME}}}}} - 2 }} a. C. }} }}]] | [[{{#expr: {{{1|{{PAGENAME}}}}} + 2 }}]] }} {{#ifeq: {{{2}}} | a. C. | [[{{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} a. C. | -2 a. C. | 3 | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} a. C. | -1 a. C. | 2 | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} a. C. | 0 a. C. | 1 | {{#expr: {{{1|{{PAGENAME}}}}} - 3 }} a. C. }} }} }}]] | [[{{#expr: {{{1|{{PAGENAME}}}}} + 3 }}]] }}  
 
|-
 
|-
| align="right" | <small>'''[[Décades]]:'''</small>
+
| align="right" | <small>'''[[Década|Décades]]:'''</small>
| align="center" | <small>{{#ifeq: {{{2}}} | a. C. | [[Anys {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) + 30 }} a. C.]] | [[Anys {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} | -30 | 20 a. C. | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} | -20 | 10 a. C. | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} | -10 | 0 a. C. | {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} }} }} }}]] }} {{#ifeq: {{{2}}} | a. C. | [[Años {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) + 20 }} a. C.]] | [[Años {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 20 }} | -20 | 10 a. C. | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 20 }} | -10 | 0 a. C. | {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 20 }} }} }}]] }} {{#ifeq: {{{2}}} | a. C. | [[Años {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) + 10 }} a. C.]] | [[Años {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} – ({{{1|{{PAGENAME}}}}} mod 10) - 10 }} | -10 | 0 a. C. | {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 10 }} }}]] }} – '''[[Años {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) }} {{{2|}}}]]''' – {{#ifeq: {{{2}}} | a. C. | [[Años {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 10 }} a. C. | -10 a. C. | 0 | {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 10 }} a. C. }}]] | [[Años {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) + 10 }}]] }} {{#ifeq: {{{2}}} | a. C. | [[Años {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 20 }} a. C. | -20 a. C. | 10 | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 20 }} a. C. | -10 a. C. | 0 | {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 20 }} a. C. }} }}]] | [[Anys {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) + 20 }}]] }} {{#ifeq: {{{2}}} | a. C. | [[Anys {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} a. C. | -30 a. C. | 20 | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} a. C. | -20 a. C. | 10 | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} a. C. | -10 a. C. | 0 | {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} a. C. }} }} }}]] | [[Años {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) + 30 }}]] }}</small>
+
| align="center" | <small>{{#ifeq: {{{2}}} | a. C. | [[Anys {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) + 30 }} a. C.]] | [[Anys {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} | -30 | 20 a. C. | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} | -20 | 10 a. C. | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} | -10 | 0 a. C. | {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} }} }} }}]] }} {{#ifeq: {{{2}}} | a. C. | [[Anys {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) + 20 }} a. C.]] | [[Anys {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 20 }} | -20 | 10 a. C. | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 20 }} | -10 | 0 a. C. | {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 20 }} }} }}]] }} {{#ifeq: {{{2}}} | a. C. | [[Anys {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) + 10 }} a. C.]] | [[Anys {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} – ({{{1|{{PAGENAME}}}}} mod 10) - 10 }} | -10 | 0 a. C. | {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 10 }} }}]] }} – '''[[Anys {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) }} {{{2|}}}]] ''' – {{#ifeq: {{{2}}} | a. C. | [[Anys {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 10 }} a. C. | -10 a. C. | 0 | {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 10 }} a. C. }}]] | [[Anys {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) + 10 }}]] }} {{#ifeq: {{{2}}} | a. C. | [[Anys {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 20 }} a. C. | -20 a. C. | 10 | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 20 }} a. C. | -10 a. C. | 0 | {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 20 }} a. C. }} }}]] | [[Anys {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) + 20 }}]] }} {{#ifeq: {{{2}}} | a. C. | [[Anys {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} a. C. | -30 a. C. | 20 | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} a. C. | -20 a. C. | 10 | {{#ifeq: {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} a. C. | -10 a. C. | 0 | {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) - 30 }} a. C. }} }} }}]] | [[Anys {{#expr: {{{1|{{PAGENAME}}}}} - ({{{1|{{PAGENAME}}}}} mod 10) + 30 }}]] }}</small>
 
|- style="background-color:#f3f3f3"
 
|- style="background-color:#f3f3f3"
| align="right" | <small>'''[[Segle]]s:'''</small>
+
| align="right" | <small>'''[[Sigle]]s:'''</small>
| align="center" | [[{{#ifeq: {{{2}}} | a. C. | Segle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 + 2 }}}} a. C. | {{#ifeq: Segle {{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 }} | Seglo 0 | Segle I a. C. | Segle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 }} }} }}}}]] – '''[[Segle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 + 1 }}}} {{{2|}}}]]''' – [[{{#ifeq: {{{2}}} | a. C. | {{#ifeq: Segle {{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 }} a. C. | Segle 0 a. C. | Segle I | Segle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 }}}} a. C. }} | Segle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 + 2 }}}} }}]]
+
| align="center" | [[{{#ifeq: {{{2}}} | a. C. | Sigle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 + 2 }}}} a. C. | {{#ifeq: Sigle {{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 }} | Sigle 0 | Sigle I a. C. | Sigle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 }} }} }}}}]] – '''[[Sigle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 + 1 }}}} {{{2|}}}]] ''' – [[{{#ifeq: {{{2}}} | a. C. | {{#ifeq: Sigle {{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 }} a. C. | Sigle 0 a. C. | Sigle I | Sigle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 }}}} a. C. }} | Sigle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 + 2 }}}} }}]]
 
|-  
 
|-  
 
|
 
|
| align="center" | '''[[Anex:Taula anual segle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 + 1}}}} {{{2|}}}|Taula anual segle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 + 1}}}} {{{2|}}}]]'''
+
| align="center" | '''[[ Anex:Taula anual sigle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 + 1}}}} {{{2|}}}|Taula anual sigle {{Romà|{{#expr: (({{{1|{{PAGENAME}}}}}-1) - (({{{1|{{PAGENAME}}}}}-1) mod 100)) / 100 + 1}}}} {{{2|}}}]] '''
 
|}
 
|}
 
{{#if:{{{2|}}}||{{TemesPerAny|{{{1|{{PAGENAME}}}}}}}}}
 
{{#if:{{{2|}}}||{{TemesPerAny|{{{1|{{PAGENAME}}}}}}}}}
 
{{#if:{{{2|}}}||{{#ifexpr:{{{1|{{PAGENAME}}}}}>1599|{{calendaris del mon|{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}}}}}}}</includeonly>
 
{{#if:{{{2|}}}||{{#ifexpr:{{{1|{{PAGENAME}}}}}>1599|{{calendaris del mon|{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}}}}}}}</includeonly>
 
<noinclude>{{documentació de plantilla}}</noinclude>
 
<noinclude>{{documentació de plantilla}}</noinclude>

Última revisió del 22:06 19 abr 2016

[crear]Template-info.png Documentació de plantilla