Module:AutomaticArchiveNavigator/config

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Lua
CodeDiscussionEditHistoryLinksLink count Subpages:DocumentationTestsResultsSandboxLive code All modules

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

Code

--------------------------------------------------------------------------------
--              Configuration for Module:AutomaticArchiveNavigator
--
-- This module contains configuration data for
-- [[Module:AutomaticArchiveNavigator]]. It can be used to easily translate the
-- module for use on other wikis, as well as changing settings like the default
-- archive prefix and the default link count.
--------------------------------------------------------------------------------

return {

--------------------------------------------------------------------------------
-- Image
--------------------------------------------------------------------------------

-- The default icon for the archive banner.
['default-icon'] = 'Replacement filing cabinet.svg',

-- The image size, unless a custom image is specified with the "image"
-- parameter.
['image-size'] = '40x40px',

--------------------------------------------------------------------------------
-- Archive links
--------------------------------------------------------------------------------

-- The default prefix for archive pages on this wiki. This is the subpage text
-- minus the archive number itself. So if the full page name of a typical
-- archive was "Talk:France/Archive 12", the prefix would be "Archive ". This
-- message is used to detect whether the current page is an archive page.
['archive-prefix'] = 'Archive ',

-- The display value to use for long archive links. These are used if seven or
-- less links are output.
-- $1 - The archive number.
['archive-link-display'] = 'Archive $1',

-- The default number of archive links to output.
['default-link-count'] = 7

}