„Modul:Excerpt/config“ – Versionsunterschied
Erscheinungsbild
[ungesichtete Version] | [ungesichtete Version] |
Inhalt gelöscht Inhalt hinzugefügt
AZ: Die Seite wurde neu angelegt: return { -- Templates that should never be transcluded templates = { '.*[Ii]nfobox.*', -- infobox… |
Keine Bearbeitungszusammenfassung |
||
Zeile 11: | Zeile 11: | ||
-- Used for extracting files out of infoboxes |
-- Used for extracting files out of infoboxes |
||
captions = { |
captions = { |
||
{' |
{'Bild', {'Bildtext'} }, |
||
}, |
}, |
||
Version vom 1. September 2020, 18:17 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 = {
{'Bild', {'Bildtext'} },
},
-- 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'
}