Template:Otherlang

From RationalWiki
Jump to navigation Jump to search

Want to read this in another language?


[edit] [purge] Documentation

This template is to be used on pages with versions in other languages, under the See Also section.

The pagelang argument defines the title of the section the template creates. The rest of the arguments are the languages.

Usage

For example, this would go on the Goat page. If no value is manually assigned to pagelang, it will simply default to English. Remember to split each argument with a pipe, as shown. Only one page can be assigned for each language code, though many language codes can be added as arguments. Note that the order of the arguments does not matter, since the order in which the languages are listed is fixed. See below for a list of the language codes.

{{otherlang
|pagelang=en
|de=Ziege
|es=Cabra
|fr=Chèvre
}}

Issues

The first part of the code creates a section with an edit button, and clicking this button edits the template itself, and not the article.

See also

Language templates used by this template (also a list of the language codes)