Template:Sandbox: Difference between revisions

From Alpine Linux
No edit summary
No edit summary
 
(109 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<noinclude>{{Template}}
<noinclude>{{Template}}
== Template Documentation ==
This template should be used for commands
Example:
<nowiki>{{Cmd|apk info --verbose}}</nowiki>


Will produce:
'''A clickable message Pill (wikilink).'''
{{Sandbox|2010-07-16 Alpine 2.0.0 Beta3 released|
This is the first announced beta release for v2.0 series. See [[Release Notes for Alpine 2.0.0_beta3]] for more details of the release.
|[[User:ncopa|ncopa]] 20:58, 16 July 2010 (GMT)
}}
----


----
====Usage====
{{{2}}}
{{Codeline|1=<nowiki>{{Pill_clickable||<-v3.14.x|#DF0000|#FFDFDF||Installation}}</nowiki>}}
----
<div style="text-align: right;">{{{3}}}</div>
|}


</noinclude><onlyinclude>{|style="width:98%; padding:2px; margin:0; margin-bottom:10px; background-color:#f6f6f6; border:1px solid #aaa; -moz-border-radius-bottomright: 0.5em; -moz-border-radius-topleft: 1em; border-radius-bottomright: 0.5em; border-radius-topleft: 1em; -webkit-border-bottom-right-radius: 0.5em; -webkit-border-top-left-radius: 1em;"
====Parameters====
|<span class="editsection plainlinks" id="doc_editlinks">[[{{fullurl:News_talk:{{{1}}}|}} Discuss]]</span>
* {{{1}}} - Prefix text (optional)
<div style="font-size: 1.5em; font-weight:bold;"> [[Image:Newspaper_Cover.svg‎|32px|link=]] {{{1}}} </div></onlyinclude>
* {{{2}}} - Main text
* {{{3}}} - Border color
* {{{4}}} - Background color
* {{{5}}} - Float position (currently unused)
* {{{6}}} - Wiki page name (required)
 
====Example====
{{Pill_clickable||v3.22.x|green|palegreen||Installation}}
 
</noinclude><includeonly><span style="padding:2px;background-color:{{{4}}};border:2px solid:{{{3}}};border-radius:1em;display:inline-block;font-size:80%;">[https://wiki.alpinelinux.org/wiki/{{{6}}} <strong>{{{1}}}</strong>{{{2}}}]</span></includeonly>

Latest revision as of 06:41, 7 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 clickable message Pill (wikilink).

Usage

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

Parameters

  • {{{1}}} - Prefix text (optional)
  • {{{2}}} - Main text
  • {{{3}}} - Border color
  • {{{4}}} - Background color
  • {{{5}}} - Float position (currently unused)
  • {{{6}}} - Wiki page name (required)

Example

v3.22.x