सामग्री पर जाएँ

साँचा:PD-Range/doc

विकिस्रोत से

This template calculates the number value of corresponding copyright protection term selected from the terms existent in various countries of the world, according the countries' copyright laws about passing works into PD. This template should not be used directly.

  • param 1 (mandatory) — the year used as basis for calculating applicable protection term
if CURRENTYEAR-param1>100 then return 100
else if CURRENTYEAR-param1>99 then return 99
else if CURRENTYEAR-param1>80 then return 80
else if CURRENTYEAR-param1>75 then return 75
else if CURRENTYEAR-param1>70 then return 70
else if CURRENTYEAR-param1>60 then return 60
else if CURRENTYEAR-param1>50 then return 50
else return 0