„Modul:Excerpt/config“ – Versionsunterschied
Erscheinungsbild
Inhalt gelöscht Inhalt hinzugefügt
AZ: Die Seite wurde neu angelegt: return { -- Templates that should never be transcluded templates = { '.*[Ii]nfobox.*', -- infobox… |
(kein Unterschied)
|
Version vom 1. September 2020, 18:16 Uhr
Die Dokumentation für dieses Modul kann unter Modul:Excerpt/config/Doku erstellt werden
return {
-- Templates that should never be transcluded
templates = {
'.*[Ii]nfobox.*', -- infoboxes
'Begriffsklärungshinweis',
'Hauptartikel',
},
-- 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',
},
-- Title of the template styles (optional)
--styles = 'Excerpt/styles.css'
}