全站通知:
            
            
        
模板:ResourceLoader
                  
                  
                  刷
                  
                     
                               
                               历
                            
                  
                    
                      
                        
                        编
                      
                    
                
            
            
            
            
            
            跳到导航
            跳到搜索
            
            
                
            
            
            
            
        
    /* 这里的任何JavaScript将为所有用户在每次页面载入时加载。 */ /* -- 为页面加载JS脚本或CSS样式表 -- */ /* 参见模板:ResourceLoader*/ /* 来源:碧蓝航线WIKI*/ $('.resourceLoader').each(function () {
var $x = $(this); var text = $.trim($x.text());
if (!text) return;
 //加载模块
 if ($x.data('isModule') === true)
   return mw.loader.load(text);
 //自动补充MediaWiki命名空间
 var ns = text.match('^.*?:');
 if (!ns) text = 'MediaWiki:' + text;
 //加载CSS样式表
 var mime = ($x.data('mime') || "text/javascript").toLowerCase();
 if (mime == "text/css") {
   if (text.slice(-4).toLowerCase() !== '.css') text = text + '.css';
   //if ($x.data('debug') !== true) text = text + '&debug=false';
   return mw.loader.load("//wiki.biligame.com/szgd/index.php?title=" + text + "&action=raw&ctype=text/css", "text/css");
 }
 //加载JS脚本
 if (ns && ns[0].toLowerCase() !== 'mediawiki:') {
   return console.log('ResourceLoader: 不允许加载MediaWiki以外的js脚本');
 }
 if (text.slice(-3).toLowerCase() !== '.js') text = text + '.js';
 //if ($x.data('debug') !== true) text = text + '&debug=false';
 return mw.loader.load("//wiki.biligame.com/szgd/index.php?title=" + text + "&action=raw&ctype=text/javascript", "text/javascript");
});
                
                    沪公网安备 31011002002714 号