User:Dubiousjim/Cheatsheet

From Alpine Linux
< User:Dubiousjim
Revision as of 08:21, 4 March 2012 by Dubiousjim (talk | contribs) (expanded)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

http://wiki.alpinelinux.org/wiki/Template:Box

New Templates

In Template:Foo:

<noinclude>{{Template}}

'''Short description.'''

See also:

* [[:Template:Bar]]

====Usage====

{{Codeline|1={{Foo|Arg1|Arg2}}}}

====Example====

{{Foo|Arg1|Arg2}}
</noinclude><includeonly>
markup ... {{{1}}} {{{2|default}}} ...
</includeonly>


Others

File? Standard markup?


Commands

This template should be used for commands

Example:

{{Cmd|apk add -U}}

Will produce:

apk add -U

Codeline

This template can also be used for commands?

Example:

{{Codeline|apk upgrade -U}}

Will produce: apk upgrade -U


Issues

This template should be used for linking to issues from Alpine Linux Bug Tracker.

Example:

You can find out more info about this bug in issue {{Issue|279}}.

Will produce:
You can find out more info about this bug in issue #279.

Gloss

This template can be used for definition-type lists.

Example:

{{Gloss|one|two}}

Will produce:

one
two


Notification boxes

{{Tip|Write Your Tip Here.}}

Tip: Write Your Tip Here.

{{Note|Write Your Note Here.}}

Note: Write Your Note Here.

{{Warning|Write Your Warning Here.}}

Tango-dialog-warning.png
Warning: Write Your Warning Here.


Todo box

{{Todo|Write Your Todo-notes Here.}}

Underconstruction clock icon gray.svg
Todo: Write Your Todo-notes Here.



Obsolete

This template should be added at the top of documents that are obsolete or need an update. Example:

{{Obsolete}}

Will produce:

Out of date clock icon.svg
This material is obsolete ...

Please feel free to help us make an up-to-date version. (Discuss)

Obsolete2

Out of date clock icon.svg
This page is obsolete ...

This page is outdated and is considered obsolete. Write some info about this kind of pag and what users should do with it.

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.

Example:
Typing...

{{Draft}}

Will produce:

Underconstruction clock icon gray.svg
This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Dubiousjim on 4 Mar 2012.)

Drafts2

Underconstruction clock icon gray.svg
This page is a work in progress ...

This page is under heavy construction. Write some info about this kind of page and what users should do with it.




Downloads

In general when pointing to Alpine Linux downloads stick with the Downloads Page, but if you by any meaning will need to include direct download information, do so by using one of below.

Buttons

{{download|alpine}}

For standard

{{download|alpine-mini}}

For mini

{{download|alpine-vserver}}

For VServer
url}} Download now!
[{{#latestalp:alpine|url}} {{#latestalp:alpine|file}}]
({{#latestalp:alpine|mb}} MiB) Released {{#latestalp:alpine|date}}
url}} Download now!
[{{#latestalp:alpine-mini|url}} {{#latestalp:alpine-mini|file}}]
({{#latestalp:alpine-mini|mb}} MiB) Released {{#latestalp:alpine-mini|date}}
url}} Download now!
[{{#latestalp:alpine-vserver|url}} {{#latestalp:alpine-vserver|file}}]
({{#latestalp:alpine-vserver|mb}} MiB) Released {{#latestalp:alpine-vserver|date}}

Links

  • {{#latestalp:alpine|url}} will give you latest download url for Alpine Linux Standard:
{{#latestalp:alpine|url}}
  • {{#latestalp:alpine-mini|url}} will give you latest download url for Alpine Linux mini:
{{#latestalp:alpine|url}}
  • {{#latestalp:alpine-vserver|url}} will give you latest download url for Alpine Linux VServer:
{{#latestalp:alpine|url}}

Example:
Typing...

Start from [{{#latestalp:alpine|url}} Downloading latest Alpine Linux Standard], than continue ...

Will produce:
Start from [{{#latestalp:alpine|url}} Downloading latest Alpine Linux Standard], than continue ...


Older

Download Box

url}} Download now!
[{{#latestalp:mini|url}} {{#latestalp:mini|file}}]
({{#latestalp:mini|mb}} MiB) Released {{#latestalp:mini|date}}

You can include a download box entering {{Download|mini}}

url}} Download now!
[{{#latestalp:mini|url}} {{#latestalp:mini|file}}]
({{#latestalp:mini|mb}} MiB) Released {{#latestalp:mini|date}}

You can include a download box entering {{DownloadDev|mini}}

New Download Box

url}} Download now!
[{{#latestalp:alpine|url}} {{#latestalp:alpine|file}}]
({{#latestalp:alpine|mb}} MiB) Released {{#latestalp:alpine|date}}

You can include a download box entering {{Download|alpine}}

Old Download Box

Download manager.png Download Stable Version
Alpine 3.8.0

You can include a download box entering {{Downloads}}

Greenish

[[Downloads|{{#latestalp:alpine-mini}}]]

Download.svg Download latest
{{#latestalp:alpine-mini}}