User:Mfchris84/quickpresets settings.js
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
quick_props = [
{
qid: 5, // Only apply this preset-block for items with instance of (P31) set to 5
name: "Human", // Label that should be shown for this group
defaults: [ // List all Preset for this group
{
name: "Gender",
pid: 21, // ID of the property that should be proposed
values: [ // values of the items that should be proposed for this pid
{name: "male", qid: 6581097},
{name: "femal", qid: 6581072},
{name: "intersexual", qid: 1097630},
//...
]
},
{
name: "Citizenship",
pid: 27,
values: [
{name: "Austria", qid: 40},
{name: "Germany", qid: 183},
{name: "Switzerland", qid: 39}
//...
]
},
{
name: "Language",
pid: 1412,
values: [
{name: "German", qid: 188},
{name: "English", qid: 1860},
//...
]
},
{
name: "poB",
pid: 19,
values: [
{name: "Lucerne", qid: 4191}
//...
]
},
{
name: "poD",
pid: 20,
values: [
{name: "Lucerne", qid: 4191}
//...
]
},
{
name: "Buergerot",
pid: 1321,
values: [
{name: "Lucerne", qid: 4191}
//...
]
},
{
name: "Religion",
pid: 140,
values: [
{name: "Katholisch", qid: 1841},
{name: "Altkatholisch", qid: 5169816} //...
]
},
// Next group of presets for another type of items comes here.
]
},
{
// Marterl-> https://www.wikidata.org/wiki/Q3395121
qid: [3395121,51845395,2212912,108325,17156398,695992], // Only apply this preset-block for items with instance of (P31) set to 5
name: "Wayside Shrines", // Label that should be shown for this group
defaults: [ // List all Preset for this group
{
name: "Country",
pid: 17, // ID of the property that should be proposed
values: [ // values of the items that should be proposed for this pid
{name: "Austria", qid: 40},
]
},
{
name: "LocAdmin",
pid: 131,
values: [
{name: "Schönberg", qid: 684483},
{name: "Leonhard", qid: 666522},
{name: "Gars am Kamp", qid: 174400}
]
},
{
name:"KG",
pid: 276,
values: [
{name: "Thunau", qid: 1366206},
{name: "Zitternberg", qid: 206661},
{name: "Wanzenau", qid: 1254827},
{name: "Wolfshof", qid: 1323940},
{name: "Etzmannsdorf", qid: 1372021},
{name: "Kamegg", qid: 1722899},
{name: "Maiersch", qid: 1751613},
{name: "Kotzendorf", qid: 1785525},
{name: "Tautdenorf", qid: 1802649},
{name: "Nonndorf", qid: 1996244},
{name: "Buchberg", qid: 997959}
]
},
{
name: "LocEcclest",
pid: 5607,
values: [
{name: "St. Leonhard", qid: 105317050},
{name: "Tautendorf", qid: 105317055},
{name: "Gars", qid:105316672}
//...
]
},
{
name: "depicts",
pid: 180,
values: [
{name: "Kreuzigung", qid: 51636},
{name: "Immaculata", qid: 185606},
{name: "Pietà", qid: 223689},
{name: "Dreieichen-Pietà", qid: 110237257},
{name: "Maria mit Kind", qid: 18683108},
{name: "Dreifaltigkeit", qid: 37090}
]
},
{
name: "DescSource",
pid: 1343,
values: [
{name: "Kamptaler Sakrallandschaften", qid: 108867519},
{name: "ÖKT Horn", qid: 105824260},
{name: "ÖKT Krems", qid: 108899562}
]
},
{
name: "Material",
pid: 186,
values: [
{name: "Stein", qid: 22731},
{name: "Gusseisen", qid: 483269},
{name: "Holz", qid: 287},
{name: "Schmiedeisen", qid: 860451}
]
}
// Next group of presets for another type of items comes here.
]
}
]