Модуль:ScribuntoUnit/config
Зовнішній вигляд

![]() | Цей модуль позначений як К:реліз, готовий до загального вжитку (65). Він досягнув стадії готовності й вважається, що вільний від помилок і може використовуватись всюди, де знадобиться. Його можна вживати на допоміжних сторінках та інших сторінках Вікіпедії як можливість для навчання новачків. Аби зменшити навантаження на сервери та некоректний показ сторінок, його можна вдосконалювати в рамцях чернеткового тестування[en], а не з застосуванням спроб і помилок. |
Модуль містить конфігураційні дані для Модуль:ScribuntoUnit.
Документація вище включена з Модуль:ScribuntoUnit/config/документація. (ред. | історія) Дописувачі можуть експериментувати на підсторінках пісочниця (створити | дзеркало) та тести (створити) цього модуля. Будь ласка, додавайте категорії до підсторінки /config/документація. Підсторінки цієї сторінки. |
-- The cfg table, created by this module, contains all localisable strings and
-- configuration, to make it easier to port this module to another wiki.
local cfg = {} -- Do not edit this line.
-- The successIndicator and failureIndicator are in the first column of the
-- wikitable produced as output and indicate whether the test passed. These two
-- strings are preprocessed by frame.preprocess.
-- successIndicator: if the test passes
-- failureIndicator: if the test fails
cfg.successIndicator = "{{tick}}"
cfg.failureIndicator = "{{cross}}"
-- The names of the columns Name, Expected and Actual (the other three columns,
-- in this order)
cfg.nameString = "Назва"
cfg.expectedString = "Очікуваний"
cfg.actualString = "Фактичний"
-- The string at the top used to indicate all tests passed.
cfg.successSummary = "Усі тести пройдено."
-- The string at the top used to indicate one or more tests failed. $1 is
-- replaced by the number of tests that failed. This string is preprocessed by
-- frame.preprocess.
cfg.failureSummary = "'''$1 {{PLURAL:$1|тест не пройшов|тести не пройшли|тестів не пройшло}}'''."
-- Format string for a short display of the tests in displayResultsAsShort.
-- This format string is passed directly to string.format.
cfg.shortResultsFormat = "успішно: %d, помилок: %d, пропущено: %d"
-- Category added to pages that fail one or more tests. Set to nil to disable
-- categorisation of pages that fail one or more tests.
cfg.failureCategory = "[[Категорія:Невдалі тести Lua при використанні Модуль:ScribuntoUnit]]"
-- Finally, return the configuration table.
return cfg -- Do not edit this line.