User:Dubiousjim/Cheatsheet: Difference between revisions
Dubiousjim (talk | contribs) (Tweaks) |
Dubiousjim (talk | contribs) (Tweaks) |
||
Line 43: | Line 43: | ||
= Notification boxes = | = Notification boxes = | ||
{{Box|Heading:|<nowiki>{{Box|Heading:|Body}}</nowiki>}} | |||
{{Box|Heading:|<nowiki>{{Box|Heading:|Body then border-color then background-color|#DF0000|#FFDFDF}}</nowiki>|#DF0000|#FFDFDF}} | |||
{{Tip|<nowiki>{{Tip|Write your Tip here.}}</nowiki>}} | {{Tip|<nowiki>{{Tip|Write your Tip here.}}</nowiki>}} | ||
{{Note|<nowiki>{{Note|Write your Note here.}}</nowiki>}} | {{Note|<nowiki>{{Note|Write your Note here.}}</nowiki>}} | ||
{{Warning|<nowiki>{{Warning|Write your Warning here.}}</nowiki>}} | {{Warning|<nowiki>{{Warning|Write your Warning here.}}</nowiki>}} | ||
{{Todo|<nowiki>{{Todo|Write your Todo here.}}</nowiki>}} | {{Todo|<nowiki>{{Todo|Write your Todo here.}}</nowiki>}} | ||
<nowiki>{{Draft|Message.}}</nowiki> produces: | <nowiki>{{Draft|Message.}}</nowiki> produces: |
Revision as of 10:45, 4 March 2012
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 {{Path|/a/path/name}}: /a/path/name.
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.
--~~~~ gives a signature and timestamp: --Dubiousjim 10:00, 4 March 2012 (UTC)
Here is one line, followed by <br />
and another line.
Here is <!-- a comment -->.
{{Cmd|a command to try}}
.
- :Simply indented text.
Here is a <pre>-formatted block. Markup is still processed and only the first leading space is suppressed.
- Here is a numbered list item.
- Here is a bulleted list item.
{{Gloss|item|Body text}} produces:
- item
- Body text
Notification boxes
{{Draft|Message.}} produces:
This material is work-in-progress ... Message. |
{{Obsolete|Message.}} produces:
This material is obsolete ... Message. (Discuss) |
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.
|
|
|
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}}
Example:
Start from [{{#latestalp:alpine|url}} Downloading latest Alpine Linux Standard], than continue ...
produces:
Start from [{{#latestalp:alpine|url}} Downloading latest Alpine Linux Standard], than continue ...
Making New Templates
In Template:Foo:
<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>