Template:Sandbox: Difference between revisions

From Alpine Linux
No edit summary
m (Testing ‘Issue’ template)
 
(55 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Template}}
<noinclude>


'''A generic message box.'''
{{Template}}


See also:
Link to issues under the [https://gitlab.alpinelinux.org/alpine/ Alpine gitlab umbrella].


* [[:Template:Box RED]]
== Usage ==


====Usage====
<nowiki>{{Issue|number|project=|description=}}</nowiki>


{{Codeline|1=<nowiki>{{Box||Content without heading}}</nowiki>}}
{{Define|number|Issue number.
:This argument is '''required'''.}}
{{Define|project{{=}}|Project under {{Ic|https://gitlab.alpinelinux.org/alpine/}} to which the issue belongs.
:This argument is '''optional''', defaults to {{Ic|aports}}.}}
{{Define|description{{=}}|Description for the issue, for example, what the issue title is.
:This argument is '''optional'''.}}


{{Codeline|1=<nowiki>{{Box|Example:|Content with heading}}</nowiki>}}
== Examples ==


{{Codeline|1=<nowiki>{{Box|Example:|Content followed by border-color|#DF0000}}</nowiki>}}
<nowiki>{{Issue|10516}}</nowiki>


{{Codeline|1=<nowiki>{{Box|Example:|Content followed by border-color and background-color|#DF0000|#FFDFDF}}</nowiki>}}
Produces: {{Issue|10516}}


====Example====
<nowiki>{{Issue|5|project=docs/user-handbook}}</nowiki>


{{Sandbox||Content without heading}}
Produces: {{Issue|5|project=docs/user-handbook}}


{{Sandbox|Example:|Content with heading}}
  <nowiki>{{Issue|10516|description=libreoffice is built without Wayland support}}</nowiki>


{{Sandbox|Example:|Content followed by border-color|#DF0000}}
Produces: {{Issue|10516|description=libreoffice is built without Wayland support}}


{{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>
  <nowiki>{{Issue|10516|project=alpine-conf|description=Boot partition only has enough space for one kernel}}</nowiki>
 
Produces: {{Issue|10516|project=alpine-conf|description=Boot partition only has enough space for one kernel}}
 
</noinclude>
<includeonly><span class="plainlinks">
[https://gitlab.alpinelinux.org/alpine/{{#if: {{{project|}}} | {{{project}}} | aports}}/-/issues/{{{1}}} {{{project|}}} #{{{1}}}{{#if: {{{description|}}} |<nowiki>:</nowiki> {{{description}}}}}]
</span></includeonly>

Latest revision as of 09:33, 20 November 2025

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.

Link to issues under the Alpine gitlab umbrella.

Usage

{{Issue|number|project=|description=}}

number
Issue number.
This argument is required.

project=
Project under https://gitlab.alpinelinux.org/alpine/ to which the issue belongs.
This argument is optional, defaults to aports.

description=
Description for the issue, for example, what the issue title is.
This argument is optional.

Examples

{{Issue|10516}}

Produces: #10516

{{Issue|5|project=docs/user-handbook}}

Produces: #5

 {{Issue|10516|description=libreoffice is built without Wayland support}}

Produces: #10516

 {{Issue|10516|project=alpine-conf|description=Boot partition only has enough space for one kernel}}

Produces: #10516