Difference between revisions of "User:Dubiousjim/Cheatsheet"

From Alpine Linux
Jump to: navigation, search
(Templates: reorganize)
(change to Help:Editing)
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
== <nowiki>== Start with Heading 2 ==</nowiki> ==
+
#REDIRECT [[Help:Editing]]
 
 
=== Inline elements ===
 
 
 
* '''<nowiki>'''bold'''</nowiki>'''; or use <b>b</b> or <strong>strong</strong> or {font-weight:bold}
 
* ''<nowiki>''italic''</nowiki>''; or use <i>i</i> or <em>em</em> or {font-style:italic}
 
 
 
* <small>small</small> or {font-size:smaller}
 
* <big>big</big> or {font-size:larger} (invalid in 5)
 
* <sup>sup</sup> or {vertical-align:super}
 
* <sub>sub</sub> or {vertical-align:sub}
 
<!--
 
Here is a footnote.<ref>Insert footnote text here.</ref>
 
Here is a recallable footnote.<ref name="foo">Recallable footnote.</ref>; now let's recall it.<ref name="foo" />
 
References: {{reflist}}
 
-->
 
 
 
* &lt;font> deprecated, use {font-size:10pt; color:red; font-family:"Courier"}
 
* <nowiki><span style="</nowiki><span style="color:gray">color:gray</span>"&gt;
 
* <nowiki><span style="</nowiki><span style="color:white; background:red;">color:white; background:red</span>"&gt;
 
* <u>u</u> or <ins>ins</ins> or {text-decoration:underline} (&lt;u> valid in 5 but not 4 strict; &lt;ins> can also be a block element)
 
* <s>s</s> or <del>del</del> or {text-decoration:line-through} (&lt;s> valid in 5 but not 4 strict; &lt;del> can also be a block element)
 
<!-- <strike> also works, but is deprecated -->
 
 
 
* <code>code</code> uses {font-family:monospace;} (&lt;tt> invalid in 5)
 
*: <code><var>markup</var> and &rarr; entities are still honored</code>
 
* <kbd> and <samp> and <q> and <dfn> are ignored
 
 
 
* <var>var</var>
 
* <cite>cite</cite>
 
* <nowiki>{{Hint|</nowiki>{{Hint|term|explanation}}<nowiki>|explanation}}</nowiki>
 
* <nowiki>{{Path|</nowiki>{{Path|/a/path/name}}<nowiki>}}</nowiki>
 
 
 
 
 
Here is <nowiki>[[Internal pagetitle|an internal pagetitle]]</nowiki>: [[Internal pagetitle|an internal pagetitle]]. Text immediately suffixing the link will be incorporated into the link text, preface with &lt;nowiki /> to suppress.
 
 
 
