Diferència entre les revisions de "Plantilla:Any"
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. | [[ | + | | 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>'''[[ | + | | align="right" | <small>'''[[Sigle]]s:'''</small> |
− | | align="center" | [[{{#ifeq: {{{2}}} | a. C. | | + | | 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 | + | | 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> |