Модул:Пречица/config — разлика између измена
Пређи на навигацију
Пређи на претрагу
Нема описа измене |
м (1 измена увезена) |
||
| (Нису приказане 2 међуизмене 2 корисника) | |||
| Ред 1: | Ред 1: | ||
-- This module holds configuration data for [[ | -- This module holds configuration data for [[Modul:Prečica]]. | ||
return { | return { | ||
| Ред 5: | Ред 5: | ||
-- The heading at the top of the shortcut box. It accepts the following parameter: | -- The heading at the top of the shortcut box. It accepts the following parameter: | ||
-- $1 - the total number of shortcuts. (required) | -- $1 - the total number of shortcuts. (required) | ||
['shortcut-heading'] = '[[ | ['shortcut-heading'] = '[[Vojna Enciklopedija:Prečica|{{PLURAL:$1|Prečica|Prečice|Prečica}}]]:', | ||
-- The error message to display when a shortcut is invalid (is not a string, or | -- The error message to display when a shortcut is invalid (is not a string, or | ||
-- is the blank string). It accepts the following parameter: | -- is the blank string). It accepts the following parameter: | ||
-- $1 - the number of the shortcut in the argument list. (required) | -- $1 - the number of the shortcut in the argument list. (required) | ||
['invalid-shortcut-error'] = ' | ['invalid-shortcut-error'] = 'Prečica #$1 je pogrešna (prečice moraju da budu ' .. | ||
' | 'niske dužine od najmanje jednog karaktera).', | ||
-- The error message to display when no shortcuts or other displayable content | -- The error message to display when no shortcuts or other displayable content | ||
-- were specified. (required) | -- were specified. (required) | ||
['no-content-error'] = ' | ['no-content-error'] = 'Greška: Nijedna prečica nije unesena i parametar ' .. | ||
mw.text.nowiki('|msg=') .. | mw.text.nowiki('|msg=') .. | ||
' | ' nije postavljen.', | ||
-- A category to add when the no-content-error message is displayed. (optional) | -- A category to add when the no-content-error message is displayed. (optional) | ||
['no-content-error-category'] = ' | ['no-content-error-category'] = 'Šabloni za prečice sa nepopunjenim parametrima', | ||
-- The error category to add if the shortcut listed in the first parameter | |||
-- doesn't exist. (optional) | |||
['first-parameter-error-category'] = 'Prvi parametar Vikipedijine kutijice za prečice treba da se popravi', | |||
} | } | ||
Тренутна верзија на датум 5. фебруар 2021. у 13:51
Документацију овог модула можете да направите на страници Модул:Пречица/config/док
-- This module holds configuration data for [[Modul:Prečica]].
return {
-- The heading at the top of the shortcut box. It accepts the following parameter:
-- $1 - the total number of shortcuts. (required)
['shortcut-heading'] = '[[Vojna Enciklopedija:Prečica|{{PLURAL:$1|Prečica|Prečice|Prečica}}]]:',
-- The error message to display when a shortcut is invalid (is not a string, or
-- is the blank string). It accepts the following parameter:
-- $1 - the number of the shortcut in the argument list. (required)
['invalid-shortcut-error'] = 'Prečica #$1 je pogrešna (prečice moraju da budu ' ..
'niske dužine od najmanje jednog karaktera).',
-- The error message to display when no shortcuts or other displayable content
-- were specified. (required)
['no-content-error'] = 'Greška: Nijedna prečica nije unesena i parametar ' ..
mw.text.nowiki('|msg=') ..
' nije postavljen.',
-- A category to add when the no-content-error message is displayed. (optional)
['no-content-error-category'] = 'Šabloni za prečice sa nepopunjenim parametrima',
-- The error category to add if the shortcut listed in the first parameter
-- doesn't exist. (optional)
['first-parameter-error-category'] = 'Prvi parametar Vikipedijine kutijice za prečice treba da se popravi',
}