How to write a HOWTO: Difference between revisions

From Alpine Linux
m (fixed link for format command)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.
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=
== Writing the HOWTO ==
Know your readers and what you are trying to tell them to do.
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.
#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.}}
#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.}}
#Edit any Alpine Linux Wiki page, adding a link to your new, not yet existent page: <nowiki>[[How To Write A HOWTO]]</nowiki>
#Read the basics of wiki editing with specific reference to Alpine Wiki at [[Help:Editing]].
#Click the link, [[Sandbox:How to write a HOWTO|How to write a HOWTO]].<br/>''Alpine Linux Wiki opens the new page for editing.''
# If you are new to Wiki editing, use a subpage of your User namespace or use [[Sandbox]] to create a Temporary page first.
#Paste the '''Basic HOWTO Template''' into your new HOWTO.
#Paste the '''Basic HOWTO Template''' into your new Temporary page.
#Follow the instructions in the template.
#Follow the instructions in the template.
#Try as much as possible to refer existing wiki content for standard tasks like [[installation]], [[Setting_up_disks_manually#Manual partitioning|partitioning]], [[Setting_up_disks_manually#Formatting_partitions|formatting]], [[Setting_up_a_new_user#Creating_a_new_user|user management]], [[Repositories#Managing_repositories|managing repositories]] etc.. instead of repeating the same in your page. This avoids confusing users and prevents content fragmentation.
# Finally create the properly named HOWTO page as explained in [[Help:Editing]] and paste your content from the temporary page.


=Learn to format Wiki text as you write:=
== Learn to format Wiki text ==
*By reading the Text Formatting Rules
*Refer [[Help:Editing]] to understand the Text Formatting Rules  
*By clicking the Edit page button on Alpine Linux Wiki articles to read the source
*By clicking the Edit page button on Alpine Linux Wiki articles to read the source. Do not accidentally modify them.
*By experimenting
*By experimenting in [[Sandbox]]
=Basic HOWTO Template=
 
== Basic HOWTO Template ==


A WikiText skeleton of a basic HOWTO:
A WikiText skeleton of a basic HOWTO:
  =How To Do Something=
  == How To Do Something ==
   
   
  Summarize your article here so readers can decide
  Summarize your article here so readers can decide
  quickly whether to read it.
  quickly whether to read it.
   
   
  =Before You Start Title=
  == Before You Start Title ==
  Your readers might need to get ready before they can do the work.
  Your readers might need to get ready before they can do the work.
  If so explain those prerequisites first. This section might alternatively  
  If so explain those prerequisites first. This section might alternatively  
Line 27: Line 30:
  sense of your example or carry out your instructions.
  sense of your example or carry out your instructions.
   
   
  =Doing Something Title=
  == Doing Something Title ==
  Write the steps of how to do something in this section.
  Write the steps of how to do something in this section.
  If possible, show an example first, then tell your readers the steps.
  If possible, show an example first, then tell your readers the steps.
Line 44: Line 47:
  #Write the summary.
  #Write the summary.
  #Clean up your work.
  #Clean up your work.
# Add relevant [[Special:Categories|category]] to your page, as every page should be assigned at least one Category.
  #Revise, revise, revise.
  #Revise, revise, revise.
   
   
  =See Also=
  == See Also ==
  If you ought to point your readers to related information
  If you ought to point your readers to related information
  they no doubt need but that does not fit in your HOWTO, add links here.
  they no doubt need but that does not fit in your HOWTO, add links here.


=See Also=
== See Also ==
*[[Text Formatting Rules]]
*[[Help:Editing]]
*[[Wiki Etiquette]]
*[[Project:Wiki etiquette|Wiki etiquette]]
*[[Alpine Linux Wiki templates]]
 
[[Category:Wiki]]

Latest revision as of 07:00, 6 November 2024

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.
  3. If you are new to Wiki editing, use a subpage of your User namespace 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. 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.
  7. Finally create the 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

Basic HOWTO Template

A WikiText skeleton of a basic HOWTO:

== How To Do Something ==

Summarize your article here so readers can decide
quickly whether to read it.

== 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.
# Add relevant category to your page, as every page should be assigned at least one Category.
#Revise, revise, revise.

== See Also ==
If you ought to point your readers to related information
they no doubt need but that does not fit in your HOWTO, add links here.

See Also