Diferència entre les revisions de "Plantilla:Any"
Anar a la navegació
Anar a la busca
m |
|||
(No es mostren 3 edicions intermiges d'2 usuaris) | |||
Llínea 7: | Llínea 7: | ||
| 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> | | 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> |