模板:Box:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Qiii2006留言 | 贡献
以内容'<noinclude> {{Template}} Included content begins ---- </noinclude> <div class="rbroundbox" style="width:{{{3|100%}}}; float:{{{4|center}}}"><div class="rbtopwrap"><div cla…'创建新页面
 
Qiii2006留言 | 贡献
无编辑摘要
第1行: 第1行:
<noinclude>
<noinclude>{{Template}}
{{Template}}


Included content begins
'''A generic message box.'''
----
 
</noinclude>
See also:
<div class="rbroundbox" style="width:{{{3|100%}}}; float:{{{4|center}}}"><div class="rbtopwrap"><div class="rbtop"><div></div></div>{{{1}}}</div>
 
<div class="rbcontent">{{{2}}}</div><!-- /rbcontent -->
* [[:Template:Box BLUE]]
<div class="rbbot"><div></div></div>
* [[:Template:Box GREEN]]
</div>
* [[:Template:Box RED]]
<noinclude>
* [[:Template:Box YELLOW]]
----
 
Included content ends
====Usage====
</noinclude>
 
{{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>}}
 
====Example====
 
{{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月23日 (四) 20:24的版本

模板:Template

A generic message box.

See also:

Usage

{{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}}

Example

Content without heading
Example: Content with heading
Example: Content followed by border-color
Example: Content followed by border-color and background-color