Template:Native name/doc
From Zoophilia Wiki
Jump to navigationJump to search
This is a documentation subpage for Template:Native name. It may contain usage information, categories and other content that is not part of the original template page. |
Convenience template for placing native names (of places like countries and towns) together with a language icon in infoboxes. Uses {{lang}} and {{language icon}}.
Usage
{{native name|language tag|text|[icon=no]|[italic=no]}}
where
- language tag is the code for the native language (see the list of ISO 639 codes);
- text is the native name;
- icon is an optional parameter to exclude the language icon by using the value "no";
- italic is an optional parameter to prevent the name from appearing in italics by using the value "no".
Examples
{{Infobox settlement
|name = The Hague
|native_name = {{native name|nl|Den Haag}}
}}
results in
The Hague Den Haag (Dutch) |
---|
while
{{Infobox country
|conventional_long_name = French Republic
|native_name = {{native name|fr|République française|icon=no}}
}}
results in
French Republic
République française
|
---|
Note
When setting both the icon and italic parameters to "no" this template is equivalent to the {{lang}} template.