A Wiki in the Desert
Log in

Template:L/doc

From A Wiki in the Desert
< Template:L
Revision as of 21:28, 30 July 2018 by Brad (talk | contribs) (Created page with "'''{{tl|L}}''' is used to categorize a page based on the language in which the page's content is written. The associated categories are mw:Help:Categories#Hidden_categories|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{L}} is used to categorize a page based on the language in which the page's content is written. The associated categories are hidden categories and (currently) exist primarily to facilitate the use of specialized wiki tools, such as AutoWikiBrowser, that perform semi-automated edits to groups of pages based on the language they're written in.

Usage

{{L|1}}

The valid options for the template's only parameter are the language codes for English and French, the two primary languages used on this wiki, as defined by the ISO 639 standards.

en = English / anglais
fr = French / français

Example

{{L|en}}

results in the page being added to the Pages in English category, whereas

{{L|fr}}

results in the page being added to the Pages en français category.

If an unknown or erroneous language code is used with the template, the page will be added to the Pages in an unknown language category instead.