Template talk:Used by
A technical request for "Used by" template
I was told to move the discussion here so here it is. "Localized versions of this template are not necessary." Well, they actually are needed, due to inflection of words in some languages. For Polish, "{{Used by|all}}" and "{{Used by|Soldier|etc.}}" sound fine, but "{{Used by|all-except|" needs translation switching, as it sounds very bad when names of classes are not inflected. I don't know about other languages, but some may require it too. For Polish, here's how it should look to be grammatically correct (only for "{{Used by|all-except|"):
- Scout = Skauta
- Soldier = Żołnierza
- Pyro = Pyro
- Demoman = Demomana
- Heavy = Grubego
- Enginner = Inżyniera
- Medic = Medyka
- Sniper = Snajpera
- Spy = Szpiega
Denied (Talk) 08:13, 15 February 2024 (UTC)
- Can you provide some examples of the expected output? In this format:
- — Tark 20:00, 30 April 2024 (UTC)
- Sorry for the late response. I didn't receive any notification. Here's how it should look:
- Current output:
{{Used by|all-except|Pyro|Soldier}}generates (Wszystkie klasy (oprócz Pyro i Żolnierz) - Expected output:
{{Used by|all-except|Pyro|Soldier}}should generate (Wszystkie klasy (oprócz Pyro i Żolnierza)
- Only Pyro remains unchanged. Every other class is changed as show in the first comment.
Denied (Talk) 20:40, 13 October 2024 (UTC)
- Does this look okay to you? Strings are stored here. — Tark 15:43, 2 December 2024 (UTC)
A technical request for "Used by" template 2
The {{used by}} template is not suitable for Russian at the moment. It lacks words that begin with a lowercase letter and word inflections.
Examples:
- infobox-used-by-1
ru now:{{used by|Scout}}→ Разведчик— Generates simple class link (ru from the table below). ru should be:
{{used by|Scout}}→ Разведчиком— Generates {a} from the table below.
- infobox-used-by-2
ru now:{{used by|Sniper|Spy}}→ Снайпер, Шпион— Generates 2 class links. ru should be:
{{used by|Sniper|Spy}}→ Снайпером и шпионом— Generates {a} and {b} from the table below.
- infobox-used-by-3
ru now:{{used by|Soldier|Pyro|Demoman}}→ Солдат, Поджигатель, Подрывник— Generates 3 class links. ru should be:
{{used by|Soldier|Pyro|Demoman}}→ Солдатом, поджигателем и подрывником— Generates {a}, {b} and {b} from the table below.
- infobox-used-by-all-except-3
ru now:{{used by|all-except|Heavy|Engineer|Medic}}→ Все классы (кроме Пулемётчик, Инженер, Медик)— Generates 3 class links. ru should be:
{{used by|all-except|Heavy|Engineer|Medic}}→ Всеми классами (кроме пулемётчика, инженера и медика)— Generates {c}, {c} and {c} from the table below.
| en | ru | {a} | {b} | {c} |
|---|---|---|---|---|
| Scout | Разведчик | Разведчиком | разведчиком | разведчика |
| Soldier | Солдат | Солдатом | солдатом | солдата |
| Pyro | Поджигатель | Поджигателем | поджигателем | поджигателя |
| Demoman | Подрывник | Подрывником | подрывником | подрывника |
| Heavy | Пулемётчик | Пулемётчиком | пулемётчиком | пулемётчика |
| Engineer | Инженер | Инженером | инженером | инженера |
| Medic | Медик | Медиком | медиком | медика |
| Sniper | Снайпер | Снайпером | снайпером | снайпера |
| Spy | Шпион | Шпионом | шпионом | шпиона |
Polish uses only one Inflection, but Russian needs one more, and variant with lowercase letter at the beginning.
Fjødwr (talk) 06:18, 22 July 2025 (UTC)