Template talk:Main: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(→‎Labelling page(s): new section)
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)

Revision as of 19:37, 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)
Done. In French you need a space before ";", ":", "!", "?" but nor before "," and ".". Weird indeed :) Mgiraud (talk) 19:21, 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)