“模板:Box”的版本间的差异
来自Ubuntu中文
(以内容'<noinclude> {{Template}} Included content begins ---- </noinclude> <div class="rbroundbox" style="width:{{{3|100%}}}; float:{{{4|center}}}"><div class="rbtopwrap"><div cla…'创建新页面) |
|||
(未显示同一用户的3个中间版本) | |||
第1行: | 第1行: | ||
<noinclude> | <noinclude> | ||
− | |||
− | + | '''普通消息框。''' | |
− | + | ||
− | + | 参见: | |
− | + | ||
− | + | * [[:Template:Box BLUE]] | |
− | <div | + | * [[:Template:Box GREEN]] |
− | </ | + | * [[:Template:Box RED]] |
− | + | * [[:Template:Box YELLOW]] | |
− | + | ||
− | + | ====用法==== | |
− | + | ||
+ | {{Codeline|1=<nowiki>{{Box||Content without heading}}</nowiki>}} | ||
+ | |||
+ | {{Codeline|1=<nowiki>{{Box|Example:|Content with heading}}</nowiki>}} | ||
+ | |||
+ | {{Codeline|1=<nowiki>{{Box|Example:|Content followed by border-color|#DF0000}}</nowiki>}} | ||
+ | |||
+ | {{Codeline|1=<nowiki>{{Box|Example:|Content followed by border-color and background-color|#DF0000|#FFDFDF}}</nowiki>}} | ||
+ | |||
+ | ====示例==== | ||
+ | |||
+ | {{Box||Content without heading}} | ||
+ | |||
+ | {{Box|Example:|Content with heading}} | ||
+ | |||
+ | {{Box|Example:|Content followed by border-color|#DF0000}} | ||
+ | |||
+ | {{Box|Example:|Content followed by border-color and background-color|#DF0000|#FFDFDF}}</noinclude><includeonly><div style="padding: 5px; margin: 0.50em 0; background-color: {{{4}}}; border: thin solid {{{3|#000000}}}"><strong> {{{1}}} </strong>{{{2}}}</div></includeonly> |
2010年9月24日 (五) 15:38的最新版本
普通消息框。
参见:
用法
{{Box||Content without heading}}
{{Box|Example:|Content with heading}}
{{Box|Example:|Content followed by border-color|#DF0000}}
{{Box|Example:|Content followed by border-color and background-color|#DF0000|#FFDFDF}}
示例
Content without heading
Example: Content with heading
Example: Content followed by border-color
Example: Content followed by border-color and background-color