“模板:Dmbox”的版本间的差异

来自Ballance Wiki
跳转至: 导航搜索
(Fixed the problem of excess linefeeds)
2个标签移动版编辑移动网页编辑
2个标签移动版编辑移动网页编辑
 
(未显示2个用户的5个中间版本)
第1行: 第1行:
<div style="border-top:1px solid #aaa;border-bottom:1px solid #aaa;">
+
<div style="border-top:1px solid #999; border-bottom:1px solid #999; font-size: 0.93em; background: #f7f7f7; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); padding: 12px 6px">
<table>
+
<table style="margin: 0">
<tr><td width="30" valign="top">[[File:{{{image}}}|25px]]</td>
+
<tr><td width="30" valign="top">[[File:{{{image}}}|25px|link=|alt=]]</td>
<td><div>{{{content}}}</div></td></tr></table></div><noinclude>
+
<td><div>{{{content}}}</div></td></tr></table></div>
 
 
== Usage ==
 
 
 
<pre>
 
{{Dmbox
 
|image=
 
|content=
 
}}
 
</pre>
 
 
 
== Patameter ==
 
 
 
=== image ===
 
 
 
Image file's name. Don't use image grammer.
 
 
 
=== content ===
 
 
 
Allow <nowiki><br></nowiki>
 
 
 
</noinclude>
 

2020年3月21日 (六) 12:00的最新版本

[[File:{{{image}}}|25px|link=|alt=]]
{{{content}}}