Help:Style: Difference between revisions

From Alpine Linux
m (fixed broken link and rephrased introduction sentence)
m (clarified on the page title)
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
* Page titles and all headings should use [https://en.wikipedia.org/wiki/Letter_case#Sentence_case sentence case].
* Page titles and all headings should use [https://en.wikipedia.org/wiki/Letter_case#Sentence_case sentence case].
* Avoid including '''Alpine Linux''' in headings.
* Avoid including '''Alpine Linux''' in headings.
* Start headings at level 2, and don't skip levels.
* Start headings at level 2, as first-level heading is used for page title.
* First-level headings and their formatting is used for article title.  
* Don't skip levels.


== Standard sections ==
== Section organization ==


The following sections are recommended on all wiki pages:
Every page should begin with an introductory lead section – a concise summary of the article – which is never divided into sections. The remainder of the article is typically divided into sections. The following sections are recommended on all wiki pages:


<Pre>
  === Prerequisite ===
  === Prerequisite ===


If there any Prerequisite, it must be properly listed here.
  If there any Prerequisite, it must be properly listed here.


  === "Installation" section ===
  === Installation ===


The Installation section must appear early in the page.
  The Installation section must appear early in the page.


  === "Configuration" section ===
  === Configuration ===


The Configuration section must follow with detailed sub-headings to handle all sub-topics.
  The Configuration section must follow with detailed sub-headings to handle all sub-topics.


  === "Troubleshooting" section
  === Troubleshooting ===


Troubleshooting section must include common errors that may be encountered by the users.
  Troubleshooting section must include common errors that may be encountered by the users.


  === "See also" section ===
  === See also ===


Add both internal wiki links and external references relevant to the page in this section.
  Add both internal wikilinks and external references relevant to the page in this section.
</Pre>


== Page category ==
== Bulleted and numbered lists ==


Every page should be assigned at least [[Help:Editing#categories| one category]] from among the list of [[Special:Categories|categories]].
* Do not use lists if a passage is read easily as plain paragraphs.
* Use numbers rather than bullets only if:
**a need to refer to the elements by number may arise;
**the sequence of the items is critical;
 
== Links ==
 
Make [[Help:Editing#Links|links]] only where they are relevant and helpful in the context: Excessive use of hyperlinks can be distracting and may slow the reader down. Add links only that are worth pursuing.
 
Check links: Ensure the destination is the intended one and test them.
External links should not normally be used in the body of an article and instead Use [[#See also]] section for placing them. Add external links with discretion and do not use wiki for self-promotion.
 
== Category ==
 
Every page should be assigned at least one [[Help:Editing#categories|category]] from among the [[Special:Categories|categories list]] by placing them at the bottom of the page.


== See also ==
== See also ==
 
* [[How to write a HOWTO]]
[[How to write a HOWTO]]
* [https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style Wikipedia Manual of Style]
* [https://wiki.archlinux.org/title/Help:Style Archwiki Help:Style]


[[Category:Wiki]]
[[Category:Wiki]]

Latest revision as of 06:02, 15 December 2024

To achieve a consistent look and feel across all pages of Alpine Linux wiki, editors must follow the below style guidelines as much as possible.

Page title and headings

  • Page titles and all headings should use sentence case.
  • Avoid including Alpine Linux in headings.
  • Start headings at level 2, as first-level heading is used for page title.
  • Don't skip levels.

Section organization

Every page should begin with an introductory lead section – a concise summary of the article – which is never divided into sections. The remainder of the article is typically divided into sections. The following sections are recommended on all wiki pages:

 === Prerequisite ===

  If there any Prerequisite, it must be properly listed here.

 === Installation ===

  The Installation section must appear early in the page.

 === Configuration ===

  The Configuration section must follow with detailed sub-headings to handle all sub-topics.

 === Troubleshooting ===

  Troubleshooting section must include common errors that may be encountered by the users.

 === See also ===

  Add both internal wikilinks and external references relevant to the page in this section.

Bulleted and numbered lists

  • Do not use lists if a passage is read easily as plain paragraphs.
  • Use numbers rather than bullets only if:
    • a need to refer to the elements by number may arise;
    • the sequence of the items is critical;

Links

Make links only where they are relevant and helpful in the context: Excessive use of hyperlinks can be distracting and may slow the reader down. Add links only that are worth pursuing.

Check links: Ensure the destination is the intended one and test them.

External links should not normally be used in the body of an article and instead Use #See also section for placing them. Add external links with discretion and do not use wiki for self-promotion.

Category

Every page should be assigned at least one category from among the categories list by placing them at the bottom of the page.

See also