User:Dubiousjim/Cheatsheet: Difference between revisions
Dubiousjim (talk | contribs) |
Dubiousjim (talk | contribs) |
||
Line 159: | Line 159: | ||
| <span style="background:#dddddd;">↛ \u219b <!-- ⇸ \u21f8 --></span> | | <span style="background:#dddddd;">↛ \u219b <!-- ⇸ \u21f8 --></span> | ||
| ⥽ \u297d | | ⥽ \u297d | ||
| ↠ \u21a0 | | ↠ \u21a0 <br /> ⇉ \u21c9 | ||
| ↦ \u21a6 <!-- ↣ \u21a3 --> | | ↦ \u21a6 <!-- ↣ \u21a3 --> | ||
| ⇀ \u21c0 <!-- ⇁ \u21c1 --> | | ⇀ \u21c0 <!-- ⇁ \u21c1 --> | ||
| ⤙ \u2199 | | ⤙ \u2199 | ||
| ⟶ \u27f6 <br /> | | ⟶ \u27f6 <br /> ⟼ \u27fc | ||
| ⇢ \u21e2 | | ⇢ \u21e2 | ||
| ⤳ \u2933 <!-- ↝ \u219d --> | | ⤳ \u2933 <!-- ↝ \u219d --> | ||
Line 173: | Line 171: | ||
| <span style="background:#dddddd;">↚ \u219a <!-- ⇷ \u21f7 --></span> | | <span style="background:#dddddd;">↚ \u219a <!-- ⇷ \u21f7 --></span> | ||
| ⥼ \u297c | | ⥼ \u297c | ||
| ↞ \u219e | | ↞ \u219e <br /> ⇇ \u21c7 | ||
| ↤ \u21a4 <!-- ↢ \u21a2 --> | | ↤ \u21a4 <!-- ↢ \u21a2 --> | ||
| ↼ \u21bc <!-- ↽ \u21bd --> | | ↼ \u21bc <!-- ↽ \u21bd --> | ||
| ⤚ \u219a | | ⤚ \u219a | ||
| ⟵ \u27f5 <br /> | | ⟵ \u27f5 <br /> ⟻ \u27fb | ||
| ⇠ \u21e0 | | ⇠ \u21e0 | ||
<!-- ↜ \u219c --> | <!-- ↜ \u219c --> | ||
Line 186: | Line 182: | ||
| ↔ &harr;<br />\u2194 | | ↔ &harr;<br />\u2194 | ||
| <span style="background:#dddddd;">↮ \u21ae <!-- ⇹ \u21f9 --></span> | | <span style="background:#dddddd;">↮ \u21ae <!-- ⇹ \u21f9 --></span> | ||
| | | | ||
| ⇄ \u21c4 <!-- ⇆ \u21c6 --> | | ⇄ \u21c4 <!-- ⇆ \u21c6 --> | ||
Line 200: | Line 195: | ||
| ↑ &uarr;<br />\u2191 | | ↑ &uarr;<br />\u2191 | ||
| <!-- ⤉ \u2909 --> | | <!-- ⤉ \u2909 --> | ||
| | | | ||
| ⇈ \u21c8 | | ⇈ \u21c8 | ||
Line 212: | Line 206: | ||
| ↓ &darr;<br />\u2193 | | ↓ &darr;<br />\u2193 | ||
| <!-- ⤈ \u2908 --> | | <!-- ⤈ \u2908 --> | ||
| | | | ||
| ⇊ \u21ca | | ⇊ \u21ca |
Revision as of 07:44, 7 March 2012
Entities
&#decimal; or &#xhex; Other HTML entities Unicode symbols More Unicode symbols
& & | \ \ | \u00a0 | |||||||
| | | ¦ ¦ \u00a6 |
∣ \u2223 | ∤ \u2224 | ∥ \u2225 | ∦ \u2226 | ||||
" " | ' ' \u0027 |
′ ′ \u2032 |
″ ″ \u2033 |
´ ´ \u00b4 | |||||
{ { | ⦃ \u2983 | ❴ \u2774 | ❨ \u2768 | ||||||
} } | ⦄ \u2984 | ❵ \u2775 | ❩ \u2769 | ||||||
[ [ | ⟦ \u27e6 | 【 \u3010 | ‹ ‹ \u2039 |
« « \u00ab | |||||
] ] | ⟧ \u27e7 | 】 \u3011 | › › \u203a |
» » \u00bb | |||||
〈a,b〉 ⟨ \u2329 |
《a,b》 \u300a | ❬a,b❭ \u276c | |||||||
〉 ⟩ \u232a |
》 \u300b | ❭ \u276d | |||||||
< < | ≤ ≤ \u2264 |
≮ \u226e | ≰ \u2270 | ≺ \u227a | ⊀ \u2280 | ≼ \u227c | ⋠ \u22e0 | ||
> > | ≥ ≥ \u2265 |
≯ \u226f | ≱ \u2271 | ≻ \u227b | ⊁ \u2281 | ≽ \u227d | ⋡ \u22e1 | ||
≪ \u226a | ⋘ \u22d8 | ≫ \u226b | ⋙ \u22d9 | ≷ \u2277 | ≹ \u2279 | ||||
- | − − \u2212 |
– – \u2013 |
— — \u2014 |
± ± \u00b1 |
÷ ÷ \u00f7 |
u/v | u/v ⁄ \u2044
| ||
uxv | u×v × \u00d7 |
u*v | u∗v ∗ \u2217 |
u★v \u2605 | u☆v \u2606 | u✶v \u2736 | |||
u·v · \u00b7 |
u⋅v ⋅ \u22c5 |
u∘v \u2218 | u•v • \u2022 | ||||||
⊕ ⊕ \u2295 |
⊗ ⊗ \u2297 |
⊙ \u229a | |||||||
→ → \u2192 |
↛ \u219b | ⥽ \u297d | ↠ \u21a0 ⇉ \u21c9 |
↦ \u21a6 | ⇀ \u21c0 | ⤙ \u2199 | ⟶ \u27f6 ⟼ \u27fc |
⇢ \u21e2 | ⤳ \u2933 |
← ← \u2190 |
↚ \u219a | ⥼ \u297c | ↞ \u219e ⇇ \u21c7 |
↤ \u21a4 | ↼ \u21bc | ⤚ \u219a | ⟵ \u27f5 ⟻ \u27fb |
⇠ \u21e0 | |
↔ ↔ \u2194 |
↮ \u21ae | ⇄ \u21c4 | ⇌ \u21cc | ⟷ \u27f7 | ⇅ \u21c5 | ||||
↑ ↑ \u2191 |
⇈ \u21c8 | ↿ \u21bf | ⇡ \u21e1 | ||||||
↓ ↓ \u2193 |
⇊ \u21ca | ⇃ \u21c3 | ⇣ \u21e3 | ||||||
⇒ ⇒ \u21d2 |
⇏ \u21cf | ⇾ \u21fe | |||||||
⇐ ⇐ \u21d0 |
⇍ \u21cd | ⇽ \u21fd | |||||||
⇔ ⇔ \u21d4 |
⇎ \u21ce | ⇿ \u21ff | |||||||
⇑ ⇑ \u21d1 |
⇓ ⇓ \u21d3 |
⇳ \u21f3 | |||||||
¬ ¬ \u00ac |
⊥ ⊥ \u22a5 |
⊤ \u22a4 | † † \u2020 |
‡ ‡ \u2021 | |||||
∧ ∧ \u2227 |
⋀ \u22c0 | ⊼ \u22bc | u⩕v \u2a55 | u⌃v \u2303 | ⋏ \u22cf | ||||
∨ ∨ \u2228 |
⋁ \u22c1 | ⊻ \u22bb | u⩖v \u2a56 | u⌄v \u2304 | ⋎ \u22ce | ||||
∀ ∀ \u2200 |
∃ ∃ \u2203 |
∄ \u2204 | |||||||
□p \u25a1 | ○ \u25cb | ◇p \u25c7 | ■p \u25a0 | ●p \u25cf | ◆p \u25c6 | ||||
⊢ \u22a2 | ⊬ \u22ac | ⊣ \u22a3 | ⊨ \u22a8 | ⊭ \u22ad | ⊩ \u22a9 | ⊮ \u22ae | |||
∅ ∅ \u2205 |
∈ ∈ \u2208 |
∉ ∉ \u2209 |
℘ ℘ \u2118 | ||||||
∩ ∩ \u2229 |
⋂ \u22c2 | ⊓ \u2293 | |||||||
∪ ∪ \u222a |
⋃ \u22c3 | ⊔ \u2294 | |||||||
⊃ ⊃ \u2283 |
⊇ ⊇ \u2287 |
⊅ \u2285 | ⊉ \u2289 | ⊐ \u2290 | ⊒ \u2292 | ⋣ \u22e3 | |||
⊂ ⊂ \u2282 |
⊆ ⊆ \u2286 |
⊄ ⊄ \u2284 |
⊈ \u2288 | ⊏ \u228f | ⊑ \u2291 | ⋢ \u22e2 | |||
= | ≠ ≠ \u2260 |
≡ ≡ \u2261 |
≢ \u2262 | ||||||
~ | ∼ ∼ \u223c |
≁ \u2241 | ≈ ≈ \u2248 |
≉ \u2249 | ≅ ≅ \u2245 |
≇ \u2247 |
== Start with Heading 2 ==
Here is ''Italic text'' and here is '''Bold text'''.
Here issuper text andsub text and small and big and "color:gray;" and "color:white; background:red;" and struckthrough.
Here is <code>code-style text & stuff; markup is still processed.
</code>.
Here is {{Path|/a/path/name}}: /a/path/name.
Underlining: use <ins> or <span style="text-decoration: underline;">.
Strikethrough: use <del> or <s> or <span style="text-decoration: line-through;">
Here is [[Internal pagetitle|an internal pagetitle]]: an internal pagetitle. Text immediately suffixing the link will be incorporated into the link text, preface with <nowiki /> to suppress.
Here is an Alpine Issue link {{Issue|279}}: #279.
Here is [http://www.example.org/ an external link]: an external link. If no link text is supplied: [1]. Omit brackets for http://www.example.org/ (use <nowiki> to suppress). Same server can be specified using {{SERVERNAME}}.
[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info].
-- ~~~~ 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 -->.
HR like this
---
[[File:Alpinelinux 01.png|right|thumb|100px|Caption text]] gives:
Options can appear in any order:
- Caption text defaults to filename; to wholly suppress, use
<span title=""></span>
- alt=text
- Size can be [width][xheight]px
- page=number, for PDF images
- rendered inline, Caption shows as hover text: frameless, and/or border
- rendered inline, on separate line: none
- Valign for inline images, defaults to middle: middle|baseline|sub|super|top|text-top|bottom|text-bottom
- Text flow can be stopped by placing
<br style="clear: both" />
before the text that should start below the floating image - link=URL|pagetitle|blank, only for inline images
- rendered floating, defaults to right align, Caption displayed below image: thumb, thumb=alternate filename, frame (ignores size options)
- rendered floating, defaults to thumb: left|right|center
To instead link to the file, you need to add a colon: File:Alpinelinux 01.png.
{{Cmd|a command to try}}
.
Contents of /path/to/file
Here is a <pre>-formatted block. Markup is still processed and only the first leading space is suppressed.
Use a literal <pre> or the following to suppress wiki markup (HTML still needs to be escaped):
<nowiki>Start with leading space. '''Block format''' will be maintained.</nowiki>
To wrap to screen width, use <pre style="white-space: pre-wrap">.
- : Simply indented text (or use <blockquote>)
- Here is a numbered list item.
- Doubly-numbered
- Here is a bulleted list item.
- Doubly-bulleted
Blank lines, or non-bulleted/numbered lines, end the lists.
- ;item
- : Body text
or {{Gloss|item|Body text}} produce:
- item
- Body text
Other Boxes
{{Draft|Message.}} produces:
This material is work-in-progress ... Message. |
{{Obsolete|Message.}} produces:
This material is obsolete ... Message. (Discuss) |
#REDIRECT [[pagename]]
[[Category:Category name]]
To link to a Category page without adding the page to the category: [[:Category:Not in this category]]
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>
Additional Notes (not displayed)
<nowiki> collapses whitespace, ignores '''wiki''' [[markup]] but still converts → → entities..
Leading space displays as block element, in monospace, doesn't collapse whitespace.
<pre> displays as block element, in monospace, doesn't collapse whitespace. Otherwise like <nowiki>: it ignores '''wiki''' [[markup]] but still converts → → entities.
Here is code
, teletype, stuff to type, sample output, and a variable.