Difference between revisions of "Template:META Box"

From ArchWiki
Jump to: navigation, search
Line 5: Line 5:
 
====Usage====
 
====Usage====
  
{{Codeline|1=<nowiki>{{Box|Heading|Content|background-color=#DDDDDD|border-color=#000000}}</nowiki>}}
+
{{Codeline|1=<nowiki>{{Box|Heading|Content|#FFFFFF|#000000}}</nowiki>}}
  
 
====Example====
 
====Example====
  
{{Box|Heading|Content|background-color=#DDDDDD|foreground-color=#000000}}</noinclude><includeonly><div style="padding: 0.25em; margin: 0.50em 0; background-color: {{{background-color}}}; border: medium solid {{{border-color}}}"><strong>{{{1}}}: </strong>{{{2}}}</div></includeonly>
+
{{Box|Heading|Content}}</noinclude><includeonly><div style="padding: 0.25em; margin: 0.50em 0; background-color: {{{3|#FFFFFF}}}; border: medium solid {{{4|#000000}}}"><strong>{{{heading}}}: </strong>{{{content}}}</div></includeonly>

Revision as of 01:08, 23 October 2009

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.

Usage

Template:Codeline

Example

Template:Box