Template:Lang links/doc: Difference between revisions
More actions
Compare: {{xpdoc|Special:PrefixIndex/Template:Creator/}} which does not distinguish between a postfix for a language and other postfixes such as /doc and /layout. |
See also the substituted versions Template:Ll and Template:Lle of this template. Also it takes more space, and the order and format of the result cannot be changed. |
||
| Line 5: | Line 5: | ||
{{xpdoc|lang links|Template:Creator}} | {{xpdoc|lang links|Template:Creator}} | ||
This should not be used in really heavily used templates to avoid hitting the "expensive parser function" limit on pages with other expensive templates. If the template/page is not transcluded much or it's used in cases where it's the only template on a page, then the parser function calls shouldn't be an issue. See the [[Template:Ll | This should not be used in really heavily used templates to avoid hitting the "expensive parser function" limit on pages with other expensive templates. If the template/page is not transcluded much or it's used in cases where it's the only template on a page, then the parser function calls shouldn't be an issue. See also the substituted versions [[Template:Ll]] and [[Template:Lle]] of this template. | ||
Compare: | Compare: | ||
| Line 11: | Line 11: | ||
{{xpdoc|Special:PrefixIndex/Template:Creator/}} | {{xpdoc|Special:PrefixIndex/Template:Creator/}} | ||
which does not distinguish between a postfix for a language and other postfixes such as /doc and /layout. | which does not distinguish between a postfix for a language and other postfixes such as /doc and /layout. Also it takes more space, and the order and format of the result cannot be changed. | ||
---- | ---- | ||
Revision as of 12:14, 4 October 2010
This template shows which language versions of a page exist (based on the naming scheme ../xx, with xx the language code), and provides links to them. For example:
{{lang links|Template:Creator}} → English
This should not be used in really heavily used templates to avoid hitting the "expensive parser function" limit on pages with other expensive templates. If the template/page is not transcluded much or it's used in cases where it's the only template on a page, then the parser function calls shouldn't be an issue. See also the substituted versions Template:Ll and Template:Lle of this template.
Compare:
{{Special:PrefixIndex/Template:Creator/}} →
which does not distinguish between a postfix for a language and other postfixes such as /doc and /layout. Also it takes more space, and the order and format of the result cannot be changed.