Анонимный участник
Модуль:Wikidata: различия между версиями
Новая страница: «Test»
/>Vlsergey (Новая страница: «Test») |
/>Vlsergey (Новая страница: «Test») |
||
Строка 282: | Строка 282: | ||
-- create context | -- create context | ||
local context = { formatSnak = formatSnak, formatPropertyDefault = formatPropertyDefault, formatStatementDefault = formatStatementDefault } | local context = { | ||
entity = options.entity, | |||
formatSnak = formatSnak, | |||
formatPropertyDefault = formatPropertyDefault, | |||
formatStatementDefault = formatStatementDefault } | |||
context.formatProperty = function( options ) | context.formatProperty = function( options ) | ||
local func = getUserFunction( options, 'property', context.formatPropertyDefault ); | local func = getUserFunction( options, 'property', context.formatPropertyDefault ); |