ХӀокху модулах лаьцна хааман Модуль:Wikidata2/config/doc агӀо кхолла мега

-- Property configuration for Wikidata module
return {
	global = {
		separator = ',,',
		conjunction = ',,',
	},
	presets = {
		['catonly'] = {
			datatype = 'wikibase-item',
			conjunction = '',
			invisible = true,
			['value-module'] = 'Wikidata2',
			['value-function'] = 'extractCategory',
			references = '',
			category = 'P910',
		},
		['country'] = {
			['claim-module'] = 'Wikidata/Places',
			['claim-function'] = 'formatCountryClaimWithFlag',
			before = '',
			separator = '',
			conjunction = '',
			after = '</li></ul>',
		},
		['from-to'] = {
			['property-module'] = 'Wikidata/date',
			['property-function'] = 'formatDateIntervalProperty',
		},
		['link'] = {
			['value-module'] = 'Wikidata/link',
			['value-function'] = 'fromModule',
		},
		['list'] = {
			before = '',
			separator = '',
			conjunction = '',
			after = '</li></ul>',
		},
		['name'] = {
			monolingualLangTemplate = 'lang',
			separator = ', ',
			conjunction = ', ',
		},
		['place'] = {
			['claim-module'] = 'Wikidata/Places',
			['claim-function'] = 'formatPlaceWithQualifiers',
			before = '',
			separator = '',
			conjunction = '',
			after = '</li></ul>',
		},
		['quantity (date)'] = {
			before = '',
			separator = '',
			conjunction = '',
			after = '</li></ul>',
			qualifier = 'P585',
		},
	},
	datatypes = {
		commonsMedia = {
			limit = 1,
			references = false,
			size = '274x400px',
			separator = '',
			conjunction = '',
			somevalue = '',
		},
		['external-id'] = {
			references = false,
		},
		['globe-coordinate'] = {
			limit = 1,
			references = false,
		},
		url = {
			separator = '',
			conjunction = '',
			references = false,
		},
		quantity = {
			siConversion = true
		}
	},
	properties = {
		P6 = { datatype = 'wikibase-item', },
		P17 = {
			datatype = 'wikibase-item',
			preset = 'country',
		},
		P18 = { 
			datatype = 'commonsMedia', 
			fixdouble = true,
		},
		P19 = {
			datatype = 'wikibase-item',
			preset = 'place',
			separator = ',',
			conjunction = ' йа ',
		},
		P20 = {
			datatype = 'wikibase-item',
			preset = 'place',
			separator = ',',
			conjunction = ' йа ',
		},
		P22 = {
			datatype = 'wikibase-item',
			conjunction = ' йа '
		},
		P25 = {
			datatype = 'wikibase-item',
			conjunction = ' йа '
		},
		P26 = { datatype = 'wikibase-item', },
		P27 = {
			datatype = 'wikibase-item',
			preset = 'country',
		},
		P31 = { datatype = 'wikibase-item', },
		P37 = { datatype = 'wikibase-item', },
		P40 = { datatype = 'wikibase-item', },
		P41 = {
			datatype = 'commonsMedia',
			size = '150x200px',
		},
		P53 = {
			datatype = 'wikibase-item',
			category = 'P910',
		},
		P54 = {
			category = 'P6112',
		},
		P57 = {
			datatype = 'wikibase-item',
			preset = 'list',
		},
		P58 = {
			datatype = 'wikibase-item',
			preset = 'list',
		},
		P59 = {
			datatype = 'wikibase-item',
			category = 'P910',
			references = false,
		},
		P69 = {
			datatype = 'wikibase-item',
			preset = 'list',
			category = 'P3876',
			qualifier = 'P582',
		},
		P94 = {
			datatype = 'commonsMedia',
			size = '100x200px',
		},
		P86 = {
			datatype = 'wikibase-item',
			preset = 'list',
		},
		P101 = { datatype = 'wikibase-item', },
		P102 = { 
			datatype = 'wikibase-item', 
			preset = 'list',
			qualifier = 'P582',
			category = 'P6365',
		},
		P106 = {
			datatype = 'wikibase-item',
			['claim-module'] = 'Wikidata/item',
			['claim-function'] = 'formatEntityWithGenderClaim',
			conjunction = ',;',
		},
		P108 = {
			datatype = 'wikibase-item',
			preset = 'list',
			category = 'P4195',
		},
		P109 = {
			datatype = 'commonsMedia',
			size = '150x150px',
		},
		P117 = {
			datatype = 'commonsMedia',
			size = '290x300px',
		},
		P119 = {
			datatype = 'wikibase-item',
			preset = 'place',
			thisLocationOnly = 'true',
		},
		P131 = { datatype = 'wikibase-item', },
		P140 = {
			datatype = 'wikibase-item',
		},
		P154 = {
			size = '220x80px',
		},
		P159 = {
			preset = 'place',
		},
		P161 = {
			preset = 'list',
		},
		P162 = {
			preset = 'list',
		},
		P163 = { datatype = 'wikibase-item', },
		P166 = {
			datatype = 'wikibase-item',
			['property-module'] = 'Wikidata/Medals',
			['property-function'] = 'formatProperty',
			['value-module'] = 'Wikidata/Medals',
			['value-function'] = 'formatValue',
			before = '<div style="text-align:justify">',
			after = '</div>',
			separator = '',
			conjunction = '',
			references = false,
		},
		P190 = { datatype = 'wikibase-item', },
		P212 = {
			preset = 'link',
		},
		P225 = {
			preset = 'list',
			['claim-module'] = 'Wikidata/Biology',
			['claim-function'] = 'formatTaxonNameClaim',
		},
		P237 = { datatype = 'wikibase-item', },
		P241 = { datatype = 'wikibase-item', },
		P242 = {
			size = '300x300px',
		},
		P247 = {
			formatter = 'https://nssdc.gsfc.nasa.gov/nmc/spacecraft/display.action?id=$1',
		},
		P267 = {
			preset = 'link',
		},
		P276 = {
			preset = 'place',
		},	
		P281 = { datatype = 'string', },
		P286 = {
			preset = 'list',
		},
		P296 = {
			formatter = 'http://osm.sbin.ru/esr/esr:$1',
		},
		P301 = {
			rawArticle = true,
		},
		P344 = {
			preset = 'list',
		},
		P345 = {
			preset = 'link',
		},
		P348 = {
			preset = 'list',
			['property-module'] = 'Wikidata/Software',
			['property-function'] = 'formatVersionProperty',
		},
		P373 = {
			datatype = 'string',
			['value-module'] = 'Wikidata/media',
			['value-function'] = 'formatCommonsCategory',
			limit = 1,
		},
		P374 = { datatype = 'external-id', },
		P395 = { datatype = 'string', },
		P410 = { datatype = 'wikibase-item', },
		P412 = {
			datatype = 'wikibase-item',
			category = 'P910',
		},
		P413 = {
			datatype = 'wikibase-item',
			['claim-module'] = 'Wikidata/item',
			['claim-function'] = 'formatEntityWithGenderClaim',
			conjunction = ',;',
			category = 'P910',
		},
		P414 = {
			['claim-module'] = 'Wikidata/item',
			['claim-function'] = 'applyDefaultTemplate',
		},
		P421 = { datatype = 'wikibase-item', },
		P473 = { datatype = 'string', },
		P495 = {
			preset = 'country',
		},
		P505 = {
			preset = 'list',
		},
		P512 = {
			datatype = 'wikibase-item',
			['property-module'] = 'Wikidata/P512',
			['property-function'] = 'formatAcademicDegree',
		},
		P527 = {
			preset = 'list',
		},
		P528 = {
			references = false,
			qualifier = 'P972',
		},
		P551 = {
			preset = 'place',
		},
		P569 = {
			datatype = 'time',
			['claim-module'] = 'Wikidata/date',
			['claim-function'] = 'formatDateOfBirthClaim',
		},
		P570 = {
			datatype = 'time',
			['claim-module'] = 'Wikidata/date',
			['claim-function'] = 'formatDateOfDeathClaim',
		},
		P571 = { datatype = 'time', },
		P598 = { datatype = 'wikibase-item', },
		P607 = {
			datatype = 'wikibase-item',
			preset = 'list',
		},
		P625 = { datatype = 'globe-coordinate', },
		P685 = {
			formatter = 'https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=$1',
		},
		P721 = {
			preset = 'link',
		},
		P764 = {
			preset = 'link',
		},
		P803 = { datatype = 'wikibase-item', },
		P856 = { datatype = 'url', },
		P881 = {
			novalue = 'нет',
			category = 'P910',
		},
		P884 = {
			preset = 'link',
		},
		P915 = {
			category = 'P1740',
		},
		P957 = {
			preset = 'link',
		},
		P972 = {
			preset = 'catonly',	
		},
		P1077 = {
			preset = 'link',
		},
		P1082 = {
			datatype = 'quantity',
			preset = 'quantity (date)',
			unit = 'стаг',
			['property-module'] = 'Wikidata/number',
			['property-function'] = 'formatPropertyWithMostRecentClaimAndIndicator'
		},
		P1098 = {
			datatype = 'quantity',
			preset = 'quantity (date)',
			unit = 'стаг',
		},
		P1128 = {
			datatype = 'quantity',
			preset = 'quantity (date)',
			unit = 'стаг',
			['property-module'] = 'Wikidata/number',
			['property-function'] = 'formatPropertyWithMostRecentClaimAndIndicator'
		},
		P1174 = {
			datatype = 'quantity',
			preset = 'quantity (date)',
			unit = 'стаг',
		},
		P1195 = {
			['value-module'] = 'Wikidata/Software',
			['value-function'] = 'formatExtension',
			conjunction = ' йа ',
		},
		P1246 = {
			preset = 'link',
		},
		P1249 = { datatype = 'time', },
		P1402 = {
			preset = 'link',
		},
		P1448 = {
			datatype = 'monolingualtext',
			preset = 'name',
		},
		P1458 = {
			datatype = 'quantity',
			['property-module'] = 'Wikidata/number',
			['property-function'] = 'formatColorIndex'
		},
		P1476 = {
			preset = 'name',
		},
		P1477 = {
			datatype = 'monolingualtext',
			preset = 'name',
		},
		P1532 = {
			preset = 'country',
		},
		P1543 = {
			datatype = 'commonsMedia',
		},
		P1559 = {
			datatype = 'monolingualtext',
			preset = 'name',
		},
		P1621 = {
			size = '300x300px',
		},
		P1692 = {
            preset = 'link',
        },
		P1705 = {
			datatype = 'monolingualtext',
			preset = 'name',
		},
		P1753 = {
			rowArticle = true,
		},
		P1809 = {
			preset = 'list',
		},
		P2031 = {
			preset = 'from-to',
			to = 'P2032',
			within = 'P570',
		},
		P2043 = {
			datatype = 'quantity',
			preset = 'quantity (date)',
		},
		P2044 = { datatype = 'quantity', },
		P2046 = {
			datatype = 'quantity',
			preset = 'quantity (date)',
		},
		P2047 = {
			siConversion = false,
		},
		P2060 = {
			siConversion = false,
		},
		P2067 = {
			siConversion = false,
		},
		P2120 = {
			siConversion = false,
		},
		P2137 = {
			preset = 'quantity (date)',
			['property-module'] = 'Wikidata/number',
			['property-function'] = 'formatPropertyWithMostRecentClaimAndIndicator'
		},
		P2139 = {
			preset = 'quantity (date)',
			['property-module'] = 'Wikidata/number',
			['property-function'] = 'formatPropertyWithMostRecentClaimAndIndicator'
		},
		P2146 = {
			siConversion = false,
		},
		P2214 = {
			siConversion = false
		},
		P2226 = {
			preset = 'quantity (date)',
			['property-module'] = 'Wikidata/number',
			['property-function'] = 'formatPropertyWithMostRecentClaimAndIndicator'
		},	
		P2295 = {
			preset = 'quantity (date)',
			['property-module'] = 'Wikidata/number',
			['property-function'] = 'formatPropertyWithMostRecentClaimAndIndicator'
		},
		P2403 = {
			preset = 'quantity (date)',
			['property-module'] = 'Wikidata/number',
			['property-function'] = 'formatPropertyWithMostRecentClaimAndIndicator'
		},
		P2583 = {
			siConversion = false,
		},
		P2597 = {
			preset = 'catonly',
		},
		P2650 = { datatype = 'wikibase-item', },
		P2896 = {
			siConversion = false,
		},
		P2910 = {
			size = '100x80px',
		},
		P3083 = {
			formatter = 'http://simbad.u-strasbg.fr/simbad/sim-id?Ident=$1',
		},	
		P3086 = {
			siConversion = false,
		},
		P3362 = {
			preset = 'quantity (date)',
			['property-module'] = 'Wikidata/number',
			['property-function'] = 'formatPropertyWithMostRecentClaimAndIndicator'
		},
		P4614 = {
			category = 'P1200',
		},
		P6257 = {
			['value-module'] = 'Wikidata/number',
			['value-function'] = 'formatRA',
		},
		P6258 = {
			['value-module'] = 'Wikidata/number',
			['value-function'] = 'formatDMS',
		},
		P6259 = {
			['references'] = false,
		}
	},
	categories = {
		['links-to-entities-with-missing-label'] = 'Википеди:Викихаамаш чохь элементаш тӀе куьг доцу хьажоргаш йолу йаззамаш',
		['links-to-entities-with-wikibase-error'] = 'Википеди:Викихаамаш лелош йолу скриптийн гӀалаташ долу агӀонаш',
		['links-to-entities-with-missing-local-language-label'] = 'Википеди:Викихаамаш чохь элементаш тӀе нохчийн куьг доцу хьажоргаш йолу йаззамаш',
		['local-value-present'] = 'Википеди:Викихаамаш чохь маьӀнаш карладаьхна йаззамаш',
		['media-contains-local-caption'] = 'Википеди:Викихаамашкара суьртан локалан куьг',
		['media-contains-markup'] = 'Википеди:Суьртийн кепан вики-билгало йолу йаззамаш',
		['media-contains-local-double'] = 'Википеди:Йаззман чохь а, кепан тӀехь а цхьатерра суьрташ долу йаззамаш',
		['value-contains-table'] = 'Википеди:Кеп тӀехь таблицин диллар долу йаззамаш',
	},
	errors = {
		['property-param-not-provided'] = 'Бегалонан параметр цайазйина',
		['entity-not-found'] = 'Цакарина.',
		['unknown-claim-type'] = 'Дехаран цадевза тайпа.',
		['unknown-snak-type'] = 'Снэка цадевза тайпа.',
		['unknown-datavalue-type'] = 'Хаамийн маьӀнийн цадевза тайпа.',
		['unknown-entity-type'] = 'Лоьхучун тайпа цакарина.',
		['unknown-property-module'] = 'Ахьа дӀахӀотто йезаш йу property-module а, property-function а.',
		['unknown-claim-module'] = 'Ахьа дӀахӀотто йезаш йу claim-module а, claim-function а.',
		['unknown-value-module'] = 'Ахьа дӀахӀотто йезаш йу value-module а, value-function а.',
		['property-module-not-found'] = 'Билгало гойту модуль цакарина',
		['property-function-not-found'] = 'Билгало гойту функци цакарина',
		['claim-module-not-found'] = 'ТӀечӀагӀдар гойту модуль цакарина.',
		['claim-function-not-found'] = 'ТӀечӀагӀдар гойту функци цакарина.',
		['value-module-not-found'] = 'Чулацам гойту модуль цакарина.',
		['value-function-not-found'] = 'Чулацам гойту функци цакарина.',
	},
	i18n = {
		somevalue = "''хууш дац''",
		novalue = '',
		-- Хьостан латтам
		Q5727902 = '<span style="border-bottom: 1px dotted; cursor: help;" title="гергга, герггарчу хьесапехь">герг. </span>',
		Q18122778 = '<span style="border-bottom: 1px dotted; cursor: help;" title="тарлун">тарл. </span>',
		Q52834024 = '<span style="border-bottom: 1px dotted; cursor: help;" title="кӀезигаха">&lt; </span>',
	},
};