Template:L

From eRepublik Official Wiki
Jump to: navigation, search

[edit] [purge]

Documentation


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