Template:Uganda/PlaceLang/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Usage

Term translations for the WIkiProject Uganda homepage, the WikiProject Uganda and regularly used terms on WikiProject Uganda pages. This is derived and an extension of the PlaceLang template with additions for specific and local languages used in Uganda ( Languages of Uganda -  Orodha ya lugha za Uganda):

  • Swahili or Kiswahili with langcode sw, official language spoken by many and defacto language used in the East-African Community ( Swahili language -  Kiswahili);

In addition, there are many more local languages spoken in Uganda. Without intention to discriminate (you are absolutely free to add more) we can list the following:

Template Parameters

Should be used in the format: {{Uganda/PlaceLang|term to be translated|lang={{{lang|en}}}|optional additional named parameters}}
where:

  • Uganda/PlaceLang: is the 1st parameter, refers to this template;
  • term to be translated: is the 2nd parameter, actual text or alias of the text (as used in the template) to be translated;
  • lang=en: is the target language as a named parameter represented with it's language code, in this case transcluded from the origin page;
  • optional additional named parameters: additional named parameters as defined in the orginal PlaceLang. See table below.

Template parameters

ParameterDescriptionTypeStatus
Term to be translated1 term to be translated

This is the term (in english) to be translated

Default
empty
Stringrequired
Target languagelang target;language

ISO code of the target language (language to be translated to mostly from english)

Default
en
Example
en
Stringrequired
of-nameof-name

no description

Unknownoptional
namename target:name

a free to define name, may be a transcluded translation, that needs to be included in the translated string. Used f.i. in 'Browse map'

Default
empty
Example
Uganda or {{Uganda/Placelang|Uganda|lang={{{lang|en}}}}}
Stringoptional
in-namein-name

no description

Unknownoptional
linklink

no description

Unknownoptional
fullnamefullname

no description

Unknownoptional
typetype

no description

Unknownoptional
subareasubarea

no description

Unknownoptional
subarea2subarea2

no description

Unknownoptional
areaarea

no description

Unknownoptional
latlat

no description

Unknownoptional
longlong

no description

Unknownoptional
displayareadisplayarea

no description

Unknownoptional

See also