Title: Module:Shortcut/config - freem URL Source: https://freemwiki.com/wiki/Module:Shortcut/config Markdown Content: _Documentation for this module may be created at [Module:Shortcut/config/doc](https://freemwiki.com/index.php?title=Module:Shortcut/config/doc&action=edit&redlink=1 "Module:Shortcut/config/doc (page does not exist)")_ [](https://freemwiki.com/wiki/Module:Shortcut/config#L-1)-- This module holds configuration data for [[[Module:Shortcut]]](https://freemwiki.com/wiki/Module:Shortcut "Module:Shortcut").[](https://freemwiki.com/wiki/Module:Shortcut/config#L-2)[](https://freemwiki.com/wiki/Module:Shortcut/config#L-3)return {[](https://freemwiki.com/wiki/Module:Shortcut/config#L-4)[](https://freemwiki.com/wiki/Module:Shortcut/config#L-5)-- The heading at the top of the shortcut box. It accepts the following parameter:[](https://freemwiki.com/wiki/Module:Shortcut/config#L-6)-- $1 - the total number of shortcuts. (required)[](https://freemwiki.com/wiki/Module:Shortcut/config#L-7)['shortcut-heading'] = '[[Wikipedia:Shortcut|{{PLURAL:$1|Shortcut|Shortcuts}}]]',[](https://freemwiki.com/wiki/Module:Shortcut/config#L-8)[](https://freemwiki.com/wiki/Module:Shortcut/config#L-9)-- The heading when |redirect=yes is given. It accepts the following parameter:[](https://freemwiki.com/wiki/Module:Shortcut/config#L-10)-- $1 - the total number of shortcuts. (required)[](https://freemwiki.com/wiki/Module:Shortcut/config#L-11)['redirect-heading'] = '[[Wikipedia:Redirect|{{PLURAL:$1|Redirect|Redirects}}]]',[](https://freemwiki.com/wiki/Module:Shortcut/config#L-12)[](https://freemwiki.com/wiki/Module:Shortcut/config#L-13)-- The error message to display when a shortcut is invalid (is not a string, or[](https://freemwiki.com/wiki/Module:Shortcut/config#L-14)-- is the blank string). It accepts the following parameter:[](https://freemwiki.com/wiki/Module:Shortcut/config#L-15)-- $1 - the number of the shortcut in the argument list. (required)[](https://freemwiki.com/wiki/Module:Shortcut/config#L-16)['invalid-shortcut-error'] = 'shortcut #$1 was invalid (shortcuts must be ' ..[](https://freemwiki.com/wiki/Module:Shortcut/config#L-17)'strings of at least one character in length)',[](https://freemwiki.com/wiki/Module:Shortcut/config#L-18)[](https://freemwiki.com/wiki/Module:Shortcut/config#L-19)-- The error message to display when no shortcuts or other displayable content[](https://freemwiki.com/wiki/Module:Shortcut/config#L-20)-- were specified. (required)[](https://freemwiki.com/wiki/Module:Shortcut/config#L-21)['no-content-error'] = 'Error: no shortcuts were specified and the ' ..[](https://freemwiki.com/wiki/Module:Shortcut/config#L-22)mw.text.nowiki('|msg=') ..[](https://freemwiki.com/wiki/Module:Shortcut/config#L-23)' parameter was not set.',[](https://freemwiki.com/wiki/Module:Shortcut/config#L-24)[](https://freemwiki.com/wiki/Module:Shortcut/config#L-25)-- A category to add when the no-content-error message is displayed. (optional)[](https://freemwiki.com/wiki/Module:Shortcut/config#L-26)['no-content-error-category'] = 'Shortcut templates with missing parameters',[](https://freemwiki.com/wiki/Module:Shortcut/config#L-27)}