變更

移除 150 位元組 、 2020年7月23日 (四) 09:55
無編輯摘要
第2行: 第2行:     
function p.build( frame )
 
function p.build( frame )
   return [[<div class="noprint" style="clear: right; border: solid #aaa 1px; font-size: 90%; background: #f9f9f9; width: 20em; padding: 4px; text-align: left; float: right;">
+
str = string.format([=[<div class="noprint" style="clear: right; border: solid #aaa 1px; font-size: 90%%; background: #f9f9f9; width: 20em; padding: 4px; text-align: left; float: right;">
<div style="float: left; line-height: 1.2em"><img alt="" src="https://img.moegirl.org.cn/common/8/80/Wikipedia-logo-v2.svg" width="50" height="46"><br>
+
<div style="float: left; line-height: 1.2em"> [[File:Wikipedia-logo-v2.svg|50px]]
<center><a href="/%E7%BB%B4%E5%9F%BA%E5%A8%98" title="维基娘"> 维基百科</a><br>提示你</center></div>
+
<center>[https://zh.wikipedia.org/ 维基百科]<br>提示你</center></div>
<div id="text" class="plainlinks" style="margin-left: 60px;">关于<span style="white-space: normal; font-weight: bold;">ToWikipedia</span>,<br>在自由的百科全书<b>维基百科</b>上<br>有相关条目。<br>请参阅:<span style="white-space: normal;"><a href="https://zh.wikipedia.org/wiki/zh:%E8%90%8C%E5%A8%98%E7%99%BE%E7%A7%91" class="extiw" title="zhwiki:zh:萌娘百科">zh:萌娘百科</a></span></div>
+
<div id="text" class="plainlinks" style="margin-left: 60px;">关于<span style="white-space: normal; font-weight: bold;">%s</span>,<br>在自由的百科全书<b>维基百科</b>上<br>有相关条目。<br>请参阅:<span style="white-space: normal;">[https://zh.wikipedia.org/wiki/%s %s]</span></div>
</div>]]
+
</div>]=],frame.args[1],frame.args[1], frame.args[1])
 +
return str
 
end
 
end
    
return p
 
return p