Template:Language/doc

From Wikinews, the free news source you can write!
Jump to: navigation, search

Usage[edit]

{{Undetermined language}}

or

{{und}}

This template is used to designate the language used in an article's source if that language is Undetermined rather than English. Specify its name to template {{source}} using parameter lang=.

Example (language spec is bolded):

*{{source|url=http://www.example.com/foobar

|title=Lorem ipsum dolor sit amet
|author=Ford Prefect
|pub=Megadodo Publications
|date=December 6, 2014
|lang=und
}}

This produces the following:

An older, deprecated style calls this template directly; put it after the source reference, with a space between the reference and the language template.

Example (language spec is bolded):

*{{source|url=http://www.example.com/foobar

|title=Lorem ipsum dolor sit amet
|author=Ford Prefect
|pub=Megadodo Publications
|date=December 6, 2014
}} {{und}}

Custom Languages[edit]

See: Languageicon for more details.

If the language you need is not listed amongst the languages in the Language templates category, you can use the {{Languageicon}} template, and manually input the ISO code, language name, and language article name.

Alternatively you can create a new language template for the language in question.