Help:Cheatsheet: Difference between revisions
Prabuanand (talk | contribs) (Taken from Arch wiki and adapted to Alpine Linux wiki) |
Prabuanand (talk | contribs) (commented out unavailable pages, fixed links by adapting to alpine wiki pages, location for category changed to bottom) |
||
Line 55: | Line 55: | ||
[https://www.google.com/ Google search engine] | [https://www.google.com/ Google search engine] | ||
|- style="border-top:1px solid #aaaaaa;" | |- style="border-top:1px solid #aaaaaa;" | ||
|Add a page to a category <div style="padding-left:.5em; font-size:0.9em;">''Categories should be placed at the ''' | |Add a page to a category <div style="padding-left:.5em; font-size:0.9em;">''Categories should be placed at the '''bottom''' of pages.''</div> | ||
|{{ic|<nowiki>[[Category:Category name]]</nowiki>}} | |{{ic|<nowiki>[[Category:Category name]]</nowiki>}} | ||
|The category name will display in a bar at the bottom when the page is previewed or saved. | |The category name will display in a bar at the bottom when the page is previewed or saved. | ||
Line 65: | Line 65: | ||
''Do not sign when contributing to an article.'' | ''Do not sign when contributing to an article.'' | ||
''See also [[ | ''See also [[Help:Signature]].'' | ||
</div> | </div> | ||
| | | | ||
Line 108: | Line 108: | ||
''Start code lines with one or more spaces.'' | ''Start code lines with one or more spaces.'' | ||
<!-- Alpine wiki does not have this page yet | |||
''See also [[Help:Style#Code formatting]].'' | ''See also [[Help:Style#Code formatting]].'' | ||
--> | |||
</div> | </div> | ||
| | | | ||
Line 127: | Line 129: | ||
''=Level 1= should not be used.'' | ''=Level 1= should not be used.'' | ||
<!-- Alpine wiki does not have this page yet | |||
''See also [[Help:Effective use of headers]].''</div> | ''See also [[Help:Effective use of headers]]. | ||
--> | |||
''</div> | |||
| | | | ||
{{ic|<nowiki>== Level 2 ==</nowiki>}}<br /> | {{ic|<nowiki>== Level 2 ==</nowiki>}}<br /> |
Revision as of 05:58, 14 October 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, 12:46, 22 November 2024 (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 |
Redirect to another page
Redirects must be placed at the start of the first line.
|
|
|
Section headings
A Table of Contents will automatically be generated for articles with four or more headings. =Level 1= should not be used. |
|
Level 2Level 3Level 4Level 5Level 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. |
Cmd
Use Template:Cmd.
|
|
apk add package |
Codeline
Use Template:codeline.
|
|
Use apk upgrade -U to upgrade. |
Path
Use Template:Path.
|
|
/etc/network/interfaces |
Note
Use Template:Note.
|
|
Note: This text should be noted.
|
Warning
Use Template:Warning.
|
|
Warning: This text should be heeded. |
Package
Use Template:Pkg.
|
|