Pojdi na vsebino

Predloga:Trajanje/testniprimeri

Iz Wikipedije, proste enciklopedije

Testing sandbox version

[uredi kodo]
  • {{Duration/peskovnik|h=1|m=22|s=34}} renders as: 1:22:34
  • {{Duration/peskovnik|m=74|s=32}} renders as: 74:32
  • {{Duration/peskovnik|m=2|s=34}} renders as: 2:34
  • {{Duration/peskovnik|h=1|s=34}} renders as: 1:00:34
  • {{Duration/peskovnik|h=1}} renders as: 1:00:00
  • {{Duration/peskovnik|h=0|m=22|s=34}} renders as: 0:22:34
  • {{Duration/peskovnik|h=0|m=0|s=34}} renders as: 0:00:34
  • {{Duration/peskovnik|h=1|m=22|s=34.5678}} renders as: 1:22:34.5678
  • {{Duration/peskovnik|h=1|m=22|s=3}} renders as: 1:22:03
  • {{Duration/peskovnik|h=1|m=2|s=34}} renders as: 1:02:34
  • {{Duration/peskovnik|h=1|m=2|s=3}} renders as: 1:02:03
  • {{Duration/peskovnik|h=1|m=2}} renders as: 1:02:00
  • {{Duration/peskovnik|s=34}} renders as: 0:34
  • {{Duration/peskovnik|m=0|s=34}} renders as: 0:34
  • {{Duration/peskovnik|h=1|m=0|s=34}} renders as: 1:00:34
  • {{Duration/peskovnik|h=1|m=22|s=0}} renders as: 1:22:00
  • {{Duration/peskovnik|h=one|m=22|s=0}} renders as: Napaka v Modul:Duration: Invalid values
  • {{Duration/peskovnik|h=1|m=22|s=78}} renders as: Napaka v Modul:Duration: Seconds value must be less than 60 (i.e. an error)
  • {{Duration/peskovnik|h=1.1|m=2.2}} renders as: Napaka v Modul:Duration: Hours and minutes values must be integers

Testing main template

[uredi kodo]
  • {{Duration|h=1|m=22|s=34}} renders as: 1:22:34
  • {{Duration|m=74|s=32}} renders as: 74:32
  • {{Duration|m=2|s=34}} renders as: 2:34
  • {{Duration|h=1|s=34}} renders as: 1:00:34
  • {{Duration|h=1}} renders as: 1:00:00
  • {{Duration|h=0|m=22|s=34}} renders as: 0:22:34
  • {{Duration|h=0|m=0|s=34}} renders as: 0:00:34
  • {{Duration|h=1|m=22|s=34.5678}} renders as: 1:22:34.5678
  • {{Duration|h=1|m=22|s=3}} renders as: 1:22:03
  • {{Duration|h=1|m=2|s=34}} renders as: 1:02:34
  • {{Duration|h=1|m=2|s=3}} renders as: 1:02:03
  • {{Duration|h=1|m=2}} renders as: 1:02:00
  • {{Duration|s=34}} renders as: 0:34
  • {{Duration|m=0|s=34}} renders as: 0:34
  • {{Duration|h=1|m=0|s=34}} renders as: 1:00:34
  • {{Duration|h=1|m=22|s=0}} renders as: 1:22:00
  • {{Duration|h=one|m=22|s=0}} renders as: Napaka v Modul:Duration: Invalid values
  • {{Duration|h=1|m=22|s=78}} renders as: Napaka v Modul:Duration: Seconds value must be less than 60 (i.e. an error)
  • {{Duration|h=1.1|m=2.2}} renders as: Napaka v Modul:Duration: Hours and minutes values must be integers