Module:External links/conf
- Аԥсшәа
- العربية
- বাংলা
- Беларуская (тарашкевіца)
- Català
- Dansk
- الدارجة
- Ελληνικά
- فارسی
- 한국어
- Bahasa Indonesia
- Jawa
- मैथिली
- Македонски
- മലയാളം
- مصرى
- مازِرونی
- Bahasa Melayu
- 日本語
- Norsk bokmål
- Oʻzbekcha / ўзбекча
- ਪੰਜਾਬੀ
- Română
- Slovenščina
- کوردی
- Srpskohrvatski / српскохрватски
- ไทย
- Тоҷикӣ
- Türkçe
- Українська
- اردو
- Tiếng Việt
- 粵語
- 中文
- Kadazandusun
- ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ
Appearance
From Wikipedia, the free encyclopedia
Warning This Lua module is used on approximately 75,000 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them.
Config page for Module:External links which controls aspects such as argument names and module messages
The above documentation is transcluded from Module:External links/conf/doc. (edit | history)
Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages.
Subpages of this module.
Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages.
Subpages of this module.
local messages = {} messages['en'] = { ['wikidata-linkback-edit'] = 'Edit on Wikidata', ['missing-limits'] = 'Missing limits-var in [[Module:External links/conf/1ドル]]', ['missing-conf'] = 'Missing content in [[Module:External links/conf/1ドル]]', ['msg-langcode'] = '<span class="languageicon"> (in 2ドル)</span>', -- 1ドル is language code, 2ドル is language name ['msg-ul-prepend'] = '* ', ['msg-inline-separator'] = ', ', } local arguments = { ['arg-conf'] = 'conf', ['arg-title'] = 'title', ['arg-properties'] = 'properties', ['arg-maxlink'] = 'maxlink', ['arg-short'] = 'short', ['arg-languages'] = 'languages', ['arg-no-categories'] = 'no categories', ['arg-inline'] = 'inline', ['arg-track'] = 'track', ['mod-filter-all'] = 'all', ['mod-filter-separator'] = ',', } local p = { ['g'] = function (self, ...) for _,v in ipairs(arg) do if self.messages[v] then return self.messages[v] end end return '<'..arg[1]..'>' end, ['a'] = function (self, ...) for _,v in ipairs(arg) do if self.arguments[v] then return self.arguments[v] end end return '<'..arg[1]..'>' end } -- metatable for the export local mt = { -- adjust the installation of the module ['__call'] = function (self, lang) self.messages = messages[lang] self.arguments = arguments return self end } -- install the metatable setmetatable(p, mt) return p