Module:Work data/properties
Appearance
This is a data table of common Wikidata properties and items for general bibliographic content.
When loaded with mw.loadData(), it will only be loaded once.
However, as it will be loaded by many modules, avoid needlessly adding properties and values that are useful to only a small number of callers, as this will increase memory consumption for ALL callers (i.e. don't add EVERY WD property to this table). Specifically, don't add every authority control property either, they can go in a separate table.
--[=[
This is a data table of common Wikidata properties and items for general
bibliographic content.
Add to this IF NEEDED, but not pro-actively.
]=]
return {
props = {
isA = 'P31',
title = 'P1476',
pubDate = 'P577',
author = 'P50',
translator = 'P655',
editor = 'P98',
illustrator = 'P110',
volume = 'P478',
issue = 'P433',
pages = 'P304',
publishedIn = 'P1433',
inception = 'P571',
copyrightStatus = 'P6216'
},
items = {
-- nearly all WD works should be one of these
edition = 'Q3331189',
}
}