Template:Sandbox: Difference between revisions

From Alpine Linux
(testing cmd macro)
m (That should do it.)
 
(54 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{Template}}
<noinclude>{{Template}}
== Template Documentation ==
== Template Documentation ==
This template should be used for commands<br />
Link to [http://bugs.alpinelinux.org/ Alpine Issues].
Example:
<nowiki>{{Cmd|apk add <var>package</var>}}</nowiki>


Will produce:
== Example ==
{{Cmd|apk add <var>package</var>}}
<pre>{{Issue|279}}</pre>


<!-- background-color:#ffeeee; color:#111111; padding:.05em .5em; margin:.5em; border:1px solid #dddddd; border-left:2px solid #dddddd; white-space:pre; font-family:monospace, Courier, "Courier New"; font-size:10pt;
will produce:
{{Issue|279}}


background-color:#f9f9f9
The issue's description can be included as an optional second argument.


-->
</noinclude><includeonly><span class="plainlinks">[https://gitlab.alpinelinux.org/alpine/aports/-/issues/{{{1}}} #{{{1}}}{{#if: {{{2|}}} |. {{{2}}}}}]</span></includeonly>
 
</noinclude><includeonly><p style="background-color:#eeffee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier, "Courier New"; white-space:pre; overflow:auto;">{{{1}}}</p></includeonly>

Latest 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.