Template:Sandbox: Difference between revisions

From Alpine Linux
m (Testing ‘Issue’ template)
(testing template)
Line 1: Line 1:
<noinclude>
<noinclude>{{Template}}


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


Link to issues under the [https://gitlab.alpinelinux.org/alpine/ Alpine gitlab umbrella].
====Usage====
{{Codeline|1=<nowiki>{{Pill||<-v3.14.x|#DF0000|#FFDFDF}}</nowiki>}}


== Usage ==
{{Codeline|1=<nowiki>{{Pill||v3.15.x-v3.18.x|#aaa|#eee}}</nowiki>}}


<nowiki>{{Issue|number|project=|description=}}</nowiki>
{{Codeline|1=<nowiki>{{Pill||v3.19.x-v3.20.x|orange|goldenrod}}</nowiki>}}


{{Define|number|Issue number.
{{Codeline|1=<nowiki>{{Pill||v3.21.x|cadetblue|lightblue}}</nowiki>}}
: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'''.}}


== Examples ==
{{Codeline|1=<nowiki>{{Pill||v3.22.x|green|palegreen}}</nowiki>}}


<nowiki>{{Issue|10516}}</nowiki>
{{Codeline|1=<nowiki>{{Pill|Version:|current|purple|cornflowerblue|left}}</nowiki>}}


Produces: {{Issue|10516}}
{{Codeline|1=<nowiki>{{Pill||WIP|goldenrod|yellow}}</nowiki>}}


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


Produces: {{Issue|5|project=docs/user-handbook}}
{{Pill||<- v3.14.x|#DF0000|#FFDFDF}}


  <nowiki>{{Issue|10516|description=libreoffice is built without Wayland support}}</nowiki>
{{Pill||v3.15.x-v3.18.x|#aaa|#eee}}


Produces: {{Issue|10516|description=libreoffice is built without Wayland support}}
{{Pill||v3.19.x-v3.20.x|orange|goldenrod}}


  <nowiki>{{Issue|10516|project=alpine-conf|description=Boot partition only has enough space for one kernel}}</nowiki>
{{Pill||v3.21.x|cadetblue|lightblue}}


Produces: {{Issue|10516|project=alpine-conf|description=Boot partition only has enough space for one kernel}}
{{Pill||v3.22.x|green|palegreen}}


</noinclude>
{{Pill|Version:|current|purple|cornflowerblue|left}}
<includeonly><span class="plainlinks">
{{Pill||WIP|goldenrod|yellow}}
[https://gitlab.alpinelinux.org/alpine/{{#if: {{{project|}}} | {{{project}}} | aports}}/-/issues/{{{1}}} {{{project|}}} #{{{1}}}{{#if: {{{description|}}} |<nowiki>:</nowiki> {{{description}}}}}]
 
</span></includeonly>
</noinclude><includeonly><p style="padding: 2px; margin: 2px 2px; background-color: {{{4}}}; border: 2px solid {{{3|#000000}}}; -moz-border-radius: 1em; border-radius: 1em; float: {{{5|right}}}; font-size:80%; "><strong> {{#if: {{{6|}}}
            | [[{{{6}}}|{{{1}}}]]
            | {{{1}}}
        }} </strong>{{{2}}}</p></includeonly>

Revision as of 15:35, 4 December 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.

A generic message Pill.

Usage

{{Pill||<-v3.14.x|#DF0000|#FFDFDF}}

{{Pill||v3.15.x-v3.18.x|#aaa|#eee}}

{{Pill||v3.19.x-v3.20.x|orange|goldenrod}}

{{Pill||v3.21.x|cadetblue|lightblue}}

{{Pill||v3.22.x|green|palegreen}}

{{Pill|Version:|current|purple|cornflowerblue|left}}

{{Pill||WIP|goldenrod|yellow}}

Example

<- v3.14.x

v3.15.x-v3.18.x

v3.19.x-v3.20.x

v3.21.x

v3.22.x

Version: current

WIP