◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“Widget:全称”的版本间的差异
Mikumikuer(讨论 | 贡献) |
Mikumikuer(讨论 | 贡献) |
||
第11行: | 第11行: | ||
RLQ.push(function(){ | RLQ.push(function(){ | ||
var a=document.querySelectorAll("#section_0"); | var a=document.querySelectorAll("#section_0"); | ||
− | if (!a.length){$("\<div class\=\'fnameheader\'\><!--{$fullname}-->\<\/div\>").prependTo("#firstHeading");} | + | if (!a.length){$("\<div class\=\'fnameheader\'\><!--{$fullname|regex_replace:"/\"/":"\\\""|regex_replace:"/\n/":"\\n"|regex_replace:"/\//":"\\\/"}-->\<\/div\>").prependTo("#firstHeading");} |
− | else {$("\<div class\=\'fnameheader\'\ style\=\'font-size: .5em;float: none;font-weight: normal;font-style: italic;\'><!--{$fullname}-->\<\/div\>").prependTo("#section_0");} | + | else {$("\<div class\=\'fnameheader\'\ style\=\'font-size: .5em;float: none;font-weight: normal;font-style: italic;\'><!--{$fullname|regex_replace:"/\"/":"\\\""|regex_replace:"/\n/":"\\n"|regex_replace:"/\//":"\\\/"}-->\<\/div\>").prependTo("#section_0");} |
}); | }); | ||
</script></includeonly> | </script></includeonly> |