Please make sure your email address matches on the wiki and website as we'll be migrating to PCB logins in the near future. |
Difference between revisions of "MediaWiki:WikiLove.js"
Jump to navigation
Jump to search
TheOctopus (talk | contribs) |
TheOctopus (talk | contribs) |
||
Line 9: | Line 9: | ||
$.extend(true, $.wikiLoveOptions, { | $.extend(true, $.wikiLoveOptions, { | ||
types: { | types: { | ||
' | 'minecraft': { | ||
name: | name: "Minecraft", // name of the type (appears in the types menu) | ||
select: | select: "Minecraft based awards", // subtype select label | ||
subtypes: { // some different subtypes | subtypes: { // some different subtypes | ||
// note that when not using subtypes you should use these subtype options | // note that when not using subtypes you should use these subtype options |
Revision as of 21:48, 18 December 2015
delete $.wikiLoveOptions.types.kitten;
delete $.wikiLoveOptions.types.barnstar;
delete $.wikiLoveOptions.types.food;
( function ( $ ) {
'use strict';
$.extend(true, $.wikiLoveOptions, {
types: {
'minecraft': {
name: "Minecraft", // name of the type (appears in the types menu)
select: "Minecraft based awards", // subtype select label
subtypes: { // some different subtypes
// note that when not using subtypes you should use these subtype options
// for the top-level type
'diamond': {
fields: [ 'message' ], // fields to ask for in form
option: "Diamond", // option listed in the select list
descr: "Diamonds are one of the rarest and most recognizable materials in Minecraft." // description
image: 'Diamond.png' // image for the award
},
icon: 'http://hydra-media.cursecdn.com/minecraft.gamepedia.com/c/c5/Grass.png' // icon for left-side menu
},
}
}
});
}( jQuery ) );
//</nowiki>