Template:Sandbox: Difference between revisions

From Alpine Linux
No edit summary
m (That should do it.)
(45 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Template}}
<noinclude>{{Template}}
== Template Documentation ==
Link to [http://bugs.alpinelinux.org/ Alpine Issues].


'''A generic message box.'''
== Example ==
<pre>{{Issue|279}}</pre>


See also:
will produce:
{{Issue|279}}


* [[:Template:Box RED]]
The issue's description can be included as an optional second argument.


====Usage====
</noinclude><includeonly><span class="plainlinks">[https://gitlab.alpinelinux.org/alpine/aports/-/issues/{{{1}}} #{{{1}}}{{#if: {{{2|}}} |. {{{2}}}}}]</span></includeonly>
 
{{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|Example: Content with heading}}
 
{{Sandbox|Example: Content followed by border-color|#DF0000}}
 
{{Sandbox|Content followed by border-color and background-color|#DF0000|#FFDFDF}}</noinclude><includeonly><div style="padding: 0.25em; margin: 0.50em 0; background-color: {{{3}}}; border: 2px solid {{{2|#000000}}}" ><strong> Note: </strong>{{{1}}}</div></includeonly>

Revision as of 23:58, 9 January 2024

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.

Template Documentation

Link to Alpine Issues.

Example

{{Issue|279}}

will produce: #279

The issue's description can be included as an optional second argument.