Difference between revisions of "Template:META Box"

From ArchWiki
Jump to: navigation, search
(Final edit for now)
m (codeline -> ic)
(12 intermediate revisions by 3 users not shown)
Line 2: Line 2:
  
 
'''A generic message box.'''
 
'''A generic message box.'''
 +
 +
See also:
 +
 +
* [[:Template:Box BLUE]]
 +
* [[:Template:Box GREEN]]
 +
* [[:Template:Box RED]]
 +
* [[:Template:Box YELLOW]]
  
 
====Usage====
 
====Usage====
  
{{Codeline|1=<nowiki>{{Box|Heading|Content}}</nowiki>}}
+
{{Ic|1=<nowiki>{{Box||Content without heading}}</nowiki>}}
  
{{Codeline|1=<nowiki>{{Box|Heading|Content|#DF0000}}</nowiki>}}
+
{{Ic|1=<nowiki>{{Box|Example:|Content with heading}}</nowiki>}}
  
{{Codeline|1=<nowiki>{{Box|Heading|Content|#DF0000|#FFFFFF}}</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====
 
====Example====
  
{{Box|Heading|Content}}
+
{{Box||Content without heading}}
 +
 
 +
{{Box|Example:|Content with heading}}
  
{{Box|Heading|Content|#DF0000}}
+
{{Box|Example:|Content followed by border-color|#DF0000}}
  
{{Box|Heading|Content|#DF0000|#FFFFFF}}</noinclude><includeonly><div style="padding: 0.25em; margin: 0.50em 0; background-color: {{{4}}}; border: medium solid {{{3|#000000}}}"><strong>{{{1}}}: </strong>{{{2}}}</div></includeonly>
+
{{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>

Revision as of 17:27, 11 December 2011

This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this 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

Template:Box

Template:Box

Template:Box

Template:Box