Domaines
Communes
Quartiers de Brest
Espaces de noms

Variantes
Actions
De Wiki-Brest

Modèle:Precision1 : Différence entre versions

m (1 version : test mise a jour modèles pages communes)
 
(Une révision intermédiaire par un autre utilisateur non affichée)
Ligne 1 : Ligne 1 :
<includeonly>{{#expr:{{#ifeq:{{{1}}}|0|0|{{#ifexpr:{{{1}}} round 0={{{1}}}|0|{{#ifexpr:{{{1}}} round 1={{{1}}}|1|{{#ifexpr:{{{1}}} round 2={{{1}}}|2|{{#ifexpr:{{{1}}} round 3={{{1}}}|3|{{#ifexpr:{{{1}}} round 4={{{1}}}|4|{{#ifexpr:{{{1}}} round 5={{{1}}}|5|6}}}}}}}}}}}}}}+{{precision/tz|{{{1}}}}}}}</includeonly>
+
<includeonly>{{
<noinclude>
+
#expr:{{
* source : http://fr.wikipedia.org/wiki/Mod%C3%A8le:Precision1
+
  #ifeq:{{{1}}}
{{GFDL}}
+
    | 0  
</noinclude>
+
    | 0  
 +
    | {{
 +
        #ifexpr:{{{1}}} round 0={{{1}}}
 +
          | 0  
 +
          | {{
 +
              #ifexpr:{{{1}}} round 1={{{1}}}
 +
                | 1
 +
                | {{
 +
                    #ifexpr:{{{1}}} round 2={{{1}}}
 +
                      | 2
 +
                      | {{
 +
                          #ifexpr:{{{1}}} round 3={{{1}}}
 +
                            | 3
 +
                            | {{
 +
                                #ifexpr:{{{1}}} round 4={{{1}}}
 +
                                  | 4
 +
                                  | {{
 +
                                      #ifexpr:{{{1}}} round 5={{{1}}}
 +
                                        | 5
 +
                                        | 6
 +
                                    }}
 +
                              }}
 +
                        }}
 +
                  }}
 +
            }}
 +
      }}
 +
}}
 +
+
 +
{{#switch:x{{{1}}}
 +
  | x0{{#expr:{{{1}}}+0}}0
 +
  | x0{{#expr:{{{1}}}+0}}.0
 +
  | x{{#expr:{{{1}}}+0}}0
 +
  | x{{#expr:{{{1}}}+0}}.0=1
 +
  | x0{{#expr:{{{1}}}+0}}00
 +
  | x0{{#expr:{{{1}}}+0}}.00
 +
  | x{{#expr:{{{1}}}+0}}00
 +
  | x{{#expr:{{{1}}}+0}}.00=2
 +
  | x0{{#expr:{{{1}}}+0}}000
 +
  | x0{{#expr:{{{1}}}+0}}.000
 +
  | x{{#expr:{{{1}}}+0}}000
 +
  | x{{#expr:{{{1}}}+0}}.000=3
 +
  | x0{{#expr:{{{1}}}+0}}0000
 +
  | x0{{#expr:{{{1}}}+0}}.0000
 +
  | x{{#expr:{{{1}}}+0}}0000
 +
  | x{{#expr:{{{1}}}+0}}.0000=4
 +
  | x0{{#expr:{{{1}}}+0}}00000
 +
  | x0{{#expr:{{{1}}}+0}}.00000
 +
  | x{{#expr:{{{1}}}+0}}00000
 +
  | x{{#expr:{{{1}}}+0}}.00000=5
 +
  | x0{{#expr:{{{1}}}+0}}.000000
 +
  | x{{#expr:{{{1}}}+0}}.000000=6
 +
  | 0
 +
  }}
 +
}}</includeonly><noinclude>{{/Documentation}}</noinclude>

Version actuelle datée du 21 janvier 2010 à 11:49

Outils personnels