Difference between revisions of "Template:META Box"

From ArchWiki
Jump to: navigation, search
m (codeline -> ic)
(rm usage instructions, not meant to be used directly in articles)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Template}}
+
<includeonly><div style="padding: 5px; margin: 0.50em 0; background-color: {{{4}}}; border: thin solid {{{3|#000}}}; overflow: hidden;"><strong> {{{1}}} </strong>{{{2}}}</div></includeonly>
 
+
'''A generic message box.'''
+
 
+
See also:
+
 
+
* [[:Template:Box BLUE]]
+
* [[:Template:Box GREEN]]
+
* [[:Template:Box RED]]
+
* [[:Template:Box YELLOW]]
+
 
+
====Usage====
+
 
+
{{Ic|1=<nowiki>{{Box||Content without heading}}</nowiki>}}
+
 
+
{{Ic|1=<nowiki>{{Box|Example:|Content with heading}}</nowiki>}}
+
 
+
{{Ic|1=<nowiki>{{Box|Example:|Content followed by border-color|#DF0000}}</nowiki>}}
+
 
+
{{Ic|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|#000}}}; overflow: hidden;"><strong> {{{1}}} </strong>{{{2}}}</div></includeonly>
+

Latest revision as of 14:43, 6 December 2013