Module:Quotations/en/data

From Wiktionary, the free dictionary
Jump to navigation Jump to search

This module contains data for works in English and is used to format the parameters of {{Q|en|...}}.


local data = {}

data.authorAliases = { ['Dickens'] = 'Charles Dickens', ['Austen'] = 'Jane Austen', }

data['Charles Dickens'] = {}
	data['Charles Dickens'].aLink = 'Charles Dickens'
	data['Charles Dickens'].year = '1812–1870'
	data['Charles Dickens'].rlFormat1 = { 's:', '.rlTitle', '/Chapter ', '.ref1' }
	data['Charles Dickens'].rlFormat2 = { 's:', '.rlTitle', '/Chapter ', {'.convert', '.numToRoman', '.ref1'} }
	data['Charles Dickens'].works = {
		['The Pickwick Papers'] = {
			['year'] = '1836',
			['rlTitle'] = 'The Pickwick Papers',
			['rlFormat'] = 1,
			['wLink'] = 'The Pickwick Papers'
		},
		['Bleak House']	= {
			['year'] = '1852',
			['rlTitle'] = 'Bleak House',
			['rlFormat'] = 2,
			['wLink'] = 'Bleak House'
		},
		['David Copperfield']	= {
			['year'] = '1869',
			['rlTitle'] = 'David Copperfield',
			['rlFormat'] = 2,
			['wLink'] = 'David Copperfield'
		},
		['Dombey and Son']	= {
			['year'] = '1846',
			['rlTitle'] = 'Dombey and Son',
			['rlFormat'] = 1,
			['wLink'] = 'Dombey and Son'
		},
	}

data['Jane Austen'] = {}
	data['Jane Austen'].aLink = 'Jane Austen'
	data['Jane Austen'].year = '1775–1817'
	data['Jane Austen'].rlFormat1 = { 's:', '.rlTitle', '/Chapter ', '.ref1' }
	data['Jane Austen'].rlFormat2 = { 's:', '.rlTitle', '/Chapter ', { '.convert', '.numToRoman', '.ref1' } }
	data['Jane Austen'].works = {
		['Mansfield Park'] = {
			['year'] = '1814',
			['rlTitle'] = 'Mansfield Park',
			['rlFormat'] = 2,
			['wLink'] = 'Mansfield Park' },
		['Northanger Abbey'] = {
			['year'] = '1818',
			['rlTitle'] = 'Northanger Abbey',
			['rlFormat'] = 1,
			['wLink'] = 'Northanger Abbey'
		},
		['Pride and Prejudice'] = {
			['year'] = '1813',
			['rlTitle'] = 'Pride and Prejudice',
			['rlFormat'] = 1,
			['wLink'] = 'Pride and Prejudice'
		},
		['Sense and Sensibility'] = {
			['year'] = '1811',
			['rlTitle'] = 'Sense and Sensibility',
			['rlFormat'] = 1,
			['wLink'] = 'Sense and Sensibility'
		},
	}

-- at Portal:Westminster Assembly, not Author:Westminster Assembly
-- data['Westminster Assembly'] = {} 
--	data['Westminster Assembly'].works = {['Westminster Shorter Catechism'] = {['year'] = '1647', ['rlTitle'] = 'Westminster Shorter Catechism', ['rlFormat'] = 1, ['wLink'] = 'Westminster Shorter Catechism'},
--											['Westminster Larger Catechism'] = {['year'] = '1647?', ['rlTitle'] = 'Westminster Larger Catechism', ['rlFormat'] = 1, ['wlink'] = 'Westminster Larger Catechism'}}
--											
return { ['data'] = data }