Zum Inhalt springen

„Modul:Excerpt/config“ – Versionsunterschied

aus Wikipedia, der freien Enzyklopädie
[gesichtete Version][gesichtete Version]
Inhalt gelöscht Inhalt hinzugefügt
Keine Bearbeitungszusammenfassung
Update scheme to 1.2
 
Zeile 2: Zeile 2:


-- Templates that should never be transcluded
-- Templates that should never be transcluded
templates = {
blacklist = {
'.*[Ii]nfobox.*', -- infoboxes
'.*[Ii]nfobox.*', -- infoboxes
'Begriffsklärungshinweis',
'Begriffsklärungshinweis',

Aktuelle Version vom 14. Juni 2022, 21:32 Uhr

Die Dokumentation für dieses Modul kann unter Modul:Excerpt/config/Doku erstellt werden

return {

	-- Templates that should never be transcluded
	blacklist = {
		'.*[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'
}