Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Template:Language Template

Template Description

This Template is uses to link to the [[:Category:{{{2}}} Codex|{{{2}}} Codex]] page. In most cases it'll be used inside {{Languages}} template for Multilingual Codex.

Usage

{{{{{1}}}|Article|Separator|Label}}

Parameters

Article
(text) (optional) The name on the article in {{{2}}} codex.
Default: {{{4}}}
Separator
(text) (optional) The separator charecter.
Default: •
Label
(text) (optional) The link label.
Default: {{{3}}}

Example

Linking to {{{2}}} "Main Page" use {{{{{1}}}}}
{{ {{{1}}}}}
Linking to {{{2}}} "Some Page" without Separator use {{{{{1}}}|Some Page|}}
{{ {{{1}}}|Some Page|}}

See also


"Language Template" template Description

This "Language Template" template is used to describe a language template, such as {{fr}}, {{es}}, {{he}}, {{ru}} and others.

Usage

{{Language Template|{{PAGENAME}}|Language Name|Language Local Name|Codex Main Page name in your language}}

NOTE: Template name ({{PAGENAME}}), Language Name and Language Local Name are based on languages/Names.php.