Template:Sandbox: Difference between revisions

From Alpine Linux
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{Template}}
<noinclude>{{Template}}


{{Sandbox|Note:|This text should be noted, with a [[link to nowhere]] or a [[Special:Version|link to that works]].|#ccc|#f00}}</noinclude><includeonly><div style="padding: 0.25em; margin: 0.50em 0; background-color: {{{4}}}; border: 2px solid {{{3|#000000}}}"><strong> {{{1}}} </strong>{{{2}}}</div></includeonly>
'''A generic message box.'''
 
See also:
 
* [[:Template:Box RED]]
 
====Usage====
 
{{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====
 
{{Sandbox||Content without heading}}
 
{{Sandbox|Example:|Content with heading}}
 
{{Sandbox|Example:|Content followed by border-color|#DF0000}}
 
{{Sandbox|Example:|Content followed by border-color and background-color|#DF0000|#FFDFDF}}</noinclude><includeonly><div style="padding: 0.25em; margin: 0.50em 0; background-color: {{{4}}}; border: 2px solid {{{3|#000000}}}"><strong> {{{1}}} </strong>{{{2}}}</div></includeonly>

Revision as of 00:20, 26 November 2012

Template Documentation for Sandbox

This page is a template and should only 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

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