|
|
(191 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| http://wiki.alpinelinux.org/wiki/Template:Box
| | #REDIRECT [[Help:Editing]] |
| | |
| = New Templates =
| |
| | |
| In '''Template:Foo''':
| |
| | |
| <pre><noinclude>{{Template}}
| |
| | |
| '''Short description.'''
| |
| | |
| See also:
| |
| | |
| * [[:Template:Bar]]
| |
| | |
| ====Usage====
| |
| | |
| {{Codeline|1=<nowiki>{{Foo|Arg1|Arg2}}</nowiki>}}
| |
| | |
| ====Example====
| |
| | |
| {{Foo|Arg1|Arg2}}
| |
| </noinclude><includeonly>
| |
| markup ... {{{1}}} {{{2|default}}} ...
| |
| </includeonly></pre>
| |
| | |
| | |
| = Others =
| |
| | |
| File?
| |
| Standard markup?
| |
| | |
| | |
| = Commands =
| |
| This template should be used for commands
| |
| | |
| <big>'''Example:'''</big><br/>
| |
| <nowiki>{{Cmd|apk add -U}}</nowiki>
| |
| | |
| '''Will produce:'''
| |
| {{Cmd|apk add -U}}
| |
| | |
| = Codeline =
| |
| This template can also be used for commands?
| |
| | |
| <big>'''Example:'''</big><br/>
| |
| <nowiki>{{Codeline|apk upgrade -U}}</nowiki>
| |
| | |
| '''Will produce:'''
| |
| {{Codeline|apk upgrade -U}}
| |
| | |
| | |
| = Issues =
| |
| This template should be used for linking to issues from [http://bugs.alpinelinux.org/ Alpine Linux Bug Tracker].
| |
| | |
| <big>'''Example:'''</big><br/>
| |
| <nowiki>You can find out more info about this bug in issue {{Issue|279}}.</nowiki>
| |
| | |
| '''Will produce:'''<br/>
| |
| You can find out more info about this bug in issue {{Issue|279}}.
| |
| | |
| = Gloss =
| |
| This template can be used for definition-type lists.
| |
| | |
| <big>'''Example:'''</big><br/>
| |
| <nowiki>{{Gloss|one|two}}</nowiki>
| |
| | |
| '''Will produce:'''
| |
| {{Gloss|one|two}}
| |
| | |
| | |
| = Notification boxes =
| |
| <code><nowiki>{{Tip|Write Your Tip Here.}}</nowiki></code>
| |
| {{Tip|Write Your Tip Here.}}
| |
| <code><nowiki>{{Note|Write Your Note Here.}}</nowiki></code>
| |
| {{Note|Write Your Note Here.}}
| |
| <code><nowiki>{{Warning|Write Your Warning Here.}}</nowiki></code>
| |
| {{Warning|Write Your Warning Here.}}
| |
| | |
| = Todo box =
| |
| <code><nowiki>{{Todo|Write Your Todo-notes Here.}}</nowiki></code>
| |
| {{Todo|Write Your Todo-notes Here.}}
| |
| | |
| | |
| = Obsolete =
| |
| This template should be added at the top of documents that are obsolete or need an update.
| |
| <big>'''Example:'''</big><br/>
| |
| <nowiki>{{Obsolete}}</nowiki>
| |
| | |
| '''Will produce:'''<br/>
| |
| {{Obsolete}}
| |
| | |
| == Obsolete2 ==
| |
| <center>
| |
| {|style="width: 33em; padding:2px; margin:0; margin-bottom:10px; background-color:#F1F1DE; border:1px solid #CC9; -moz-border-radius-bottomright: 0.5em; -moz-border-radius-bottomleft: 1em; border-radius-bottomright: 0.5em; border-radius-bottomleft: 1em; -webkit-border-bottom-right-radius: 0.5em; -webkit-border-bottom-left-radius: 1em;"
| |
| |<div style="font-size: 1.5em; font-weight:bold;"> [[Image:Out_of_date_clock_icon.svg|54px|left|link=]] This page is obsolete ... </div><p style="text-align: center; font-size: 87%;">This page is outdated and is considered obsolete. Write some info about this kind of pag and what users should do with it.</p>
| |
| |}</center>
| |
| | |
| = Drafts =
| |
| This template should be added at the top of documents that are not yet finished. Please do not link to them from production pages.
| |
| | |
| <big>'''Example:'''</big><br/>
| |
| Typing...
| |
| <nowiki>{{Draft}}</nowiki>
| |
| | |
| '''Will produce:'''<br/>
| |
| {{Draft}}
| |
| | |
| == Drafts2 ==
| |
| <center>
| |
| {|style="width: 36em; padding:2px; margin:0; margin-bottom:10px; background-color:#f6f6f6; border:1px solid #aaa; -moz-border-radius-bottomright: 0.5em; -moz-border-radius-bottomleft: 1em; border-radius-bottomright: 0.5em; border-radius-bottomleft: 1em; -webkit-border-bottom-right-radius: 0.5em; -webkit-border-bottom-left-radius: 1em;"
| |
| |<div style="font-size: 1.5em; font-weight:bold;"> [[Image:Underconstruction_clock_icon_gray.svg|64px|left|link=]] This page is a work in progress ... </div><p style="text-align: center; font-size: 87%;">This page is under heavy construction. Write some info about this kind of page and what users should do with it.</p>
| |
| |}</center>
| |
| | |
| | |
| <hr>
| |
| | |
| | |
| = Downloads =
| |
| In general when pointing to Alpine Linux downloads stick with the '''[[Downloads|Downloads Page]]''', but if you by any meaning will need to include direct download information, do so by using one of below.
| |
| == Buttons ==
| |
| {| cellspacing="3"
| |
| |- valign="top"
| |
| |width="33%" class="ClassForFutureCSS" |
| |
| <div style="padding: .4em .9em .1em">
| |
| <p style="text-align:center"><code><nowiki>{{download|alpine}}</nowiki></code></p>
| |
| For standard</div>
| |
| |width="33%" class="ClassForFutureCSS" |
| |
| <div style="padding: .4em .9em .1em">
| |
| <p style="text-align:center"><code><nowiki>{{download|alpine-mini}}</nowiki></code></p>
| |
| For mini</div>
| |
| |width="33%" class="ClassForFutureCSS" |
| |
| <div style="padding: .4em .9em .1em">
| |
| <p style="text-align:center"><code><nowiki>{{download|alpine-vserver}}</nowiki></code></p>
| |
| For VServer</div>
| |
| |- valign="top"
| |
| | <div style="padding: .4em .9em .9em"><center>{{download|alpine}}</center></div>
| |
| | <div style="padding: .4em .9em .9em"><center>{{download|alpine-mini}}</center></div>
| |
| | <div style="padding: .4em .9em .9em"><center>{{download|alpine-vserver}}</center></div>
| |
| |}
| |
| == Links ==
| |
| *<code><nowiki>{{#latestalp:alpine|url}}</nowiki></code> will give you latest download url for Alpine Linux Standard:<br/>
| |
| :{{#latestalp:alpine|url}}
| |
| *<code><nowiki>{{#latestalp:alpine-mini|url}}</nowiki></code> will give you latest download url for Alpine Linux mini:<br/>
| |
| :{{#latestalp:alpine|url}}
| |
| *<code><nowiki>{{#latestalp:alpine-vserver|url}}</nowiki></code> will give you latest download url for Alpine Linux VServer:<br/>
| |
| :{{#latestalp:alpine|url}}
| |
| <big>'''Example:'''</big><br/>
| |
| Typing...
| |
| Start from <nowiki>[{{#latestalp:alpine|url}}</nowiki> Downloading latest Alpine Linux Standard], than continue ...
| |
| '''Will produce:'''<br/>
| |
| Start from [{{#latestalp:alpine|url}} Downloading latest Alpine Linux Standard], than continue ...
| |
| | |
| | |
| = Older =
| |
| == Download Box ==
| |
| {{Download|mini}}
| |
| You can include a download box entering <code><nowiki>{{Download|mini}}</nowiki></code>
| |
| | |
| {{DownloadDev|mini}}
| |
| You can include a download box entering <code><nowiki>{{DownloadDev|mini}}</nowiki></code>
| |
| | |
| == New Download Box ==
| |
| {{Download|alpine}}
| |
| You can include a download box entering <code><nowiki>{{Download|alpine}}</nowiki></code>
| |
| | |
| == Old Download Box ==
| |
| {{Downloads}}
| |
| You can include a download box entering <code><nowiki>{{Downloads}}</nowiki></code>
| |
| | |
| == Greenish ==
| |
| <code><nowiki>[[Downloads|{{#latestalp:alpine-mini}}]]</nowiki></code>
| |
| <div style="float: right; border: solid #E0E9E9 1px; margin: 1px;">
| |
| {| cellspacing="0" style="width: 238px; color: #000000; background: #EDF2F2;"
| |
| | style="width: 45px; height: 45px; background: #E0E9E9; text-align: center;" |[[Image:Download.svg|40px|link=Downloads]]
| |
| | style="font-size: 8pt; padding: 4pt; line-height: 1.25em;" | '''Download latest <br/>[[Downloads|{{#latestalp:alpine-mini}}]]
| |
| |}</div>
| |