Jump to content

Template:Tok Pisin

From Wikinews, the free news source you can write!
(Redirected from Template:Tpi)
Please see Language templates for a list of all pre-made language templates.

(Tok Pisin)

[edit] Template documentation

Usage

{{Tok Pisin}}

or

{{tpi}}

This template is used to designate the language used in an article's source if that language is Tok Pisin 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=tpi
}}

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
}} {{tpi}}

Custom Languages

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.