Module:Excerpt/config: Difference between revisions
Jump to navigation
Jump to search
(Created page with "return { -- Templates that should never be transcluded blacklist = { '2021 United States Capitol attack', '2021 storming of the United States Capitol', '[Aa]bout', '[Tt]his', '[Tt]his article is about', '[Aa]griculture', '[Aa]nchor', '[Bb]roader', '[Cc]ampaignbox', '[Cc]ampaign', '[Cc]itations broken from PEIS limit', '[Cc]oor', '[Ll]ocation', '[Ll]ocation dec', '[Cc]o%-ord', -- Coordinates '[Cc]urrent', '[Ff]lux', '[Ll]ive', '[Oo]n ?going', '[Rr]ece...") |
No edit summary |
||
Line 3: | Line 3: | ||
-- Templates that should never be transcluded | -- Templates that should never be transcluded | ||
blacklist = { | blacklist = { | ||
}, | }, | ||
Latest revision as of 03:57, 9 January 2024
Documentation for this module may be created at Module:Excerpt/config/doc
return {
-- Templates that should never be transcluded
blacklist = {
},
-- Map from image parameters to captions
-- Used for extracting the file out of the infobox
captions = {
{'map1', {'legend1'} },
{'map2', {'legend2'} },
{'image', {'image_caption', 'caption', 'description'} },
{'logo', {'logo_caption'} },
},
-- Tracking categories (without the category namespace)
categories = {
content = 'Articles with excerpts',
errors = 'Articles with broken excerpts',
--[0] = 'Articles with excerpts',
},
-- Prefix for generating the hatnote
hat = '{{hatnote|extraclasses=dablink excerpt-hat|selfref=yes|1=',
-- Title of the template styles (optional)
styles = 'Excerpt/styles.css'
}