وحدة:External links/conf/Settlement
المظهر
الاستخدام
- مش ممكن تستخد الوحده دى مباشر راجع ازاى تستخدمها وحدة:External links.
ويكي بيانات
| الخاصية | وصفها | تصنيف تتبع الاستخدام |
|---|---|---|
| الرمز الجغرافي في إلستات (P1116) (معرف خارجي) | معرف للمناطق الإدارية في اليونان من قبل السلطة الإحصائية اليونانية (ابتداء من عام 2010) | صفحات تستخدم P1116 (في 0 صفحة) |
| معرف أين على الأرض (P1281) (معرف خارجي) | صفحات تستخدم P1281 (في 0 صفحة) | |
| مُعرِّف الأسماء الأرضية (GeoNames) (P1566) (معرف خارجي) | معرف قاعدة البيانات الجغرافية لموقع جيونيمز (GeoNames) | صفحات تستخدم P1566 (في 62344 صفحة) |
| مُعرِّف ملف الضبط الاستنادي الافتراضي الدَّولي (VIAF) (P214) (معرف خارجي) | معرف قاعدة بيانات الملف للسلطة الافتراضية الدولية (VIAF) [الصيغة: حتى 22 رقما] | صفحات تستخدم P214 (في 409 صفحة) |
| مُعرِّف الملف الاستنادي المُتكامِل (GND) (P227) (معرف خارجي) | معرف من ملف سلطة دولية للأسماء والموضوعات والمنظمات (من فضلك لا تستخدم النوع n = name ، توضيح) - Deutsche Nationalbibliothek | صفحات تستخدم P227 (في 53273 صفحة) |
| مُعرِّف علاقة على خريطة الشَّارع المَفتُوحة (OSM) (P402) (معرف خارجي) | معرف العلاقة في OpenStreetMap | صفحات تستخدم P402 (في 1532 صفحة) |
| مُعرِّف قاعدة البيانات الحرة (Freebase) (P646) (معرف خارجي) | معرِف يحدد الصفحة المكافئة في مخطط قاعدة البيانات الحرة | صفحات تستخدم P646 (في 0 صفحة) |
| الوحدة الإدارية المحلية (P782) (معرف خارجي) | صفحات تستخدم P782 (في 0 صفحة) |
{{#ifeq:Settlement|ملعب| |
local configured_claims = {}
local function commons_formatter(id)
return "https://commons.wikimedia.org/wiki/Category:" .. id:gsub(" ", "_")
end
configured_claims['arz'] = {
{ prop='P373', message="[$2 $1] – صور وتسجيلات صوتيه و مرئيه على [[ويكيميديا كومونز]]$3", short="[$2 Wikimedia Commons]", langcode='en', url_f=commons_formatter },
{ prop='P3417', message='[$2 $1] على موقع كيورا - Quora$3', short='[$2 Quora.com]', langcode='en' },
{ prop='P214', message='[$2 $1] معرف قاعده بيانات الملف للسلطه الافتراضيه الدوليه$3', short='[$2 VIAF ID ]', langcode='en' },
{ prop='P646', message='[$2 $1] معرف مخطط فريبيس للمعارف الحره$3', short='[$2 Freebase ID]', langcode='en' },
{ prop='P1566', message='[$2 $1] معرف قاعده البيانات الجغرافيه لموقع جيونيمز$3', short='[$2 GeoNames ID]', langcode='en' },
{ prop='P1281', message='[$2 $1] معرف فين على الأرض$3', short='[$2 WOEID]', langcode='en' },
{ prop='P244', message='[$2 $1] معرف مكتبه الكونجرس$3', short='[$2 LCAuth]', langcode='en' },
{ prop='P6766', message='[$2 $1] معرف مين الاول$3', short='[$2 WOFID]', langcode='en' },
{ prop='P782', message='[$2 $1] الوحدة الإداريه المحليه$3', short='[$2 LAU]', langcode='en' },
{ prop='P402', message='[$2 $1] معرف خريطه الشارع المفتوحه$3', short='[$2 OSM relation ID]', langcode='en' },
{ prop='P1116', message='[$2 $1] الرمز الجغرافى فى ايلستات$3', short='[$2 ELSTAT geographical code]', langcode='en' },
{ prop='P227', message='[$2 $1] معرف ملف استنادى متكامل$3', short='[$2 GND ID]', langcode='en' },
{ prop='P2671', message='[$2 $1] معرف جوجل لرسوم المعرفه$3', short='[$2 GKG]', langcode='en' }, -- HitomiAkane -4-2-2021
{ prop='P3256', message='[$2 $1] معرف المسح العقاري للكهوف$3', short='', langcode='en' }, -- HitomiAkane -4-2-2021
{ prop='P2792', message='[$2 $1] رقم الاتحاد الكهفى الاوسترالى$3', short='', langcode='en' }, -- HitomiAkane -4-2-2021
}
local messages_conf = {}
messages_conf['arz'] = {
['short-list-separator'] = ', ',
['with-data-cat'] = '[[تصنيف:مقالات تستعمل روابط ببيانات من ويكى داتا]]',
--[[Articles using sports links with data from Wikidata]]
['no-data-text'] = "المقال ده مالوش وصلات على ويكى بيانات حاليا",
--"''This article has no properties for sports databases in Wikidata''",
['no-data-cat'] = '[[تصنيف:مقالات تستعمل روابط بلا بيانات من ويكى داتا]]',
--'[[تصنيف:Articles using sports links with no data in Wikidata]]',
['no-wikilink'] = "''هذا المقال غير مرتبط بويكى داتا''",
--"''This article has no link in Wikidata''",
['no-wikilink-cat'] = "[[تصنيف:مقالات تستعمل روابط بلا صله مع ويكى داتا]]",
--"[[تصنيف:Articles using sports links with no link in Wikidata]]",
['with-local-cat'] = "[[تصنيف:مقالات تستعمل روابط بناءا على بيانات محليه ]]",
--'[[تصنيف:Articles using sports links with local values]]',
['track-cat-wd-wd'] = '[[تصنيف:صفحات تستخدم خاصيه $1]]',
--'[[تصنيف:Articles using sports links with $1 from Wikidata]]',
['track-cat-local-local'] = '[[تصنيف:مقالات تستعمل روابط رياضيه ب $1 من بيانات محليه ]]',
--'[[تصنيف:Articles using sports links with $1 from local value]]',
['track-cat-wd-local'] = '[[تصنيف:مقالات تستعمل روابط ب $1 من ويكى داتا مع وجود بيانات محليه ]]',
--'[[تصنيف:Articles using sports links with $1 from Wikidata but has local value]]',
['track-cat-local-wd'] = '[[تصنيف:مقالات تستعمل روابط ب $1 من بيانات محليه مع وجود ويكى داتا]]',
--'[[تصنيف:Articles using sports links with $1 from local value but has Wikidata]]',
['track-cat-local-wd-equal'] = '[[تصنيف:مقالات تستعمل روابط ب $1 من بيانات محليه مطابقه لويكى داتا]]',
--"[[تصنيف:Articles using sports links with $1 from local value same as Wikidata]]",
['track-cat-local-wd-unequal'] = '[[تصنيف:مقالات تستعمل روابط ب $1 من بيانات محليه مختلفه عن ويكى داتا]]',
--"[[تصنيف:Articles using sports links with $1 from local value different from Wikidata]]",
}
local limits = {
['links-shown'] = 16, -- maximum number of links shown in the article.
}
local p = {}
function p.getConfiguredClaims (self, lang)
return configured_claims[lang]
end
function p.getLimits (self)
return limits
end
function p.getMessage (self, lang, msg)
return messages_conf[lang][msg]
end
-- metatable for the export
local mt = {
-- adjust the installation of the module
['__call'] = function (self, lang)
self.configured_claims = configured_claims[lang]
self.messages_conf = messages_conf[lang]
return self
end
}
-- install the metatable
setmetatable(p, mt)
return p