User:Dubiousjim/Cheatsheet
Markup
== Heading 2 ==
Here is ''Italic text'' and here is '''Bold text'''.
Here is <code>code-style text & stuff; markup is still processed.
</code>.
Here is {{File|/a/path/name}}: Template:File.
Here is [[Internal pagetitle|an internal pagetitle]]: an internal pagetitle.
Here is [http://www.example.org/ an external link]: an external link.
Here is an Alpine Issue link {{Issue|279}}: #279.
Here is one line, followed by <br />
and another line.
Here is <!-- a comment -->.
Here is
. Here is {{Cmd|a command to try}}:
a command to try
.
- Here is a bulleted list item.
- Here is a numbered list item.
{{Gloss|item|Body text}} produces:
- item
- Body text
- :Simply indented text.
Here is a
-formatted block. <em>Markup is still processed</em> and only the first leading space is suppressed. --~~~~ gives a signature and timestamp: --~~~~ = Notification boxes = <code>{{Tip|Write Your Tip Here.}}</code> {{Tip|Write Your Tip Here.}} <code>{{Note|Write Your Note Here.}}</code> {{Note|Write Your Note Here.}} <code>{{Warning|Write Your Warning Here.}}</code> {{Warning|Write Your Warning Here.}} <code>{{Todo|Write Your Todo-notes Here.}}</code> {{Todo|Write Your Todo-notes Here.}} For other boxes, see [[Template:Box]] {{Obsolete|Message.}} produces: {{Obsolete|Message.}} {{Draft|Message.}} produces: {{Draft|Message.}} <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="4" |- valign="top" |width="25%" class="ClassForFutureCSS" | <div style="padding: .4em .9em .1em"> <p style="text-align:center"><code>{{download|alpine}}</code></p> For standard</div> |width="25%" class="ClassForFutureCSS" | <div style="padding: .4em .9em .1em"> <p style="text-align:center"><code>{{download|alpine-mini}}</code></p> For mini</div> |width="25%" class="ClassForFutureCSS" | <div style="padding: .4em .9em .1em"> <p style="text-align:center"><code>{{download|alpine-vserver}}</code></p> For VServer</div> |width="25%" class="ClassForFutureCSS" | <div style="padding: .4em .9em .1em"> <p style="text-align:center"><code>{{downloaddev|alpine}}</code></p> Dev standard</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> | <div style="padding: .4em .9em .9em"><center>{{downloaddev|alpine}}</center></div> |} == Links == *<code>{{#latestalp:alpine|url}}</code> will give you latest download url for Alpine Linux Standard:<br/> :{{#latestalp:alpine|url}} *<code>{{#latestalp:alpine-mini|url}}</code> will give you latest download url for Alpine Linux mini:<br/> :{{#latestalp:alpine|url}} *<code>{{#latestalp:alpine-vserver|url}}</code> will give you latest download url for Alpine Linux VServer:<br/> :{{#latestalp:alpine|url}} <big>'''Example:'''</big><br/> Typing... Start from [{{#latestalp:alpine|url}} Downloading latest Alpine Linux Standard], than continue ... '''Will produce:'''<br/> Start from [{{#latestalp:alpine|url}} Downloading latest Alpine Linux Standard], than continue ... = Making New Templates = In '''Template:Foo''': <pre><noinclude>{{Template}} '''Short description.''' See also: * [[:Template:Bar]] ====Usage==== <code>{{Foo|Arg1|Arg2}}</code> ====Example==== {{Foo|Arg1|Arg2}} </noinclude> <includeonly> markup ... {{{1}}} {{{2|default}}} ... </includeonly>
Codeline
This template can also be used for commands?
Example:
{{Codeline|apk upgrade -U}}
Will produce: apk upgrade -U