Template talk:Main: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
(→‎Labelling page(s): new section)
Line 4: Line 4:
:Didn't think of that, my fault. You chan change it. (The space before the colon is weird, never seen it) [[User:TheWombatGuru|TheWombatGuru]] ([[User talk:TheWombatGuru|talk]]) - <b>Factorio wiki administrator</b> 19:06, 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) [[User:TheWombatGuru|TheWombatGuru]] ([[User talk:TheWombatGuru|talk]]) - <b>Factorio wiki administrator</b> 19:06, 2 September 2016 (UTC)
:: Done. In French you need a space before ";", ":", "!", "?" but nor before "," and ".". Weird indeed :) [[User:Mgiraud|Mgiraud]] ([[User talk:Mgiraud|talk]]) 19:21, 2 September 2016 (UTC)
:: Done. In French you need a space before ";", ":", "!", "?" but nor before "," and ".". Weird indeed :) [[User:Mgiraud|Mgiraud]] ([[User talk: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)?

Revision as of 19:35, 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)?