Module:Excerpt/config: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Paisley Park (talk | contribs) No edit summary |
Paisley Park (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
blacklist = { |
blacklist = { |
||
'.*[Ii]nfobox.*', '.*[Ii]nfo.*', '[Ee]xtension', '[Tt]ool', '[Ss]kin', -- infoboxes |
'.*[Ii]nfobox.*', '.*[Ii]nfo.*', '[Ee]xtension', '[Tt]ool', '[Ss]kin', -- infoboxes |
||
'[Qq]uote', |
'[Qq]uote', '[Ss]poiler', |
||
}, |
}, |
||
Revision as of 03:35, 2 April 2023
Documentation for this module may be created at Module:Excerpt/config/doc
return {
-- Templates that should never be transcluded
blacklist = {
'.*[Ii]nfobox.*', '.*[Ii]nfo.*', '[Ee]xtension', '[Tt]ool', '[Ss]kin', -- infoboxes
'[Qq]uote', '[Ss]poiler',
},
-- 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',
}