User:Lkovezk/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.
// quickpresets default settings
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: "USA", qid: 30},
{name: "Germany", qid: 183},
//...
]
},
// Next group of presets for another type of items comes here.
]
},
]