(→Naming articles, categories, files on the wiki: punctuation in titles.) |
|||
Line 71: | Line 71: | ||
<nowiki>===A Level-Three Heading===</nowiki> | <nowiki>===A Level-Three Heading===</nowiki> | ||
=== | ===How to format a list=== | ||
{| | {| | ||
|- | |- | ||
Line 82: | Line 82: | ||
* '''Item 1''' - Explanation of Item 1 | * '''Item 1''' - Explanation of Item 1 | ||
* '''Item 2''' - Explanation of Item 2 | * '''Item 2''' - Explanation of Item 2 | ||
|- | |||
|<pre> | |||
# '''Item 1''' - Explanation of Item 1 | |||
# '''Item 2''' - Explanation of Item 2 | |||
</pre> | |||
|<!-- I really want some padding here. How do I get that? --> | |||
| | |||
# '''Item 1''' - Explanation of Item 1 | |||
# '''Item 2''' - Explanation of Item 2 | |||
|} | |} | ||
When a list is used to define or explain terms, options or elements, the term, option, or element (the item) should be bolded, followed by a space, single dash, and space (" - ") and then by the definition or explanation in unbolded text. | When a list is used to define or explain terms, options or elements, the term, option, or element (the item) should be bolded, followed by a space, single dash, and space (" - ") and then by the definition or explanation in unbolded text. |
Revision as of 15:28, 12 September 2011
The documentation team wants to make the documentation clear and easy for everyone to understand. So it has settled on these guidelines. Everyone who works on SMF documentation at this site is encouraged to follow these guidelines.
General Guidelines
- Be Clear - The reader may not know anything about SMF.
- Keep It on Topic - Link elsewhere for more information.
- Keep It Simple -- Not everyone reads English easily
- Proper Grammar and Spelling - As taught in US High Schools
- No Sentence Fragments - Usually. All sentences need both a subject and a verb. Exceptions: fragments can be used judiciously in lists
- No Slang or Jargon - It does not "rain cats and dogs." An iPod is not "cool" or "spiffy."
- No Contractions - Write "it is," never "it's." Write "do not," never "don't."
- No Abbreviations - You will spell out "Internal Revenue Service" at least the first time, providing the abbreviations behind it: "Internal Revenue Service (IRS)".
- Never Use Exclamation Points - Unless you're quoting someone.
- Avoid Asking Questions - User documentation generally should answer questions, not pose them.
- Refrain From Using Parentheses - At least, as much as possible.
- Refrain From Using "Etc" or "So On" - Other constructions (such as those that appear in a typical writing style discussion) are more clear or more formal.
- Refrain from using First and Second person I, we, you -- let's not make it about us and them
- In descriptive sections use an impassive, impersonal style. Use active voice where possible, passive voice where necessary to put the emphasis correctly. Sometimes, to put the emphasis on the road, it is necessary to say "the road was crossed by the chicken". But not usually.
- Use an Instructional Style in how-to sections, and separate how-to from descriptions
Word Choice
Words not to use
Some words just work better than others to keep the documentation clear and professional, and to maintain the style the team has selected. Here are some examples of words that generally should not be used.
Word | Alternative | Reason |
---|---|---|
Click (an option) | Select | Clarity and consistancy. The goal is to select an option. Click is the noise the mouse makes when the left button is depressed. |
Folder | Directory | Consistancy. The team's choice -- the term "directory" predates the "folder" metaphor. |
You/I/We can | The administrator may | Formal style |
Get | Download | Clarity. |
Tick | Check | Consistancy. |
This list may be updated as the documentation team settles on consitent terms to make the documentation easier to understand.
SMF Words to Use
Some of these words are non-standard. They are to be used in SMF documentation for consistancy with the application interface. These are the terms SMF uses.
- checkbox
- drop-down list
- login
- membergroup one word, rather than two
- smiley - for emoticon
- smileys - This apparant misspelling is used throughout SMF
Other Elements of Style
Single Word Spelling and Formatting
For consistancy, all SMF documents should use the following conventions:
- Options - "Select the new topic option." The option is in italics when it appears in a sentence.
- Navigational Directions - "Admin > Members > Membergroups... > Add Membergroup". Each navigational element is separated by " > ", and the entire expression is in italics.
- File Paths - For directories or files, the path should be separated by forward slashes /.
The documentation team may add new entries to this list from time to time.
Naming articles, categories, files on the wiki
Follow the wiki naming convention used at Wikipedia.
- Use lower case only (there are very few exceptions)
- Avoid abbreviations in article titles
- Avoid all punctuation in article titles. The characters "?" and "&" are not permitted in article titles, because they can cause difficulty interpreting the article's URL.
Headings for Sections and Subsections
The title of the document serves as the document's level-one heading. No heading should be used at the top of the document. The document may be divided into sections using level-two headings. If sections are used, there must be two or more. Some introductory material (at least one paragraph) must precede the first section. In this wiki, a level-two heading is created by enclosing the heading text in matching sets of 2 equal signs.
==A Level-Two Heading==
Subsections may be created within sections by using level-three headings. In this wiki, a level-three heading is created by enclosing the heading text in matching sets of 3 equal signs. If subsections are used, there must be two or more subsections in a section. A subsection must always be a part of a section. A level-three heading may never appear before the first level-two heading.
===A Level-Three Heading===
How to format a list
* '''Item 1''' - Explanation of Item 1 * '''Item 2''' - Explanation of Item 2 |
| |
# '''Item 1''' - Explanation of Item 1 # '''Item 2''' - Explanation of Item 2 |
|
When a list is used to define or explain terms, options or elements, the term, option, or element (the item) should be bolded, followed by a space, single dash, and space (" - ") and then by the definition or explanation in unbolded text.
Hyperlinking
Hyperlinks should not interrupt the flow of the documentation. Phrases such as "Click here" should not be used to set off the hyperlink, and raw URLs should not be used. Do not add any formatting to hypertext links simply to set them off.Hyperlinks within SMF documentation should only point to URLs at simplemachines.org, with very rare exceptions.
When we create pages, there are often times terms that we would like to define with definitions on other wiki pages. For instance forum or member. Please use them wisely. Remember your audience. If you're directing documentation at developer's of customizations, it only serves to complicate the documentation by having links back to "forum" on the page. So, here goes a simple rule:
Link back to terms that relate to the level of user you're documenting for.
- Proper use of Hyperlink - Integration hooks allow modders to make big changes to SMF without editing the SMF files.
- Improper use of Hyperlink - Integration hooks allow modders to make big changes to SMF without editing the SMF files. Click here to read more.
- Improper use of Hyperlink - Integration hooks allow modders to make big changes to SMF without editing the SMF files (http://wiki.simplemachines.org/smf/Integration_hooks).