Module:Occupation/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

CodeDiscussionEditHistoryLinksLink count Subpages:DocumentationTestsResultsSandboxLive code All modules

This is the documentation page for Module:Occupation

Translation for occupation, based on translation submodules.

Use[edit]

- function p.occupation(frame)

  • param 1: profession (should be present in either Module:Occcuation/en or Module:Occupation/redirects
  • param 2: gender ("m" or "f"
  • param lang: code of language in which the translation should be displayed, by default it is {{int:lang}}<nowiki> ({{int:lang}}). If there is no translation module exists for the language requested, it will look for the most relevant language using the standard "fallback" list. *<nowiki>{{#invoke:Occupation|occupation|painter}} ->
  • {{#invoke:Occupation|occupation|king}} -> {
  • {{#invoke:Occupation|occupation|queen}} ->
  • {{#invoke:Occupation|occupation|painter|f}} ->
  • {{#invoke:Occupation|occupation|king|f}} ->
  • {{#invoke:Occupation|occupation|queen|f}} ->
  • {{#invoke:Occupation|occupation|painter|f|lang=cs}} ->
  • {{#invoke:Occupation|occupation|king|f|lang=cs}} ->
  • {{#invoke:Occupation|occupation|queen|f|lang=cs}} ->

Supported terms[edit]

Words in red are supported in the English version of the module but not in the translated version, you can add them. {{#invoke:Occupation|list}}

Words in the translated module, missing in the English version[edit]

{{#invoke: Occupation|notinenglish}}

Broken redirects[edit]

{{#invoke: Occupation|brokenredirects}}

Keys used in Module:Occupation/redirects and Module:Occupation/en at the same time[edit]

keys appearing both in Module:Occupation/redirects and Module:Occupation/en:armourer