Template:Lang links/doc: Difference between revisions
Template page
More actions
No edit summary |
now {{lang links cheap}} exists, which doesn’t take more space than this template, but still suffers from the other weaknesses |
||
| Line 37: | Line 37: | ||
Compare: | Compare: | ||
{{xpdoc| | {{xpdoc|lang links cheap|Template:No source since}} | ||
which does not distinguish between a postfix for a language and other postfixes such as /doc and /layout | (based on [[Special:Prefixindex]]), which does not distinguish between a postfix for a language and other postfixes such as /doc and /layout. Another difference is that the language code is shown, rather than the local name. | ||
'''This template should not be used on templates''' to avoid hitting the "expensive parser function" or the "LUA execution time" limit on pages with other expensive templates. If your template needs language links, create a <code><nowiki>/lang</nowiki></code> subpage, transclude it to the template and regularly update it using {{tls|lle}}. '''Never''' use this template directly or indirectly on templates intended for the file namespace that will likely stay there for a long time. | '''This template should not be used on templates''' to avoid hitting the "expensive parser function" or the "LUA execution time" limit on pages with other expensive templates. If your template needs language links, create a <code><nowiki>/lang</nowiki></code> subpage, transclude it to the template and regularly update it using {{tls|lle}}. '''Never''' use this template directly or indirectly on templates intended for the file namespace that will likely stay there for a long time. | ||
| Line 51: | Line 51: | ||
|i18n-desc= | |i18n-desc= | ||
|i18n-mediawiki-msg= | |i18n-mediawiki-msg= | ||
|seealso={{tl|Ll}}, {{tl|Lle}} | |seealso={{tl|Ll}}, {{tl|Lle}}, {{tl|lang links cheap}} | ||
|setscats= | |setscats= | ||
|lines=1 | |lines=1 | ||
| Line 57: | Line 57: | ||
|relieson=[[Module:Languages]], [[Module:Languages/List]], [[Module:Page]] | |relieson=[[Module:Languages]], [[Module:Languages/List]], [[Module:Page]] | ||
|useTemplateData=1 | |useTemplateData=1 | ||
}} | }}<includeonly> | ||
<includeonly> | |||
[[Category:Internal link templates]] | [[Category:Internal link templates]] | ||
</ | </includeonly> | ||