Module:Spoken Wikipedia/configuration

From KYNNpedia
Revision as of 16:23, 14 May 2023 by imported>TheDJ (noicon has long been deprecated)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Spoken Wikipedia/configuration/doc

return {
	templatestyles = 'Module:Spoken Wikipedia/styles.css',
	i18n = {
		this_article = 'this article',
		this_page = 'this page',
		minute = 'minute',
		minutes = 'minutes',
		hour = 'hour',
		hours = 'hours',
		listento = 'Listen to %s',
		one_file_disclaimer = '[[:File:%s|This audio file]] was created from a revision of %s dated %s, and does not reflect subsequent edits.',
		-- first %s in n_files_disclaimer is a dummy
		n_files_disclaimer = '%sThese audio files were created from a revision of %s dated %s, and do not reflect subsequent edits.',
		one_file_length = ' (%s)',
		n_files_length = '<br/>(%s&nbsp;parts, %s)',
		one_file = '[[File:%s|200px|center]]',
		n_files = '\n# [[File:%s|180px|Part %d]]',
		topicon_multiwikilink = 'Wikipedia:WikiProject Spoken Wikipedia',
		icon = '[[File:Sound-icon.svg|45px|alt=Spoken Wikipedia icon|link=|Spoken Wikipedia]]',
		footer = '([[Project:Media help|Audio help]]&nbsp;· [[Project:Spoken articles|More spoken articles]])',
		err = {
			no_filename = 'Error: no filename provided',
			no_date = 'Error: no date provided'
		},
		cat = {
			no_filename = '[[Category:Spoken Wikipedia without file]]',
			no_date = '[[Category:Spoken Wikipedia without date]]',
			articles = '[[Category:Articles with hAudio microformats]][[Category:Spoken articles]]'
		},
		class = {
			err = 'error',
			box = 'spoken-wikipedia sisterproject noprint haudio',
			header = 'spoken-wikipedia-header',
			listento = 'spoken-wikipedia-listen-to',
			icon = 'spoken-wikipedia-icon',
			files = 'spoken-wikipedia-files',
			disclaimer = 'spoken-wikipedia-disclaimer',
			footer = 'spoken-wikipedia-footer'
		}
	}
}