Diferència entre les revisions de "Plantilla:Década"

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" width="500px" |+ <big>'''Años {{{1}}} {{{2|}}}'''</big> |- style="background-color:#f3f3f3" | align="right" | <small>'''[[Década...».)
 
Llínea 14: Llínea 14:
 
|- style="background-color:#f3f3f3"
 
|- style="background-color:#f3f3f3"
 
| align="right" | <small>'''[[Segle]]s:'''</small>  
 
| align="right" | <small>'''[[Segle]]s:'''</small>  
| align="center" | {{#ifeq: {{#expr: {{{1}}} mod 100 }} | 0 | [[{{#ifeq: {{{2}}} | a. C. | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 3 }}}} &nbsp;a.&nbsp;C. | {{#ifeq: Segle {{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1 }} | Segle 0 | Segle I&nbsp;a.&nbsp;C. | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1}} }} }}}}]] | [[{{#ifeq: {{{2}}} | &nbsp;a.&nbsp;C. | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 2 }}}} &nbsp;a.&nbsp;C. | {{#ifeq: Siglo {{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 }} | Segle 0 | Segle I&nbsp;a.&nbsp;C. | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 }} }} }}}}]] }} - '''{{#ifeq: {{#expr: {{{1}}} mod 100 }} | 0 | [[Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 2 }}}} {{{2|}}}]] | [[Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1 }}}} {{{2|}}}]] }}''' - {{#ifeq: {{#expr: {{{1}}} mod 100 }} | 0 | [[{{#ifeq: {{{2}}} | a. C. | {{#ifeq: Segle {{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1 }} &nbsp;a.&nbsp;C. | Siglo 0&nbsp;a.&nbsp;C. | Segle I | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1 }}}} &nbsp;a.&nbsp;C. }} | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 3 }}}} }}]] | [[{{#ifeq: {{{2}}} | a. C. | {{#ifeq: Siglo {{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 }} &nbsp;a.&nbsp;C. | Siglo 0&nbsp;a.&nbsp;C. | Segle I | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 }}}} &nbsp;a.&nbsp;C. }} | Siglo {{Romano|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 2 }}}} }}]] }}
+
| align="center" | {{#ifeq: {{#expr: {{{1}}} mod 100 }} | 0 | [[{{#ifeq: {{{2}}} | a. C. | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 3 }}}} &nbsp;a.&nbsp;C. | {{#ifeq: Segle {{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1 }} | Segle 0 | Segle I&nbsp;a.&nbsp;C. | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1}} }} }}}}]] | [[{{#ifeq: {{{2}}} | &nbsp;a.&nbsp;C. | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 2 }}}} &nbsp;a.&nbsp;C. | {{#ifeq: Siglo {{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 }} | Segle 0 | Segle I&nbsp;a.&nbsp;C. | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 }} }} }}}}]] }} - '''{{#ifeq: {{#expr: {{{1}}} mod 100 }} | 0 | [[Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 2 }}}} {{{2|}}}]] | [[Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1 }}}} {{{2|}}}]] }}''' - {{#ifeq: {{#expr: {{{1}}} mod 100 }} | 0 | [[{{#ifeq: {{{2}}} | a. C. | {{#ifeq: Segle {{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1 }} &nbsp;a.&nbsp;C. | Siglo 0&nbsp;a.&nbsp;C. | Segle I | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1 }}}} &nbsp;a.&nbsp;C. }} | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 3 }}}} }}]] | [[{{#ifeq: {{{2}}} | a. C. | {{#ifeq: Segle {{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 }} &nbsp;a.&nbsp;C. | Segle 0&nbsp;a.&nbsp;C. | Segle I | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 }}}} &nbsp;a.&nbsp;C. }} | Segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 2 }}}} }}]] }}
 
|-  
 
|-  
 
| colspan="2" align="center" | '''{{#ifeq: {{#expr: {{{1}}} mod 100 }} | 0 | [[Anex:Taula anual segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 2}}}} {{{2|}}}{{!}}Taula anual segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 2}}}} {{{2|}}}]] | [[Anex:Taula anual segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1}}}} {{{2|}}}{{!}}Taula anual segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1}}}} {{{2|}}}]] }}'''
 
| colspan="2" align="center" | '''{{#ifeq: {{#expr: {{{1}}} mod 100 }} | 0 | [[Anex:Taula anual segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 2}}}} {{{2|}}}{{!}}Taula anual segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 2}}}} {{{2|}}}]] | [[Anex:Taula anual segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1}}}} {{{2|}}}{{!}}Taula anual segle {{Romà|{{#expr: (({{{1}}}-1) - (({{{1}}}-1) mod 100)) / 100 + 1}}}} {{{2|}}}]] }}'''
 
|}</includeonly><noinclude>{{documentación de plantilla}}</noinclude>
 
|}</includeonly><noinclude>{{documentación de plantilla}}</noinclude>

Revisió de 04:23 30 maig 2009

[ver] [editar]Template-info.png Documentació de plantilla


Per a colocar en artículs de décades, Anys 1990, Anys 250 a. C., Anys 0.

Admet un paràmetro necessari per als anys posteriors a Crist i dos paràmetros necessaris per als anys anteriors a Crist.

Si fiquem {{década|330}} en l'artícul Anys 330.

Años 330
Décadas: Anys 300 Anys 310 Anys 320 - Anys 330 - Anys 340 Anys 350 Anys 360
Anys:

330 331 332 333 334 335 336 337 338 339

Segles: Segle III - Segle IV - Segle V
Taula anual segle IV


Si fiquem {{década|270|adC}} en l'artícul Anys 270 a. C.

Años 270 a. C.
Décadas: Anys 300  a. C. Anys 290  a. C. Anys 260 - Anys 270 a. C. - Anys 260  a. C. Anys 250  a. C. Anys 240  a. C.
Anys:

279  a. C. 278  a. C. 277  a. C. 276  a. C. 275  a. C. 274  a. C. 273  a. C. 272  a. C. 271  a. C. 270  a. C.

Segles: Segle II - Segle III a. C. - Segle II  a. C.
Taula anual segle III a. C.