Help:Cheatsheet: Difference between revisions
Prabuanand (talk | contribs) (Added Template:Tip) |
Prabuanand (talk | contribs) m (Replaced Level by Heading to make it consistent with Alpine wiki pages) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 120: | Line 120: | ||
''A Table of Contents will automatically be generated for articles with four or more headings.'' | ''A Table of Contents will automatically be generated for articles with four or more headings.'' | ||
''= | ''=Heading 1= should not be used.'' | ||
<!-- Alpine wiki does not have this page yet | <!-- Alpine wiki does not have this page yet | ||
''See also [[Help:Effective use of headers]]. | ''See also [[Help:Effective use of headers]]. | ||
| Line 126: | Line 126: | ||
''</div> | ''</div> | ||
| | | | ||
{{ic|<nowiki>== | {{ic|<nowiki>== Heading 2 ==</nowiki>}}<br /> | ||
{{ic|<nowiki>=== | {{ic|<nowiki>=== Heading 3 ===</nowiki>}}<br /> | ||
{{ic|<nowiki>==== | {{ic|<nowiki>==== Heading 4 ====</nowiki>}}<br /> | ||
{{ic|<nowiki>===== | {{ic|<nowiki>===== Heading 5 =====</nowiki>}}<br /> | ||
{{ic|<nowiki>====== | {{ic|<nowiki>====== Heading 6 ======</nowiki>}}<br /> | ||
| | | | ||
== | == Heading 2 == | ||
=== | === Heading 3 === | ||
==== | ==== Heading 4 ==== | ||
===== | ===== Heading 5 ===== | ||
====== | ====== Heading 6 ====== | ||
|- style="border-top:1px solid #aaaaaa;" | |- style="border-top:1px solid #aaaaaa;" | ||
|Horizontal rule | |Horizontal rule | ||
| Line 159: | Line 159: | ||
| | | | ||
{{ic|# One}}<br /> | {{ic|# One}}<br /> | ||
{{ic|#: Do not number this line}}<br /> | |||
{{ic|# Two}}<br /> | {{ic|# Two}}<br /> | ||
{{ic|## Two point one}}<br /> | {{ic|## Two point one}}<br /> | ||
| Line 164: | Line 165: | ||
| | | | ||
# One | # One | ||
#: Do not number this line | |||
# Two | # Two | ||
## Two point one | ## Two point one | ||
| Line 203: | Line 205: | ||
|- style="border-top:1px solid #aaaaaa;" | |- style="border-top:1px solid #aaaaaa;" | ||
|Character escape | |Character escape | ||
<div style="padding-left:.5em; font-size:0.9em;">''See [[ | <div style="padding-left:.5em; font-size:0.9em;">''See [[Template:Cat#Example|Escape template-breaking characters]]''</div> | ||
| | | | ||
{{ic|<nowiki>{{ic|1=echo =}}</nowiki>}} | {{ic|<nowiki>{{ic|1=echo =}}</nowiki>}}<br/> | ||
{{ic|<nowiki>{{ic|echo{{=}}}}</nowiki>}} | |||
| | | | ||
{{ic|1=echo =}} | {{ic|1=echo =}}<br/> | ||
{{ic|echo {{=}}}} | |||
|- style="border-top:1px solid #aaaaaa;" | |- style="border-top:1px solid #aaaaaa;" | ||
|Display File Contents | |Display File Contents | ||
| Line 218: | Line 222: | ||
Second line.}} | Second line.}} | ||
|- style="border-top:1px solid #aaaaaa;" | |- style="border-top:1px solid #aaaaaa;" | ||
| | |Command | ||
<div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:Cmd]].''</div> | <div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:Cmd]].''</div> | ||
| | | | ||
| Line 237: | Line 241: | ||
Use {{Codeline|apk upgrade -U}} to upgrade. | Use {{Codeline|apk upgrade -U}} to upgrade. | ||
|- style="border-top:1px solid #aaaaaa;" | |- style="border-top:1px solid #aaaaaa;" | ||
|Path | |Display Path | ||
<div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:Path]].''</div> | <div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:Path]].''</div> | ||
| | | | ||
| Line 253: | Line 257: | ||
{{Note|This text should be noted.}} | {{Note|This text should be noted.}} | ||
|- style="border-top:1px solid #aaaaaa;" | |- style="border-top:1px solid #aaaaaa;" | ||
| | |Tip | ||
<div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:Tip]].''</div> | <div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:Tip]].''</div> | ||
| | | | ||
| Line 276: | Line 280: | ||
|- style="border-top:1px solid #aaaaaa;" | |- style="border-top:1px solid #aaaaaa;" | ||
--> | --> | ||
| | |Refer Packages | ||
<div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:Pkg]].''</div> | <div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:Pkg]].''</div> | ||
| | | | ||
{{ic|<nowiki>{{Pkg|linux}}</nowiki>}} | {{ic|<nowiki>{{Pkg|linux-lts}}</nowiki>}} | ||
| | | | ||
{{Pkg|linux}} | {{Pkg|linux-lts}} | ||
|- style="border-top:1px solid #aaaaaa;" | |- style="border-top:1px solid #aaaaaa;" | ||
|Refer Issue or Bugs | |Refer Issue or Bugs | ||
| Line 291: | Line 295: | ||
|- style="border-top:1px solid #aaaaaa;" | |- style="border-top:1px solid #aaaaaa;" | ||
|Refer Another Article | |Refer Another Article | ||
<div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:Main]] or [[Template:Seealso]].Placed immediately under section headings | <div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:Main]] or [[Template:Seealso]]. Placed immediately under section headings''</div> | ||
| | | | ||
{{ic|<nowiki>{{Main|IRC}}</nowiki>}}<br /> | {{ic|<nowiki>{{Main|IRC}}</nowiki>}}<br /> | ||
Latest revision as of 10:56, 12 December 2024
For a full list of editing commands, see Help:Editing. To experiment with editing, use the sandbox.
| Works anywhere in the text (wikitext) | ||
| Description | You type | You get |
| Italic text |
|
italic |
| Bold text |
|
bold |
| Bold and italic text |
|
bold & italic |
| Link to another Wiki page |
|
Name of page |
| Link to section on same page |
|
|
| External link |
|
|
| Add a page to a category Categories should be placed at the bottom of pages.
|
[[Category:Category name]]
|
The category name will display in a bar at the bottom when the page is previewed or saved. |
| Signature
Sign your contributions when posting to a Talk page. Do not sign when contributing to an article. See also Help:Signature. |
|
Username, 05:26, 26 November 2025 (UTC) |
| Works anywhere in the text (HTML) | ||
| Description | You type | You get |
| Strikethrough |
|
|
| Underline |
|
underline |
| Subscripts and superscripts |
|
regularsub sup |
| Works only at the beginning of lines | ||
| Description | You type | You get |
| Code
Start code lines with one or more spaces. |
|
$ echo Hello World |
| Section headings
A Table of Contents will automatically be generated for articles with four or more headings. =Heading 1= should not be used. |
|
Heading 2Heading 3Heading 4Heading 5Heading 6 |
| Horizontal rule |
|
|
| Bulleted list |
|
|
| Numbered list |
|
|
| Definition list |
|
|
| Indenting text
This is generally used when replying on a Talk page, as it keeps conversations easy to browse.
|
|
no indent (normal)
|
| Templates | ||
| Description | You type | You get |
| Inline code
Use Template:ic.
|
|
|
| Character escape |
|
|
| Display File Contents
Use Template:Cat.
|
|
Contents of /path/file Body '''text'''
Second line. |
| Command
Use Template:Cmd.
|
|
apk add package |
| Codeline
Use Template:codeline.
|
|
Use apk upgrade -U to upgrade. |
| Display Path
Use Template:Path.
|
|
/etc/network/interfaces |
| Note
Use Template:Note.
|
|
Note: This text should be noted.
|
| Tip
Use Template:Tip.
|
|
Tip: This text should be considered.
|
| Warning
Use Template:Warning.
|
|
Warning: This text should be heeded. |
| Refer Packages
Use Template:Pkg.
|
|
|
| Refer Issue or Bugs
Use Template:Issue.
|
|
|
| Refer Another Article
Use Template:Main or Template:Seealso. Placed immediately under section headings
|
|
|
