User:Ultimate Dark Carnage/advancedui.js

(function($, mw, _advancedui){   if (mw.config.get('skin') == 'oasis' || mw.config.get('skin') == 'wikia'){        advancedui.openMenu = function(heading, id, config){            if (!heading || !id || !config){                return;            }            else {                var menuHTML =                    '' +                        '' +                            ' ' + heading + ' ' +                            '' +                                '' +                            '' +                        ' ' +                        ' ' + config.content + ' '                        '' +                            ' ' + config.footer + ' ' + ' ' +                   ' ';                $('.WikiaSiteWrapper').append($(' ', { "class": "AdvancedUIMenuBlackout advanced-ui-menu-blackout", "id": id, "data-name": heading, html: menuHTML }));           }        };        advancedui.radio = function(title, name, options){ var option; var radio = '' + ' ' +                       ' ' + title + ' ' + ' ' +                   ' ' +                ' ';            for (var i = 0; i < options.length; i++){ var opt = options[i]; var x = Object.keys(options[i]); option = '' + opt[x[0]] + ' ' + ''; }           $(' ').html(option); };   } })(jQuery, mediaWiki, _advancedui);