Utente:Il Commendatore/da2: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
Contenuto aggiunto Contenuto cancellato
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 21: Riga 21:
}}|{{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 >= {{{day|31}}} | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{day|31}}} }} | {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 5 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 7 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 10 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 12 | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{day|31}}} + 30 }} | {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 1 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 2 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 4 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 6 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 8 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 9 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 11 | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{day|31}}} + 31 }} | {{#ifexpr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0 mod 4 = 0 | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{day|31}}} + 29 }} | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{day|31}}} + 28 }} }} }} }} }}}}'''.
}}|{{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 >= {{{day|31}}} | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{day|31}}} }} | {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 5 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 7 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 10 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 12 | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{day|31}}} + 30 }} | {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 1 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 2 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 4 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 6 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 8 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 9 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 11 | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{day|31}}} + 31 }} | {{#ifexpr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0 mod 4 = 0 | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{day|31}}} + 29 }} | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{day|31}}} + 28 }} }} }} }} }}}}'''.
|}
|}
<noinclude>
<noinclude>Questo template mostra '''la vostra età anagrafica {{censura|(reale o fittizia)}}''' in anni, mesi e giorni. È strutturato apposta per essere inserito, ad esempio, nel [[Utente:Il Commendatore/NonBabel|template NonBabel]] sempre di mia creazione, ma si può piazzare ovunque nella propria pagina utente, anche come semplice banner.

Questo template mostra '''la vostra età anagrafica {{censura|(reale o fittizia)}}''' in anni, mesi e giorni. È strutturato apposta per essere inserito, ad esempio, nel [[Utente:Il Commendatore/NonBabel|template NonBabel]] sempre di mia creazione, ma si può piazzare ovunque nella propria pagina utente, anche come semplice banner.
==Istruzioni==
==Istruzioni==
'''Non dovete copiare in nessun modo il codice, altrimenti il template non funzionerà!'''
'''Non dovete copiare in nessun modo il codice, altrimenti il template non funzionerà!'''
Riga 41: Riga 43:
*[[Utente:Il Commendatore/da]]
*[[Utente:Il Commendatore/da]]
*[[Utente:Il Commendatore/NonBabel]]
*[[Utente:Il Commendatore/NonBabel]]

[[Categoria:Template decorativi per utenti|Da2]]
[[Categoria:Template decorativi per utenti|Da2]]
</noinclude>

Versione delle 00:38, 28 set 2009

Questo utente ha
18 anni, 4 mesi e 26 giorni.


Questo template mostra la vostra età anagrafica (reale o fittizia) in anni, mesi e giorni. È strutturato apposta per essere inserito, ad esempio, nel template NonBabel sempre di mia creazione, ma si può piazzare ovunque nella propria pagina utente, anche come semplice banner.

Istruzioni

Non dovete copiare in nessun modo il codice, altrimenti il template non funzionerà!

Quello che dovete inserire nella vostra pagina utente o nel vostro NonBabel, invece, è questo:

{{Utente:Il Commendatore/da2|year=|month=|day=}}

Descrzione dei parametri

  • year=: inserire dopo il segno uguale l'anno di nascita;
  • month=: inserire dopo il segno uguale il mese di nascita in formato numerico;
  • day=: inserire dopo il segno uguale il giorno di nascita.

Esempio

Ad impostazione ultimata, il codice deve apparire come questo:

{{Utente:Il Commendatore/da2|year=1988|month=7|day=8}}

Salvate la pagina e, se avete fatto tutto bene, dovrebbe apparire il template nella posizione da voi prescelta:

Questo utente ha
35 anni, 10 mesi e 19 giorni.

Note tecniche

Il conteggio si aggiorna automaticamente, tuttavia può non avvenire allo scadere esatto della mezzanotte, dato che ogni pagina rimane per un po' di tempo nella cache dei server di Wikia.

Template Correlati