Module:Shortcut/config

From FAMEPedia, The free encyclopedia
< Module:Shortcut
This is the current revision of this page, as edited by Cocopuff2018 (talk | contribs) at 23:43, 18 August 2021 (1 revision imported: h). The present address (URL) is a permanent link to this version.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Module documentation[create]
-- This module holds configuration data for [[Module:Shortcut]].

return {

-- The heading at the top of the shortcut box. It accepts the following parameter:
-- $1 - the total number of shortcuts. (required)
['shortcut-heading'] = '[[FAMEPedia:Shortcut|{{PLURAL:$1|Shortcut|Shortcuts}}]]',

-- 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'] = 'shortcut #$1 was invalid (shortcuts must be ' ..
	'strings of at least one character in length)',

-- A category to add when the no-content-error message is displayed. (optional)
['no-content-error-category'] = 'Shortcut templates with missing parameters',
}