User talk:Djzepi

From Free Pascal wiki

Hey there. Why did you create a

{{Binary}}

template instead of using the

{{Lazarus Documentation}}

template?

---Trev (talk)

The page templates are used for uniform categorization among languages. I mean, you could use Template:LanguageBar directly, but then you had to manually keep categorizations among localized pages in sync. I hate this approach, though, as it clutters the template namespace, there’s a very limited set of page that’ll eventually transclude a template (so semantically it isn’t a template), and last but not least, MediaWiki (meanwhile) knows a language extension.

---Kai Burghardt (talk) 15:37, 24 June 2019 (CEST)

So why invent a new template for every page when the

{{Lazarus Documentation}}

template appears to do the same job? That is, it adds the required language bar entries automatically.

---Trev (talk)

As I wrote yesterday, the page templates are used for categorization. There is one template for every article, that defines its categories. Otherwise every language version of an article had to be manually categorized.

---Kai Burghardt (talk) 12:51, 25 June 2019 (CEST)

Ah, now I understand. I'm not so sure that manual categorisation is such a burden given most translated pages are copied en masse and then actually translated (from what I've observed). Anyway, thanks for the explanation. ---Trev (talk)