Alvin and the Chipmunks Wiki
Alvin and the Chipmunks Wiki
(Support updates. Removed spoiler as updated script does not behave as originally intended. References script is still not fully supported.)
(ReferencePopup should be supported now, AdvancedHeaderTheme is discontinued with FandomDesktop, Font script to be rewritten, UTC clock not supported on FandomDesktop yet.)
Line 11: Line 11:
 
}
 
}
 
},
 
},
  +
// Awaiting FandomDesktop Support
"clock": {
 
"title": "UTC Clock",
+
// "clock": {
"description": "Adds a UTC clock to the page header",
+
// "title": "UTC Clock",
"group": "extras",
+
// "description": "Adds a UTC clock to the page header",
"articles": [
+
// "group": "extras",
"dev:UTCClock/code.js"
+
// "articles": [
],
+
// "dev:UTCClock/code.js"
"preferences": {
+
// ],
"requiresGlobalPrefs": true,
+
// "preferences": {
"globalPrefNamespace": "DisplayClockJS",
+
// "requiresGlobalPrefs": true,
"enabled": false,
+
// "globalPrefNamespace": "DisplayClockJS",
"format": "%2H:%2M:%2S %p %2d %B %Y (UTC)"
+
// "enabled": false,
  +
// "format": "%2H:%2M:%2S %p %2d %B %Y (UTC)"
}
 
},
+
// }
 
// },
 
"countdown": {
 
"countdown": {
 
"title": "Countdown Clocks",
 
"title": "Countdown Clocks",
Line 36: Line 37:
 
}
 
}
 
},
 
},
  +
// To Be Rewritten
"font": {
 
"title": "Totally Nuts Font",
+
// "font": {
 
// "title": "Totally Nuts Font",
"description": "Removes custom font from text areas with exception of article and rail headers",
+
// "description": "Removes custom font from text areas with exception of article and rail headers",
"group": "design",
 
"articles": [
+
// "group": "design",
"Wikia.css/totally-nuts.css"
+
// "articles": [
 
// "Wikia.css/totally-nuts.css"
],
 
"preferences": {
+
// ],
"enabled": false
+
// "preferences": {
}
+
// "enabled": false
},
+
// }
"header": {
+
// },
"title": "Advanced Header Theme",
 
"description": "Modifies the page navigation header style to better match Munkapedia's theming",
 
"group": "design",
 
"articles": [
 
"Advanced Header Theme.css"
 
],
 
"preferences": {
 
"enabled": false
 
}
 
},
 
 
"ratings": {
 
"ratings": {
 
"title": "Star Ratings",
 
"title": "Star Ratings",
Line 69: Line 60:
 
}
 
}
 
},
 
},
 
"references": {
// AWAITING SUPPORT
 
 
"title": "Reference Popups",
// "references": {
 
 
"description": "Adds a floating citation box on hover of a reference number",
// "title": "Reference Popups",
 
 
"group": "extras",
// "description": "Adds a floating citation box on hover of a reference number",
 
// "group": "extras",
+
"articles": [
// "articles": [
+
"dev:ReferencePopups/code.js"
 
],
// "dev:ReferencePopups/code.js"
 
// ],
+
"preferences": {
// "preferences": {
+
"enabled": true
// "enabled": true
+
}
// }
+
},
// },
 
 
"snow": {
 
"snow": {
 
"title": "Snow",
 
"title": "Snow",

Revision as of 17:35, 1 August 2021

codeLoad.definitions = {
    "backtotop": {
        "title": "Back to Top Button",
        "description": "Adds a back to top button on the bottom toolbar",
        "group": "tools",
        "articles": [
            "dev:BackToTopButton/code.js"
        ],
        "preferences": {
            "enabled": true
        }
    },
// Awaiting FandomDesktop Support
//    "clock": {
//        "title": "UTC Clock",
//        "description": "Adds a UTC clock to the page header",
//        "group": "extras",
//        "articles": [
//            "dev:UTCClock/code.js"
//        ],
//        "preferences": {
//            "requiresGlobalPrefs": true,
//            "globalPrefNamespace": "DisplayClockJS",
//            "enabled": false,
//            "format": "%2H:%2M:%2S %p %2d %B %Y (UTC)"
//        }
//    },
    "countdown": {
        "title": "Countdown Clocks",
        "description": "Adds clocks that countdown to specific events and releases",
        "group": "content",
        "articles": [
            "dev:Countdown/code.js"
        ],
        "preferences": {
            "enabled": true
        }
    },
// To Be Rewritten
//    "font": {
//        "title": "Totally Nuts Font",
//        "description": "Removes custom font from text areas with exception of article and rail headers",
//        "group": "design",
//        "articles": [
//            "Wikia.css/totally-nuts.css"
//        ],
//        "preferences": {
//            "enabled": false
//        }
//    },
    "ratings": {
        "title": "Star Ratings",
        "description": "Adds five star ratings to episode, special, and film pages",
        "group": "content",
        "articles": [
            "Wikia.js/star-ratings.js"
        ],
        "preferences": {
            "enabled": true
        }
    },
    "references": {
        "title": "Reference Popups",
        "description": "Adds a floating citation box on hover of a reference number",
        "group": "extras",
        "articles": [
            "dev:ReferencePopups/code.js"
        ],
        "preferences": {
            "enabled": true
        }
    },
    "snow": {
        "title": "Snow",
        "description": "Creates a gentle winter snowfall in the wiki's background",
        "group": "design",
        "articles": [
            "Wikia.js/snow.js"
        ],
        "preferences": {
            "enabled": false,
            "flakesMax": 115,
            "flakesMaxActive": 65,
            "followMouse": false,
            "useMeltEffect": true,
            "useTwinkleEffect": false,
            "usePositionFixed": true
        }
    },
};

codeLoad.groups = {
    "extras": "Site enhancements",
    "design": "Site styling",
    "tools": "Tools",
    "content": "Content additions (Disabling not recommended)"
};

codeLoad.prefDescriptions = {
    "format": "Display formatting",
    "flakesMax": "Max flakes made",
    "flakesMaxActive": "Max flakes falling",
    "followMouse": "Snow interacts with mouse",
    "useMeltEffect": "Snow melts when falling",
    "useTwinkleEffect": "Snow twinkling",
    "usePositionFixed": "Snow fixed when scrolling"
};