« Modèle:Time ago/core » : différence entre les versions
Aller à la navigation
Aller à la recherche
(Page créée avec « {{#ifexpr:{{#time:U}}>={{#time:U|{{{time|}}}}} |{{#switch:{{max|{{{min_magnitude_num|-1}}}|{{{auto_magnitude_num|0}}}}} |0 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#tim... ») |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
{{#ifexpr:{{#time:U}}>={{#time:U|{{{time|}}}}} | {{#ifexpr:{{#time:U}}>={{#time:U|{{{time|}}}}} |{{{il y a|il y a}}} {{#switch:{{max|{{{min_magnitude_num|-1}}}|{{{auto_magnitude_num|0}}}}} |0 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}}))}}|seconde|secondes}} |1 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/60)}}|minute|minutes}} |2 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/3600)}}|heure|heures}} |3 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/86400)}}|jour|jours}} |4 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/604800)}}|semaine|semaines}} |5 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/2678400)}}|mois|mois}} |6 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/31557600)}}|année|années}}}} |toutes les {{#switch:{{max|{{{min_magnitude_num|-1}}}|{{{auto_magnitude_num|0}}}}} |0 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}}))}}|seconde|secondes}} |1 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/60)}}|minute|minutes}} |2 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/3600)}}|heure|heures}} |3 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/86400)}}|jour|jours}} |4 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/604800)}}|semaine|semaine}} |5 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/2678400)}}|mois|mois}} |6 = {{pluriel|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/31557600)}}|année|années}}}} }}<noinclude>{{Documentation}}</noinclude> | ||
|{{#switch:{{max|{{{min_magnitude_num|-1}}}|{{{auto_magnitude_num|0}}}}} | |||
|0 = {{ | |||
|{{#switch:{{max|{{{min_magnitude_num|-1}}}|{{{auto_magnitude_num|0}}}}} | |||
|0 = {{ | |||
}} | |||
}} |
Dernière version du 24 avril 2013 à 11:55
il y a 0 seconde
[create] Documentation icon Template documentation
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |