Template talk:Main: Difference between revisions
Fried biter (talk | contribs) (→Labelling page(s): new section) |
(→Labelling page(s): Reply) |
||
(One intermediate revision by one other user not shown) | |||
Line 7: | Line 7: | ||
== Labelling page(s) == | == Labelling page(s) == | ||
[[mw:Template:Main]] says there is a parameter `l1` to specify the first link label, but I don't see it works on the factorio wiki. Are there any alternatives or workarounds to label the link (especially for translating pagenames)? | [[mw:Template:Main]] says there is a parameter `l1` to specify the first link label, but I don't see it works on the factorio wiki. Are there any alternatives or workarounds to label the link (especially for translating pagenames)? --[[User:Fried biter|Fried biter]] ([[User talk:Fried biter|talk]]) 19:37, 20 December 2018 (UTC) | ||
: The template uses [[Template:TransLink]] for the link, so you should be able to simply use the English page name and translate it via [[Template:Translation/ja]] -- [[User:Bilka|Bilka]] ([[User talk:Bilka|talk]]) - <span style="color:#FF0000">Admin</span> 19:39, 20 December 2018 (UTC) |
Latest revision as of 19:39, 20 December 2018
Singular and Plural form
This new realize for {t|Main} doesn't work properly in French for two reasons: In French the plural form can't be achieve by just adding a "s". The plural of "Article principal" is "Articles principaux" and in French a space is need before ":" "Article principal :" and nor "Article principal:". I propose {{#if: {{{2|}}}|{{Translation|Main articles:}}|{{Translation|Main article:}}}} instead of {{Translation|Main article{{#if: {{{2|}}}|s}}}}: . Do you agree with those changes ? Mgiraud (talk) 18:51, 2 September 2016 (UTC)
- Didn't think of that, my fault. You chan change it. (The space before the colon is weird, never seen it) TheWombatGuru (talk) - Factorio wiki administrator 19:06, 2 September 2016 (UTC)
Labelling page(s)
mw:Template:Main says there is a parameter `l1` to specify the first link label, but I don't see it works on the factorio wiki. Are there any alternatives or workarounds to label the link (especially for translating pagenames)? --Fried biter (talk) 19:37, 20 December 2018 (UTC)
- The template uses Template:TransLink for the link, so you should be able to simply use the English page name and translate it via Template:Translation/ja -- Bilka (talk) - Admin 19:39, 20 December 2018 (UTC)