Module:Excerpt/config

From JoJo's Bizarre Encyclopedia - JoJo Wiki
< Module:Excerpt
Revision as of 02:59, 2 April 2023 by Paisley Park (talk | contribs) (Created page with "return { -- Templates that should never be transcluded blacklist = { '.*[Ii]nfobox.*', '[Ee]xtension', '[Tt]ool', '[Ss]kin', -- infoboxes }, -- Map from image parameters to captions -- Used for extracting files out of infoboxes captions = { {'image', {'description'} }, }, -- Tracking categories (without the category namespace) categories = { content = 'Content pages with excerpts', errors = 'Content pages with broken excerpts', --[0] = 'Articles wit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

return {

	-- Templates that should never be transcluded
	blacklist = {
		'.*[Ii]nfobox.*', '[Ee]xtension', '[Tt]ool', '[Ss]kin', -- infoboxes
	},

	-- Map from image parameters to captions
	-- Used for extracting files out of infoboxes
	captions = {
		{'image', {'description'} },
	},

	-- Tracking categories (without the category namespace)
	categories = {
		content = 'Content pages with excerpts',
		errors = 'Content pages with broken excerpts',
		--[0] = 'Articles with excerpts',
		--[1] = 'Talk pages with excerpts',
	},

	-- Prefix for generating the hatnote
	--hat = '{{#hatnote|selfref=yes|1=',

	-- Title of the template styles
	--styles = 'Excerpt/styles.css',
}