Template:nl icon

From Wikispooks
Jump to navigation Jump to search

(in Dutch)

Template documentation[view] [edit] [history] [purge]

Usage

{{nl icon}} is a template usually used to indicate to readers that an external link is in a foreign language (Dutch); no parameters are needed.

It should generally be placed after the external link, although this is not set in stone. For more information, see the Manual of Style.

The template uses the {{Link language|nl}} format, but is shortened by simply having the name {{nl icon}}, where nl represents the ISO 639-1 language code. Please be aware that language codes do not always coincide with country codes (see the list of ISO 3166-1 codes).

For citations, use the |language= parameter of the various citation templates: {{cite web}}, {{cite news}}, {{cite journal}}, etc.

Category:Language icon templates contains a full list of the templates that can be used.

User-defined CSS

Logged in users can change the appearance of the template's output using CSS with the languageicon class. For example, edit Special:MyPage/common.css and add <syntaxhighlight lang="css" class="" id="" style="" inline="1">span.languageicon { font-weight: bold; }</syntaxhighlight>. That would result in {{nl icon}} being displayed as (in Dutch) instead of (in Dutch).

Supporting templates

See also

External links


In this specific example, this template adds the text "(Dutch)". This template calls the template "Language icon", which in turn adds the category "Articles with Dutch language external links" to the Wikipedia page.