Module:Shortcut/config

    From Nonbinary Wiki
    < Module:Shortcut
    Revision as of 06:20, 15 December 2014 by wikipedia>Mr. Stradivarius (create config module for Module:Shortcut)
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

    Documentation for this module may be created at Module:Shortcut/config/doc

    -- 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.
    ['shortcut-heading'] = '[[Wikipedia:Shortcut|{{PLURAL:$1|Shortcut|Shortcuts}}]]:',
    
    -- The error category to add if the shortcut listed in the first parameter
    -- doesn't exist.
    ['first-parameter-error-category'] = 'Wikipedia shortcut box first parameter needs fixing',
    
    }