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 will 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 ?]
m (Updated MultiPage too many templates workaround) |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOEDITSECTION__<noinclude> | __NOEDITSECTION__<noinclude> | ||
{{warning|'''Do not use this template on template pages!''' | {{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 will undermine all the work we have been putting in for months now. Instead, use {{t|Autolang}} for translations, and for previewing languages on template pages, uses "{{t|Uselangflags}}" with {{code|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. | {{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| | {{Workaround|Copy/Paste the following instead of {{tl|MultiPage}}: | ||
{{CodeBlock|<nowiki>{{uselangflags|en=1| | {{CodeBlock|<nowiki>{{uselangflags|en=1|<other languages used>|multipageworkaround=1}} | ||
{{:{{FULLPAGENAME}}/{{uselang}}}}</nowiki>}} | {{:{{FULLPAGENAME}}/{{uselang}}}}</nowiki>}} | ||
This will allow the page to display properly and give the illusion of visual parity with other MultiPage pages. | This will allow the page to display properly and give the illusion of visual parity with other MultiPage pages. Make sure to visit {{tl2|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!}}}} | This '''''SHOULD NOT''''' be used unless absolutely necessary! This is only a temporary fix until we find a way to fix this issue!}}}} |
Revision as of 11:09, 15 September 2023



{{MultiPage}}
:
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.
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.