Content deleted Content added
Line 446:
:Thanks, but there are 200 such templates on page. It seems it will be too expensive to use such native implementation. [[User:A.sav|A.sav]] ([[User talk:A.sav|talk]]) 08:43, 18 November 2023 (UTC)
::What page? What module? Module:Age just gathers the parameters (date1 and date2) and calls [[Module:Date]] to get the numbers (10, 3, 19 in above example), then inserts the years/months/days text. Another module could do that too. Or, you could call age_generic and pass something that looks like a frame sufficiently well to do what age_generic needs as can be seen by inspecting its code. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 09:26, 18 November 2023 (UTC)
:::I want to localize [[:no:Module:Liste over eldste personer]] for Bulgarian. I did it for Belorussian, Serbian and Romanian, and Russian localization is also based on my Belorussian localization. Well, I can even derive months/days calculation from bulgarian template implementation, but I want to reuse existed Age module. [[User:A.sav|A.sav]] ([[User talk:A.sav|talk]]) 13:12, 18 November 2023 (UTC)
|