Template:Language/archives/MultiPage: Difference between revisions
Jump to navigation
Jump to search
Warning:Do not use this template on template pages! We are working towards having universal templates for all languages, meaning that we no longer need "<template name>:<lang code>", and we can just use an automatically translated template. Using this translation method would undermine all the work we have been putting in for months now. Instead, use {{Autolang}} for translations, and for previewing languages on template pages, uses "{{Uselangflags}}" with noinclude. This will allow for automatically changing the language used in the template while not creating 8 different pages for one template.
Bug:Causes some pages, such as List of Team Fortress 2 console commands and variables to not render because of too many templates included.
Workaround:Copy/Paste the following instead of [todo tested in ?]
(Added Croatian) |
No edit summary |
||
Line 23: | Line 23: | ||
-->{{#if:{{{no-en-subpage|}}}|{{#ifeq:{{uselang}}|en|<span style="background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.3); border-radius:2px; padding:0 1px; margin:1px"><span style="user-select:none; position:relative; top:-1px">{{Flag|en}}</span></span>[[Category:English]]|<span style="margin:1px; border:1px solid transparent"><span style="user-select:none; position:relative; top:-1px">{{Flag|en|link={{fullurl:{{FULLPAGENAME}}|uselang=en}}}}</span></span>}}</span>|{{MultiPage/flag}}}}<!-- English | -->{{#if:{{{no-en-subpage|}}}|{{#ifeq:{{uselang}}|en|<span style="background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.3); border-radius:2px; padding:0 1px; margin:1px"><span style="user-select:none; position:relative; top:-1px">{{Flag|en}}</span></span>[[Category:English]]|<span style="margin:1px; border:1px solid transparent"><span style="user-select:none; position:relative; top:-1px">{{Flag|en|link={{fullurl:{{FULLPAGENAME}}|uselang=en}}}}</span></span>}}</span>|{{MultiPage/flag}}}}<!-- English | ||
-->{{MultiPage/flag|ca|Catalan}}<!-- | -->{{MultiPage/flag|ca|Catalan}}<!-- | ||
-->{{MultiPage/flag|cs|Czech}}<!-- | -->{{MultiPage/flag|cs|Czech}}<!-- | ||
-->{{MultiPage/flag|de|German}}<!-- | -->{{MultiPage/flag|de|German}}<!-- | ||
Line 33: | Line 32: | ||
-->{{MultiPage/flag|he|Hebrew}}<!-- | -->{{MultiPage/flag|he|Hebrew}}<!-- | ||
-->{{MultiPage/flag|hi|Hindi}}<!-- | -->{{MultiPage/flag|hi|Hindi}}<!-- | ||
-->{{MultiPage/flag|hr|Croatian}}<!-- | |||
-->{{MultiPage/flag|hu|Hungarian}}<!-- | -->{{MultiPage/flag|hu|Hungarian}}<!-- | ||
-->{{MultiPage/flag|it|Italian}}<!-- | -->{{MultiPage/flag|it|Italian}}<!-- |
Revision as of 13:12, 23 December 2023



{{MultiPage}}
on the affected pages:
This will allow the page to display properly and give the illusion of visual parity with other MultiPage pages. Make sure to visit {{Uselangflags}} for documentation about this template.
This SHOULD NOT be used unless absolutely necessary! This is only a temporary fix until we find a way to fix this issue!Todo: remove forced line break before page contents when text comes before this template.
Todo: stop Category:English from being added to the base page via transclusion whenever an english subpage exists. This issue only happens for english.
The above documentation is transcluded from Template:Language/archives/MultiPage/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.