Here is an [http://bugs.alpinelinux.org/ Alpine Issue] link <nowiki>{{Issue|279}}</nowiki>: {{Issue|279}}.
 
 
 
Here is <nowiki>[http://www.example.org/ an external link]</nowiki>: [http://www.example.org/ an external link]. If no link text is supplied: [http:///www.example.org]. Omit brackets for http://www.example.org/<nowiki /> (use &lt;nowiki> to suppress). Same server can be specified using <nowiki>{{SERVERNAME}}</nowiki>.
 
 
 
<nowiki>[mailto:</nowiki>[mailto:info@example.org info@example.org]<nowiki>?Subject=URL%20Encoded%20Subject&body=Body%20Text info]</nowiki>.
 
 
 
<nowiki>-- ~~~~</nowiki> gives a signature and timestamp: -- [[User:Dubiousjim|Dubiousjim]] 10:00, 4 March 2012 (UTC)
 
 
 
 
 
Here is one line, followed by &lt;br /><br />
 
and another line.
 
 
 
Here is &lt;!-- a comment -->.
 
 
 
HR like this<br />
 
<nowiki>----</nowiki>
 
----
 
&nbsp;
 
 
 
=== Block elements ===
 
 
 
{{Cmd|{{lb}}[[Template:Cmd|Cmd]]{{!}}a &lt;var><var>command</var>&lt;/var> to try{{rb}}}}
 
 
 
 
 
{{Cat|/path/file|{{lb}}Cat{{!}}/path/file{{!}}body{{rb}} '''text''' <br /> more
 
Second line.
 
 
 
You must escape characters as follows:
 
  {{=}}            use &amp;#61; or {{lb}}{{=}}{{rb}}
 
  {{!}}            use &amp;#124; or {{lb}}!{{rb}}
 
  {{lb}}          use &amp;#123; twice or {{lb}}lb{{rb}}
 
  {{rb}}          use &amp;#125; twice or {{lb}}rb{{rb}}
 
  unmatched &#91;&#91; use &amp;#91; twice
 
  unmatched &#93;&#93; use &amp;#93; twice
 
}}
 
 
 
 
 
 
 
&lt;nowiki> <nowiki> converts &rarr; entities and collapses whitespace,
 
but ignores all '''wiki''' and <span style="color:green">HTML</span> [[markup]]</nowiki>.
 
 
 
<div style="white-space:pre; font-family:monospace;">
 
HTML's &lt;pre> uses {white-space:pre; font-family:monospace;}
 
To wrap to screen width, use &lt;pre style="white-space:pre-wrap">
 
</div>
 
 
 
In wiki, one leading space displays as block element, in monospace, doesn't collapse whitespace.
 
Converts &rarr; entities and honors '''wiki''' and <span style="color:green">HTML</span> [[markup]].
 
? Can contain any inline element except: IMG OBJECT BIG SMALL SUP SUB
 
 
 
<pre>
 
In wiki, <pre> displays as block element, in monospace, doesn't collapse whitespace.
 
Otherwise like &lt;nowiki>: it converts &rarr; entities, but ignores '''wiki''' and <span style="color:green">HTML</span> [[markup]].
 
One leading space plus <nowiki> is same as <pre> (in this case, subsequent lines should not be space-prefixed; block will extend to closing &lt;/nowiki>)
 
</pre>
 
 
 
: <nowiki>: </nowiki>Simply indented text (on left side only).
 
 
 
<blockquote>This is &lt;blockquote>.
 
Collapses whitespace, and indents on both sides.</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.
 
 
 
<p style="white-space:pre; font-family:monospace;">
 
<nowiki>;item</nowiki>
 
<nowiki>: Body text</nowiki>
 
</p>
 
or <nowiki>{{Define|item|Body text}}</nowiki> produce:
 
;item
 
: Body text
 
 
 
 
 
<!--
 
    <center> deprecated
 
    use <div class="center" style="width:auto; margin-left:auto; margin-right:auto;">Centered text</div>
 
-->
 
 
 
<!-- this extension not present
 
<math>
 
\sum_{n=0}\infty\frac{x^n}{n!}
 
</math>
 
-->
 
 
 
[http://www.mediawiki.org/wiki/Help:Tables Help on tables]
 
<!--
 
    <table>
 
        <caption>
 
        <th>
 
        <tr>
 
        <td>
 
-->
 
 
 
== Images ==
 
 
 
<nowiki>[[File:Alpinelinux 01.png|right|thumb|100px|Caption text]]</nowiki> gives:
 
 
 
[[File:Alpinelinux 01.png|right|thumb|100px|Caption text]]
 
 
 
Options can appear in any order:
 
* <i>Caption text</i> defaults to filename; to wholly suppress, use <code>&lt;span title="">&lt;/span></code>
 
* '''alt='''<i>text</i>
 
* Size can be [<i>width</i>][<b>x</b><i>height</i>]<b>px</b>
 
* '''page='''<i>number</i>, 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 <code>&lt;br style="clear:both" /></code> before the text that should start below the floating image
 
** '''link='''<i>URL</i>|<i>pagetitle</i>|<i>blank</i>, only for inline images
 
* rendered floating, defaults to right align, Caption displayed below image: '''thumb''', '''thumb='''<i>alternate filename</i>, '''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]].
 
 
 
See also:
 
* http://meta.wikimedia.org/wiki/Help:Images_and_other_uploaded_files
 
* http://meta.wikimedia.org/wiki/Help:Image_page
 
* http://en.wikipedia.org/wiki/Wikipedia:Extended_image_syntax
 
 
 
== Other 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>}}
 
{{Note|<nowiki>{{Note|Write your Note here.}}</nowiki>}}
 
{{Warning|<nowiki>{{Warning|Write your Warning here.}}</nowiki>}}
 
{{Todo|<nowiki>{{Todo|Write your Todo here.}}</nowiki>}}
 
 
 
== Entities ==
 
<strong>&amp;#</strong><var>decimal</var><strong>;</strong> or <strong>&amp;#x</strong><var>hex</var><strong>;</strong>
 
[https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references Other HTML entities]
 
[https://en.wikibooks.org/wiki/Unicode/List_of_useful_symbols Unicode symbols]
 
 
 
 
 
{| class="wikitable" border="1"
 
|-
 
| &amp; &amp;amp;
 
| \ &amp;#92;
 
| &nbsp; &amp;nbsp;<br />\u00a0
 
| a␣b \u2423 <!-- ⌴ \u2334 -->
 
| ↵ &amp;crarr; <br /> \u21b5 <!-- ↩ \u21a9 ↲ \u21b2 -->
 
 
 
|-
 
| <nowiki>|</nowiki> &amp;#124;
 
| ¦ &amp;brvbar;<br />\u00a6
 
| ∣ \u2223 <!-- ❘ \u2758 -->
 
| <span style="background:#dddddd;">∤ \u2224</span>
 
| ∥ \u2225
 
| <span style="background:#dddddd;">∦ \u2226</span>
 
 
 
|-
 
| " &amp;quot;
 
| &apos; &amp;apos;<br />\u0027
 
| ′ &amp;prime;<br />\u2032
 
| ″ &amp;Prime;<br />\u2033
 
| ´ &amp;acute;<br />\u00b4
 
 
 
|-
 
| {a,b} <br /> &amp;#123; &amp;#125;
 
| ⦃a,b⦄ <br /> \u2983 \u2984
 
| ❴a,b❵ <br /> \u2774 \u2775
 
| ❨a,b❩ <br /> \u2768 \u2769
 
 
 
|-
 
| [a,b] <br /> &amp;#91; &amp;#93;
 
| ⟦a,b⟧ <br /> \u27e6 \u27e7
 
| 【a,b】 <br /> \u3010 \u3011 <!-- ⁅a,b⁆ \u2045 \u2046 -->
 
 
 
|-
 
| 〈a,b〉 &amp;lang; &amp;rang; <br /> \u2329 \u232a  <!-- 〈a,b〉 \u3008 \u3009 -->
 
| 《a,b》 <br /> \u300a \u300b  <!-- ⟪a,b⟫ \u27ea \u27eb -->
 
| ❬a,b❭ <br /> \u276c \u276d <!-- ❮a,b❯ \u276e \u276f -->
 
<!-- ⟨a,b⟩ \u27e8 \u27e9 ⧼a,b⧽ \u29fc \u29fd -->
 
| ‹ › &amp;lsaquo; &amp;rsaquo; <br /> \u2039 \u203a
 
| « » &amp;laquo; &amp;raquo; <br /> \u00ab \u00bb
 
 
 
|-
 
| &lt; &amp;lt;
 
| ≤ &amp;le;<br />\u2264 <!-- ⩽ \u2a7d ⪕ \u2a95 -->
 
| <span style="background:#dddddd;">≮ \u226e</span>
 
| <span style="background:#dddddd;">≰ \u2270</span>
 
| ≺ \u227a
 
| <span style="background:#dddddd;">⊀ \u2280</span>
 
| ≼ \u227c
 
| <span style="background:#dddddd;">⋠ \u22e0</span>
 
 
 
|-
 
| &gt; &amp;gt;
 
| ≥ &amp;ge;<br />\u2265  <!-- ⩾ \u2a7e ⪖ \u2a96 -->
 
| <span style="background:#dddddd;">≯ \u226f</span>
 
| <span style="background:#dddddd;">≱ \u2271</span>
 
| ≻ \u227b
 
| <span style="background:#dddddd;">⊁ \u2281</span>
 
| ≽ \u227d
 
| <span style="background:#dddddd;">⋡ \u22e1</span>
 
<!--
 
≦ \u2266 ≧ \u2267
 
⪙ \u2a99 ⪚ \u2a9a
 
⫹ \u2af9 ⫺ \u2afa
 
⪛ \u2a9b ⪜ \u2a9c
 
-->
 
<!--
 
⪯ \u2aaf ⪰ \u2ab0 ⪱ \u2ab1 ⪲ \u2ab2
 
⋞ \u22de ⋟ \u22df
 
≾ \u227e ≿ \u227f
 
⪳ \u2ab3 ⪴ \u2ab4 ⪵ \u2ab5 ⪶ \u2ab6
 
⪷ \u2ab7 ⪸ \u2ab8 ⪹ \u2ab9 ⪺ \u2aba
 
≲ \u2272 ≳ \u2273 ≴ \u2274 ≵ \u2275
 
⪝ \u2a9d ⪞ \u2a9e
 
⪅ \u2a85 ⪆ \u2a86 ⪉ \u2a89 ⪊ \u2a8a
 
⪍ \u2a8d ⪎ \u2a8e
 
-->
 
 
 
|-
 
| ≪ \u226a
 
| ⋘ \u22d8
 
| ≫ \u226b
 
| ⋙ \u22d9
 
| ≷ \u2277
 
| <span style="background:#dddddd;">≹ \u2279</span>
 
<!--
 
≶ \u2276 ≸ \u2278
 
⪋ \u2a8b ⪌ \u2a8c
 
⪑ \u2a91 ⪒ \u2a92
 
⪓ \u2a93 ⪔ \u2a94
 
⪏ \u2a8f ⪐ \u2a90
 
⪟ \u2a9f
 
-->
 
 
 
|-
 
| ⊳ \u22b3
 
| ⊵ \u22b5
 
| <span style="background:#dddddd;">⋫ \u22eb
 
| <span style="background:#dddddd;">⋭ \u22ed
 
| ▷ \u25b7 <!-- ▹ \u26b9 -->
 
| ▶ \u25b6 <!-- ▸ \u25b8 -->
 
| ▻ \u25bb
 
| ► \u25ba
 
 
 
|-
 
| ⊲ \u22b2
 
| ⊴ \u22b4
 
| <span style="background:#dddddd;">⋪ \u22ea
 
| <span style="background:#dddddd;">⋬ \u22ec
 
| ◁ \u25c1 <!-- ◃ \u25c3 -->
 
| ◀ \u25c0 <!-- ◂ \u25c2 -->
 
| ◅ \u25c5
 
| ◄ \u25c4
 
 
 
|-
 
| ⧎ \u29ce
 
| ⧏ \u29cf <br /> ⧐ \u29d0
 
|-
 
| ∆ \u2206
 
|
 
|
 
|
 
| △ \u25b3 <!-- ▵ \u25b5 -->
 
| ▲ \u25b2 <!-- ▴ \u25b4 -->
 
|-
 
| ∇ \u2207 &amp;nabla;
 
|
 
|
 
|
 
| ▽ \u25bd <!-- ▿ \u25bf -->
 
| ▼ \u25bc <!-- ▾ \u25be -->
 
 
 
|-
 
| -
 
| − &amp;minus;<br />\u2212
 
| – &amp;ndash;<br />\u2013
 
| — &amp;mdash;<br />\u2014
 
| ± &amp;plusmn;<br />\u00b1
 
| ÷ &amp;divide;<br />\u00f7
 
| u/v
 
| u/v &amp;frasl;<br />\u2044 <!-- u∕v \u2215 -->
 
 
 
|-
 
| uxv
 
| u×v &amp;times;<br />\u00d7 <!-- ⨯ \u2a2f ✕ \u2715 ₓ \u2093 ☓ \u2613 ✖ \u2716 -->
 
| u*v
 
| u∗v &amp;lowast;<br />\u2217 <!-- u⋆v \u22c6 -->
 
| u✶v \u2736
 
| u★v \u2605 <!-- ✭ \u272d -->
 
| u☆v \u2606 <!-- ✫ \u272b -->
 
<!--
 
✱ \u2731 ✲ \u2732
 
⚹ \u26b9 ✴ \u2734 ✷ \u2737 ✳ \u2733 ☼ \u263c ☀ \u2600 ✹ \u2739
 
⋇ \u22c7 ✻ \u273b ✼ \u273c ❇ \u2747 ✽ \u273d ❈ \u2748 ❊ \u274a ❋ \u274b
 
❅ \u2745 ❄ \u2744 ✵ \u2735 ⎈ \u2388 ❆ \u2746
 
-->
 
<!--
 
✚ \u271a ✢ \u2722
 
✛ \u271b ✜ \u271c ✣ \u2723 ✤ \u2724
 
✝ \u271d ☩ \u2629 ♰ \u2670 ♱ \u2671 ✠ \u2720
 
-->
 
 
 
|-
 
| f⚪g \u26a <!-- u⚬v \u26ac -->
 
| f⚫g \u26ab <!-- ⬤ \u2b24 -->
 
| f⊕g &amp;oplus;<br />\u2295  <!-- ⨁ \u2a01 ⊖ \u2296 ⊝ \u229d ⊞ \u229e ⊟ \u229f -->
 
| f⊗g &amp;otimes;<br />\u2297 <!-- ⨂ \u2a02 ⊘ \u2298 ⊛ \u229c ⊠ \u22a0 -->
 
| f⊙g \u229a                  <!-- ⨀ \u2a00 ⊚ \u229b ☉ \u2609 ⊡ \u22a1 -->
 
 
 
|-
 
| u∘v \u2218 <!-- u◦v \u25e6 -->
 
| u•v &amp;bull;<br />\u2022 <!-- u⦁v \u2981 -->
 
| u·v &amp;middot;<br />\u00b7
 
| u⋅v &amp;sdot;<br />\u22c5 <!-- u∙v \u2219 -->
 
| °C deg \u00b0
 
 
 
|-
 
| → &amp;rarr;<br />\u2192
 
| <span style="background:#dddddd;">↛ \u219b <!-- ⇸ \u21f8 --></span>
 
| ⥽ \u297d
 
| ↠ \u21a0 <br /> ⇉ \u21c9
 
| ↦ \u21a6 <!-- ↣ \u21a3 --> <br /> ⤙ \u2199
 
| ⇀ \u21c0 <!-- ⇁ \u21c1 -->
 
| ⟶ \u27f6 <br /> ⟼ \u27fc
 
| ⇢ \u21e2
 
| ⤳ \u2933 <!-- ↝ \u219d -->
 
 
 
|-
 
| ← &amp;larr;<br />\u2190
 
| <span style="background:#dddddd;">↚ \u219a <!-- ⇷ \u21f7 --></span>
 
| ⥼ \u297c
 
| ↞ \u219e <br /> ⇇ \u21c7
 
| ↤ \u21a4 <!-- ↢ \u21a2 --> <br /> ⤚ \u219a
 
| ↼ \u21bc <!-- ↽ \u21bd -->
 
| ⟵ \u27f5 <br /> ⟻ \u27fb
 
| ⇠ \u21e0
 
<!-- ↜ \u219c -->
 
 
 
|-
 
| ↔ &amp;harr;<br />\u2194
 
| <span style="background:#dddddd;">↮ \u21ae <!-- ⇹ \u21f9 --></span>
 
|
 
| ⇄ \u21c4 <!-- ⇆ \u21c6 -->
 
|
 
| ⇌ \u21cc <!-- ⇋ \u21cb -->
 
| ⟷ \u27f7
 
<!-- ↭ \u21ad -->
 
|
 
| ⇅ \u21c5 <!-- ⇵ \u21f5 -->
 
 
 
|-
 
| ↑ &amp;uarr;<br />\u2191
 
| <!-- ⤉ \u2909 -->
 
|
 
| ⇈ \u21c8
 
|
 
| ↿ \u21bf <!-- ↾ \u21be -->
 
|
 
| ⇡ \u21e1
 
 
 
|-
 
| ↓ &amp;darr;<br />\u2193
 
| <!-- ⤈ \u2908 -->
 
|
 
| ⇊ \u21ca
 
|
 
| ⇃ \u21c3 <!-- ⇂ \u21c2 -->
 
|
 
| ⇣ \u21e3
 
 
 
|-
 
| ⇒ &amp;rArr;<br />\u21d2 <!-- ⇨ \u21e8 ➩ \u27a9 ➪ \u27aa -->
 
| <span style="background:#dddddd;">⇏ \u21cf</span>
 
| ⇾ \u21fe
 
 
 
|-
 
| ⇐ &amp;lArr;<br />\u21d0 <!-- ⇦ \u21e6 -->
 
| <span style="background:#dddddd;">⇍ \u21cd</span>
 
| ⇽ \u21fd
 
 
 
|-
 
| ⇔ &amp;hArr;<br />\u21d4 <!-- ⇕ \u21d5 ⬄ \u2b04 -->
 
| <span style="background:#dddddd;">⇎ \u21ce</span>
 
| ⇿ \u21ff
 
 
 
|-
 
| ⇑ &amp;uArr;<br />\u21d1 <!-- ⇧ \u21e7 -->
 
| ⇓ &amp;dArr;<br />\u21d3 <!-- ⇩ \u21e9 -->
 
| ⇳ \u21f3
 
 
 
|-
 
| ¬ &amp;not;<br />\u00ac
 
| ⊥ &amp;perp;<br />\u22a5 <!-- ⟂ \u27c2 ⟘ \u27d8 ⟙ \u27d9 -->
 
| ⊤ \u22a4
 
| † &amp;dagger;<br />\u2020
 
| ‡ &amp;Dagger;<br />\u2021
 
 
 
|-
 
| ∧ &amp;and;<br />\u2227 <!-- u⩕v \u2a55 -->
 
| ⋀ \u22c0
 
| ⊼ \u22bc
 
| u⌃v \u2303
 
| ⋏ \u22cf
 
 
 
|-
 
| ∨ &amp;or;<br />\u2228 <!-- u⩖v \u2a56 -->
 
| ⋁ \u22c1
 
| ⊻ \u22bb
 
| u⌄v \u2304 <!-- u⌵v 2335 -->
 
| ⋎ \u22ce
 
 
 
|-
 
| ∀ &amp;forall;<br />\u2200 <!-- Ɐ \u2c6f -->
 
| ∃ &amp;exist;<br />\u2203 <!-- ⱻ \u2c7b -->
 
| <span style="background:#dddddd;">∄ \u2204</span>
 
 
 
|-
 
| □p \u25a1 <!-- ◻ \u25fb ☐ \u2610 ❏ \u274f ◽ \u25fd ▫ \u25ab -->
 
| ○p \u25cb <!-- ◯ \u25ef ❍ \u274d -->
 
| ◇p \u25c7 <!-- ◊ &loz; \u25ca ⋄ \u22c4 ♢ \u2662 -->
 
| ■p \u25a0 <!-- ◼ \u25fc ◾ \u25fe ▪ \u25aa ∎ \u220e -->
 
| ●p \u25cf
 
| ◆p \u25c6 <!-- ♦p &diams; \u2666 ⧫p \u29eb -->
 
 
 
|-
 
| ⊢ \u22a2 <!-- Ⱶ \u2c75 ⱶ \u2c76 ⊦ \u22a6 -->
 
| <span style="background:#dddddd;">⊬ \u22ac</span>
 
| ⊣ \u22a3
 
| ⊨ \u22a8 <!-- ⊧ \u22a7 -->
 
| <span style="background:#dddddd;">⊭ \u22ad</span>
 
| ⊩ \u22a9
 
| <span style="background:#dddddd;">⊮ \u22ae</span>
 
<!-- ⊫ \u22ab ⊯ \u22af -->
 
<!-- ⊪ \u22aa -->
 
 
 
|-
 
| ∅ &amp;empty;<br />\u2205 <!-- ⌀ \u2300 -->
 
| ∈ &amp;isin;<br />\u2208 <!-- ∊ \u220a -->
 
| <span style="background:#dddddd;">∉ &amp;notin;<br />\u2209</span>
 
| ℘ &amp;weierp;<br />\u2118
 
 
 
|-
 
| ∩ &amp;cap;<br />\u2229
 
| ⋂ \u22c2
 
| ⊓ \u2293
 
|-
 
| ∪ &amp;cup;<br />\u222a
 
| ⋃ \u22c3
 
| ⊔ \u2294
 
 
 
|-
 
| ⊃ &amp;sup;<br />\u2283
 
| ⊇ &amp;supe;<br />\u2287
 
| <span style="background:#dddddd;">⊅ \u2285</span>
 
| <span style="background:#dddddd;">⊉ \u2289</span>
 
| ⊐ \u2290
 
| ⊒ \u2292
 
| <span style="background:#dddddd;">⋣ \u22e3</span>
 
|-
 
| ⊂ &amp;sub;<br />\u2282
 
| ⊆ &amp;sube;<br />\u2286
 
| <span style="background:#dddddd;">⊄ &amp;nsub;<br />\u2284</span>
 
| <span style="background:#dddddd;">⊈ \u2288</span>
 
| ⊏ \u228f
 
| ⊑ \u2291
 
| <span style="background:#dddddd;">⋢ \u22e2</span>
 
 
 
|-
 
| =
 
| <span style="background:#dddddd;">≠ &amp;ne;<br />\u2260</span>
 
| ≡ &amp;equiv;<br />\u2261
 
| <span style="background:#dddddd;">≢ \u2262</span>
 
 
 
|-
 
| ~
 
| ∼ &amp;sim;<br />\u223c <!-- ∽ \u223d ∾ \u223e ∿ \u223f -->
 
| <span style="background:#dddddd;">≁ \u2241</span>
 
| ≈ &amp;asymp;<br />\u2248
 
| <span style="background:#dddddd;">≉ \u2249</span>
 
<!-- ≃ \u2243 ≄ \u2244 ⋍ \u22cd ≂ \u2242 -->
 
| ≅ &amp;cong;<br />\u2245
 
| <span style="background:#dddddd;">≇ \u2247 <!-- ≆ \u2246 --></span>
 
<!-- ≊ \u224a ≌ \u224c ≋ \u224b -->
 
 
 
|-
 
| ⌈ ⌉ &amp;lceil; &amp;rceil;<br />\u2308 \u2309
 
| ⌊ ⌋ &amp;lfloor; &amp;rfloor;<br />\u230a \u230b
 
| ⌜S⌝ \u231c \u231d <!-- ⎾S⏋ \u23be \u23cb -->
 
| ⌞S⌟ \u231e \u231f <!-- ⎿S⏌ \u23bf \u23cc -->
 
 
 
|-
 
| ℕ \u2115
 
| ℤ \u2124
 
| ℚ \u211a
 
| ℝ \u211d
 
| ℜ &amp;real;<br />\u211c <!-- ℛ \u211b -->
 
| ℩ \u2129 <br /> ⍳ \u2373
 
| ℯ \u212f
 
| ℇ \u2107 <br /> ℰ \u2130
 
 
 
|-
 
| ∏ &amp;prod;<br />\u220f <!-- \u2210 ∐ -->
 
| ∑ &amp;sum;<br />\u2211
 
| √ &amp;radic;<br />\u221a
 
| ∞ &amp;infin;<br />\u221e
 
| … &amp;hellip;<br />\u2026 <!-- ⋯ \u22ef ⋮ \u22ee -->
 
| ∶ \u2236
 
| ∷ \u2237
 
| ∴ &amp;there4;<br />\u2234
 
<!--
 
 
 
§ &amp;sect;<br />\u00a7
 
¶ &amp;para;<br />\u00b6
 
∠  &amp;ang; <br />\u2220
 
∝  &amp;prop; <br />\u221d
 
⊸ \u22b8
 
⇥ \u21e5 ⇤ \u21e4
 
⇱ \u21f1 ⇲ \u21f2
 
⇪ \u21ea
 
⏏ \u23cf
 
✓ \u2713 ✔ \u2714
 
✗ \u2717 ✘ \u2718
 
 
 
➔ \u2794 ➿ \u27bf
 
➞ \u279e ➙ \u2799 ➛ \u279b
 
➜ \u279c ➝ \u279d
 
➡ \u27a1 ➨ \u27a8
 
➤ \u27a4
 
➳ \u27b3 ➵ \u27b5 ➸ \u27b8 ➺ \u27ba ➻ \u27bb
 
 
 
⬅ \u2b05
 
⬌ \u2b0c
 
⬆ \u2b06
 
⬇ \u2b07
 
⬍ \u2b0d
 
 
 
x¹ &amp;sup1; \u00b9
 
x² &amp;sup2; \u00b2
 
x³ &amp;sup3; \u00b3
 
xⁿ &amp;#x2027;
 
½ &amp;frac12; \u00bd
 
¼ &amp;frac14; \u00bc
 
¾ &amp;frac34; \u00be
 
⅙ &amp;#x2159;
 
⅓ &amp;#x2153;
 
⅔ &amp;#x2154;
 
⅚ &amp;#x215a;
 
⅕ &amp;#x2155;
 
⅖ &amp;#x2156;
 
⅗ &amp;#x2157;
 
⅘ &amp;#x2158;
 
⅛ &amp;#x215b;
 
⅜ &amp;#x215c;
 
⅝ &amp;#x215d;
 
⅞ &amp;#x215e;
 
⅐ &amp;#x2150;
 
⅑ &amp;#x2151;
 
⅒ &amp;#x2152;
 
-->
 
|}
 
 
 
 
 
== Downloads ==
 
In general when pointing to Alpine Linux downloads stick with the '''[[Downloads|Downloads Page]]''', but if you for any reason need to include direct download information, do so by using one of below.
 
 
 
{| 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>{{DownloadDev|alpine}}</nowiki></code></p>
 
For 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>{{DownloadDev|alpine}}</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}}
 
<big>'''Example:'''</big><br/>
 
Start from <nowiki>[{{#latestalp:alpine|url}}</nowiki> Downloading latest Alpine Linux Standard], than continue ...
 
'''produces:'''<br/>
 
Start from [{{#latestalp:alpine|url}} Downloading latest Alpine Linux Standard], than continue ...
 
 
 
 
 
 
 
== Advanced ==
 
 
<nowiki>#REDIRECT [[pagename]]</nowiki>
 
 
 
<nowiki>[[Category:Category name]]</nowiki>
 
 
 
To link to a Category page without adding the page to the category: <nowiki>[[:Category:Not in this category]]</nowiki>
 
 
 
<nowiki>{{Draft|Message.}}</nowiki> produces:
 
{{Draft|Message.}}
 
 
 
<nowiki>{{Obsolete|Message.}}</nowiki> produces:
 
{{Obsolete|Message.}}
 
 
 
; Including templates/pages
 
<pre>
 
{{T}} includes [[Template:T]]
 
{{:Name}} includes [[Name]]
 
{{subst:T}} or {{subst::Name}
 
{{msgnw:T}} includes T in <nowiki> style
 
</pre>
 
 
 
=== Template tools ===
 
 
 
<pre>
 
{{T|1=a=alpha|reason=...}}
 
  {{{1|default}}}
 
  {{{reason}}}
 
 
 
Explicitly named/numbered args are trimmed, to preserve whitespace have to use implicitly numbered args. Inside a template, substrings beginning with "*", "#", ":", or ";" are automatically prefixed by a newline. Use `a{{{dummy|;}}}b` to generate `a;b`.
 
 
 
Use {{ns:0}} for empty string.
 
</pre>
 
 
 
[[Template:Cat]] uses <nowiki>{{#tag:nowiki|...}}</nowiki> around its <nowiki>{{{2}}}</nowiki>.
 
 
 
<nowiki>{{</nowiki>if|<var>value</var>|<var>then</var>|<var>else</var>}} yields <var>then</var> if <var>value</var> isn't blank; otherwise it yields <var>else</var>.
 
One limitation: <nowiki>{{</nowiki>if|2=<var>then</var>}} yields <var>then</var> (but works properly if <var>value</var> is defined and empty, or <var>else</var> is defined).
 
 
 
<nowiki>{{</nowiki>ifz|<var>value</var>|<var>result</var>}} yields <var>result</var> if <var>value</var> is blank.
 
 
 
<nowiki>{{</nowiki>ifn|<var>value</var>|<var>result</var>}} yields <var>result</var> if <var>value</var> isn't blank.
 
One limitation: <nowiki>{{</nowiki>ifn|2=<var>result</var>}} yields <var>result</var> (but works properly if <var>value</var> is defined and empty).
 
 
 
 
 
=== Making new '''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></pre>
 
 
 
== Additional Notes (not displayed) ==
 
 
 
<div style="display:none;">
 
 
 
{{nowrap|text}} ~~>
 
<span style="white-space:nowrap">{{{1}}}</span>
 
 
 
{{inlinepre|text}} ~~>
 
<span style="padding:2px; background:#F9F9F9; border:1px dashed #2F6FAB; font:0.9em monospace;">{{{1}}}</span>
 
 
 
{{right|text}} ~~>
 
<div align="right">{{{1}}}</div>
 
 
 
{{rightcolumn|text}} ~~>
 
<div style="float:right; clear:right;">{{{1}}}</div>
 
;; stacks with anything else floated in rightcolumn
 
 
 
{{border|text}} ~~>
 
<span style="display:inline"><span style="display:table-cell; border-collapse:collapse; border: solid 1px #ddd;">{{{1}}}</span></span>
 
 
 
{{center|text}} ~~>
 
<div align="center">{{{1}}}</div>
 
 
 
 
 
 
 
 
 
{{Codeline|text}} ~~>
 
<span style="font-family:monospace; color:#000055; white-space:nowrap">{{{1}}}</span>
 
 
 
 
 
How do I use a template as a signature?
 
 
 
When you look at your preferences, you see a check box for "raw signature." But the field will only take a certain number of characters. What if you want more?
 
 
 
You will need to create two pages, possibly in your userspace.
 
 
 
    Create the first page (FIRST PAGE)
 
    Go to your preferences, check "raw signature" and put {{FIRST PAGE}} in the signature. Save
 
    Create a second page (SECOND PAGE) (possibly a sub-page of the first)
 
    Go back to the first page (FIRST PAGE) and do {{SECOND PAGE}}
 
    Go to the second page (SECOND PAGE) and place the code you wish to have for your signature.
 
 
 
If you don't have this structure, you will still be inserting all your signature code into the raw code wherever your signature is used, because the software will insert "SUBST" in your preferences. You may not mind this, in which case you only need one page. If you want the raw code to only display {{FIRST PAGE}}, which looks a lot cleaner, then you need to use the two-page structure.
 
 
 
 
 
How to move a page (Wikipedia)
 
 
 
A common example: moving a userspace draft into place. The intended article name is entered without any prefixes.
 
 
 
A move will fail if a page already exists at the target name, unless it is simply a redirect to the present name that has never been modified (check the edit history). The steps for moving a page are as follows:
 
 
 
    With the page to be moved displayed, choose the "move" option near the top of the page. In the default Vector skin, this is in a drop-down menu to the right of the screen, after "History" and the "Watchlist" star (see picture). In the Monobook skin, it is a tab at the top. You'll be asked for a new name for the page, and given the option to also move the page's talk page (this box should usually be left checked). Complete the "Reason for move" field (which is like an edit summary). Although filling out the "Reason" field isn't required, you should state a reason for the page move.
 
    When ready, click the move button and, if successful, the page will be renamed to the new title. The old title will become a redirect page, so any links to the old title will still go to the new page. However, note that double redirects (pages that redirect to the original page), will not automatically follow to the new page, so you will have to refer them manually (as explained at How to fix a double redirect and Checking for double redirects). However, if you're an administrator, you can move pages without leaving a redirect behind.
 
    Open the what-links-here for that page (there may be a shortcut link on the page-moved summary screen to let you do this, but the what-links-here link will in any case be in the toolbox, which is near the bottom of the sidebar unless you've customized your skin away from the default Vector).
 
    In the section of that page marked filters, click on the button labeled "Hide links". This will result in the page only showing redirects to the prior name. Open each of the redirect pages (best to do so in new tabs), click edit this page for each one, and change their target to the name of the page to which you have moved the page. Though this is an important cleanup step, if you miss some, they will normally be fixed by a bot shortly afterwards.
 
    If there are more than 50 redirects listed (rare) on the "what links here" page, don't forget to navigate to all parts of the list using the "next 50" or other links available.
 
    Since the article name is reflected in the lead section, that section may need to be updated to be consistent with the new name.
 
    If you moved an article which contains any non-free content (such as images or sound clips), you will need to edit the files' own Wikipedia page, changing the non-free use rationale to refer to the new article title. This is to ensure continued compliance with the non-free content criteria (part 10c), which if not followed, may result in the file's speedy deletion.
 
 
 
Once the page has been moved, this will be recorded in the Move Log and a "move has succeeded" message will be displayed.
 
 
 
 
 
Console and Text browsers
 
 
 
Warning: Many console browsers will convert text in edit boxes to the encoding in use by your terminal (or what the browser thinks is your terminal's encoding which may not be the same thing) either at page load time (links and lynx) or when editing a field (w3m). If your terminal encoding is UTF-8 this is not a problem but if your terminal is using a legacy encoding (or is using UTF-8 but your browser thinks it's using a legacy encoding) then this is likely to destroy characters that are not present in the encoding your terminal is using when you save the page after editing.
 
 
 
 
 
ELinks
 
 
 
    Text only, but renders tables and frames.
 
    Supports HTTP authentication.
 
    Users can use their text editor of choice to edit textarea fields.
 
    Problems with editing UTF-8; set "User-agent identification" (in setup->option manager->protocols->http) to something like "Lynx/elinks/%v (textmode; %s; %t-%b)" to get non-ascii characters as hex codes.
 
    View is enhanced (especially of diffs) by using the following user.css and lua hook file (place in ${HOME}/.elinks and enable via option manager)
 
 
 
 
 
user.css:
 
 
 
/*
 
1. place in ~/.elinks
 
2. set user css to be "user.css" (no path, relative to ~/.elinks)
 
3. use document colors: use 1 or 2
 
*/
 
 
 
.diffchange {
 
        color: red;
 
        font-weight: bold;
 
}
 
 
 
.diff-deletedline {
 
        color: green;
 
}
 
 
 
.diff-addedline {
 
        color: cyan;
 
}
 
 
 
a.new {
 
        color: cyan;
 
        font-weight: bold;
 
}
 
 
 
 
 
 
 
hooks.lua:
 
 
 
--[[
 
lua preformatting function
 
 
 
1. lua has to be installed before compiling elinks; if this
 
  is the case, it is used by default
 
2. place this file in ~/.elinks
 
 
 
this file does:
 
 
 
show <del> and <ins> element, make <s> more evident
 
 
 
preformatting for wikipedia pages: since elinks ignores the
 
class attribute of <td> tags, we move it into the inner
 
<div> element
 
 
 
]]
 
 
 
testing=false
 
 
 
function pre_format_html_hook (url, html)
 
  -- formatting for <s> <del> <ins>
 
  html = string.gsub(html, '<[sS]>', '<s>[S:')
 
  html = string.gsub(html, '</[sS]>', ':S]</s>')
 
  html = string.gsub(html, '<[dD][eE][lL]>', '<s>[DEL:')
 
  html = string.gsub(html, '</[dD][eE][lL]>', ':DEL]</s>')
 
  html = string.gsub(html, '<[iI][nN][sS]>', '<s>[INS:')
 
  html = string.gsub(html, '</[iI][nN][sS]>', ':INS]</s>')
 
 
 
  -- diff-addedline and diff-deletedline classes
 
  if string.find(url, "diff=", 1, 1) or testing then
 
    html = string.gsub(html, '<td class="diff[-]addedline"><div>',
 
                            '<td><div class="diff-addedline">')
 
    html = string.gsub(html, '<td class="diff[-]deletedline"><div>',
 
                            '<td><div class="diff-deletedline">')
 
  end
 
 
 
  return html
 
end
 
 
 
Links
 
 
 
    In old versions the login may be broken. (Try to check referrer sending and cookie handling. If everything fails try to use ELinks, and check the same settings.)
 
 
 
Lynx
 
 
 
    Users can use their text editor of choice to edit textarea fields (this feature needs to be enabled at compile time)
 
    Forces wrapping of very long lines in a textarea, which is a problem in editing some articles.
 
    Display options for non-ASCII characters affect editing.
 
    Most tables are rendered as simple text.
 
    Viewing of diffs and redlinks can be improved by adding the following to the lynx.lss configuration file:
 
 
 
            span.diffchange:bold:brightred
 
            td.diff-deletedline:bold:green
 
            td.diff-addedline:bold:cyan
 
            a.new:bold:cyan
 
 
 
 
 
</div>
 

Latest revision as of 12:16, 24 March 2012

Redirect to: