How to write a HOWTO

From Alpine Linux
Revision as of 04:53, 12 December 2024 by Prabuanand (talk | contribs) (added information about category, fixed template, linked cheatsheet)

If you are reading this, it probably means you are interested in contributing a Howto or Tutorial to Alpine Linux Wiki. This is great! Just follow those simple steps and you will end up with a great howto in no time.

Writing the HOWTO

Know your readers and what you are trying to tell them to do and pay proper attention to name your page. Changing the name of pages in Wiki is not trivial.

  1. Login to Alpine Linux Wiki.
    Tip: If you have never logged in, click the Log in / create account on the top-right, and then click the Create an account link.
  2. Read the basics of wiki editing with specific reference to Alpine Wiki at Help:Editing and Help:Cheatsheet.
  3. If you are new to Wiki editing, use a subpage of your User namespace like Username/Learning to Use Wiki or use Sandbox to create a Temporary page first.
  4. Paste the Basic HOWTO Template into your new Temporary page.
  5. Follow the instructions in the template.
  6. Pay attention while creating Heading/subheading, as they can be linked within the page and from other wiki pages.
  7. Try as much as possible to refer existing wiki content for standard tasks like installation, partitioning, formatting, user management, managing repositories etc.. instead of repeating the same in your page. This avoids confusing users and prevents content fragmentation.
  8. Always update existing wiki pages so that information with existing wiki links also gets benefited. New pages must be created sparingly, i.e only if it is absoultely needed.
  9. Finally Move your temporary page or create a properly named HOWTO page as explained in Help:Editing and paste your content from the temporary page.

Learn to format Wiki text

  • Refer Help:Editing to understand the Text Formatting Rules.
  • By clicking the Edit page button on Alpine Linux Wiki articles to read the source. Do not accidentally modify them.
  • By experimenting in Sandbox
  • Lookup Cheatsheet for Alpine Linux Wiki while editing wiki pages.

Basic HOWTO Template

A WikiText skeleton of a basic HOWTO:

Summarize your article here so readers can decide
quickly whether to read it. This line appears right 
below the page Title.

== Before You Start Title ==
Your readers might need to get ready before they can do the work.
If so explain those prerequisites first. This section might alternatively 
contain background information readers need to know before they can make 
sense of your example or carry out your instructions.

== Doing Something Title ==
Write the steps of how to do something in this section.
If possible, show an example first, then tell your readers the steps.
Break this procedure into separate procedures to avoid more than
about 7-9 steps per procedure.

 INSERT GREAT EXAMPLE HERE

#Answer the following three questions, at least in your head.
##What do I explain how to do?
##How do I do that?
##What do HOWTO readers already know about doing that?
#Write up a good example. This ensures you can do it.
#Write up the steps to do it.
#Write the background info/prerequisites readers need.
#Write the summary.
#Clean up your work.
#Revise, revise, revise.

== See Also ==
Point your readers to related information they may refer 
further, as every information does not fit in your HOWTO.
Remember to add  both internal wiki links and external 
references.

Every page should be assigned at least one category.
So add relevant category to your page. 

See Also