Template:L/doc

From eRepublik Official Wiki
< Template:L
Revision as of 07:36, 25 September 2010 by McKayRO (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
edit

Edit-copy green.png Documentation subpage

This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:L.


Languages: 
EnglishIcon-English.png


This template automatically produces links in the same language as the page they're used on, as long as the page is using {{LangMenu}}.

Usage

If {{L|Main Page}} is used on a page written in Romanian, then it will produce a link that will lead to Main Page/Română if it exists. If the page doesn't exist, the template will link to Main Page.

Optional parameters:

  • {{L|Main Page|name}} will change the name of the link
  • {{L|Main Page|name|flag}} will add a flag to the link

Pages with too many expensive function calls

The L template, if used massively, is expensive. If you know the translated pages already exist you can use the {{DL}} template instead