Zum Inhalt springen

„Modul:Excerpt/config“ – Versionsunterschied

aus Wikipedia, der freien Enzyklopädie
[ungesichtete Version][gesichtete Version]
Inhalt gelöscht Inhalt hinzugefügt
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 23: Zeile 23:


-- Title of the template styles (optional)
-- Title of the template styles (optional)
--styles = 'Exzerpt/styles.css'
styles = 'Exzerpt/styles.css'
}
}

Version vom 2. September 2020, 15:14 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 = 'Inhaltsseiten mit Exzerpten',
		errors = 'Inhaltsseiten mit defekten Exzerpten',
		--[0] = 'Articles with excerpts',
		--[1] = 'Talk pages with excerpts',
	},

	-- Title of the template styles (optional)
	styles = 'Exzerpt/styles.css'
}