Difference between revisions of "Documentation/Dashboard/Wiki Editing Policy"

From Apache OpenOffice Wiki
Jump to: navigation, search
(List of Existing Documentation Templates)
(List of Existing Documentation Templates)
Line 107: Line 107:
 
<tt><nowiki>{{Documentation/BeingEdited|~~~~}}</nowiki></tt>
 
<tt><nowiki>{{Documentation/BeingEdited|~~~~}}</nowiki></tt>
 
|{{Documentation/BeingEdited|[[User:Fpe|Fpe]] 17:54, 7 February 2008 (CET)}}
 
|{{Documentation/BeingEdited|[[User:Fpe|Fpe]] 17:54, 7 February 2008 (CET)}}
|-
+
|-valign=top
 
|[[Template:Documentation/Caution]]
 
|[[Template:Documentation/Caution]]
 
|Takes sections containing warnings, i.e. information that is potentially harmful in some way, for example, data loss.
 
|Takes sections containing warnings, i.e. information that is potentially harmful in some way, for example, data loss.
<tt><nowiki>{{Documentation/Caution}}</nowiki></tt>
+
<tt><nowiki>{{Documentation/Caution|Always switch off power before opening the case.}}</nowiki></tt>
|{{Documentation/Caution|Never ever do what's written here.}}
+
|{{Documentation/Caution|Always switch off power before opening the case.}}
|-
+
|-valign=top
|[[Template:Documentation/CheckedAccuracy]]|| ||{{Documentation/CheckedAccuracy|John Doe}}
+
|[[Template:Documentation/CheckedAccuracy]]
|-
+
|Marks up pages that have been reviewed for accuracy.
|[[Template:Documentation/DraftPage]]|| || {{Documentation/DraftPage}}
+
Be sure to add name and date of review by adding a <tt><nowiki>~~~~</nowiki></tt> as parameter:
|-
+
<tt><nowiki>{{Documentation/CheckedAccuracy|~~~~}}</nowiki></tt>
|[[Template:Documentation/hbar]]|| || {{Documentation/hbar|100}}
+
|{{Documentation/CheckedAccuracy|John Doe}}
|-
+
|-valign=top
|[[Template:Documentation/HelpNeeded]]|| || {{Documentation/HelpNeeded|Check the spelling}}
+
|[[Template:Documentation/DraftPage]]
|-
+
|Marks up pages that are in a draft state
|[[Template:Documentation/Hook]]|| ||
+
<tt><nowiki>{{Documentation/DraftPage}}</nowiki></tt>
|-
+
|{{Documentation/DraftPage}}
|[[Template:Documentation/Imported]]|| ||
+
|-valign=top
|-
+
|[[Template:Documentation/hbar]]
|[[Template:Documentation/LastEdited]]|| || Only works after update of mw engine to > 1.8
+
|Used to draw horizontal bars for simplistic bar charts
|-
+
|
|[[Template:Documentation/Linux]]|| || {{Documentation/Linux}}
+
{{Documentation/hbar|width=100|bg=#3333FF}}
|-
+
{{Documentation/hbar|width=57|bg=#33FF33}}
|[[Template:Documentation/MasterTOC]]|| ||
+
{{Documentation/hbar|width=112|bg=#FF3333}}
|-
+
|-valign=top
|[[Template:Documentation/NeedsRework]]|| || {{Documentation/NeedsRework}}
+
|[[Template:Documentation/HelpNeeded]]
|-
+
|<tt><nowiki>{{Documentation/HelpNeeded|Check the spelling}}</nowiki></tt>
|[[Template:Documentation/Note]]|| || {{Documentation/Note|Notable stuff}}
+
|{{Documentation/HelpNeeded|Check the spelling}}
|-
+
|-valign=top
|[[Template:Documentation/OOo]]|| || {{Documentation/OOo}}
+
|[[Template:Documentation/Imported]]
|-
+
|<tt><nowiki>{{Documentation/Imported|author=Author Name|contributors=Contributor Names}}</nowiki></tt>
|[[Template:Documentation/Outdated]]|| || {{Documentation/Outdated|0.5}}
+
|{{Documentation/Imported|author=Author Name|contributors=Contributor Names}}
|-
+
|-valign=top
|[[Template:Documentation/PDF]]|| || {{Documentation/PDF}}
+
|[[Template:Documentation/Linux]]
|-
+
|<tt><nowiki>{{Documentation/Linux|Linux related content}}</nowiki></tt>
|[[Template:Documentation/PRODUCTNAME]]|| || {{Documentation/PRODUCTNAME}}
+
|{{Documentation/Linux|Linux related content}}
|-
+
|-valign=top
|[[Template:Documentation/Tip]]|| ||{{Documentation/Tip|Try this little trick.}}
+
|[[Template:Documentation/MasterTOC]]
|-
+
|This is the master template that is used to create tables of content. For usage click the template name.
|Template:Documentation/*TOC|| ||
+
|
|-
+
|-valign=top
|[[Template:Documentation/Windows]]|| ||{{Documentation/Windows}}
+
|[[Template:Documentation/NeedsRework]]
 +
|<tt><nowiki>{{Documentation/NeedsRework}}</nowiki></tt>
 +
|{{Documentation/NeedsRework}}
 +
|-valign=top
 +
|[[Template:Documentation/Note]]
 +
|<tt><nowiki>{{Documentation/Note|Notable stuff}}</nowiki></tt>
 +
|{{Documentation/Note|Notable stuff}}
 +
|-valign=top
 +
|[[Template:Documentation/OOo]]
 +
|Displays an OpenOfiice.org logo
 +
<tt><nowiki>{{Documentation/OOo}}</nowiki></tt>
 +
|{{Documentation/OOo}}
 +
|-valign=top
 +
|[[Template:Documentation/Outdated]]
 +
|<tt><nowiki>{{Documentation/Outdated}}</nowiki></tt>
 +
|{{Documentation/Outdated}}
 +
|-valign=top
 +
|[[Template:Documentation/PDF]]
 +
|<tt><nowiki>{{Documentation/PDF}}</nowiki></tt>
 +
|{{Documentation/PDF}}
 +
|-valign=top
 +
|[[Template:Documentation/PRODUCTNAME]]
 +
|A variable for displaying the string '''OpenOffice.org'''.
 +
<tt><nowiki>{{Documentation/PRODUCTNAME}}</nowiki></tt>
 +
|{{Documentation/PRODUCTNAME}}
 +
|-valign=top
 +
|[[Template:Documentation/Tip]]
 +
|Takes sections containing tips, i.e. useful non-crucial information.
 +
<tt><nowiki>{{Documentation/Tip|Right-click opens the context menu}}</nowiki></tt>
 +
|{{Documentation/Tip|Right-click opens the context menu}}
 +
|-valign=top
 +
|Template:Documentation/*TOC
 +
|Several tables of content based on [[Template:Documentation/MasterTOC]] used in guides.
 +
|See, for example, the [[Template:Documentation/BASICGuideTOC/v2|Basic Guide TOC]]
 +
|-valign=top
 +
|[[Template:Documentation/Windows]]
 +
|<tt><nowiki>{{Documentation/Windows|Windows related content}}</nowiki></tt>
 +
|{{Documentation/Windows|Windows related content}}
 
|}
 
|}
  

Revision as of 19:18, 7 February 2008

Template:Documentation/Banner Template:Documentation/DraftPage Template:Documentation/BeingEdited

This article helps you to contribute effectively to the Documentation part of the wiki.

Structure of the Documentation Section of the Wiki

The Documentation section is only part of the large OpenOffice.org Wiki. The doc.oo.o project tries to present the information in this section in a way that it is easily accessible and has a structure that allows straightforward navigation for both users and contributors.

All documentation pages are subpages of the main Documentation page. A further substructure presents sections as subpages containing further subpages. Think of it as a hierarchical representation, just like a file system.

The current wiki page tree looks like this:

wiki.services.openoffice.org/wiki/Documentation
   |
   +---Dashboard
   +---Administration Guide
   +---FAQ
   +---How Tos
   +---OOoAuthors User Manual
   +---Tutorials
   +---Samples, Templates and Clipart
   +---Setup Guide
   +---BASIC Guide
Subpage Description
Documentation/Dashboard
Documentation/Administration Guide
Documentation/FAQ
Documentation/How Tos
Documentation/OOoAuthors User Manual
Documentation/Tutorials
Documentation/Samples, Templates and Clipart
Documentation/Setup Guide
Documentation/BASIC Guide

Using Categories

Look here if you are unfamiliar with Wiki Categories.

A simple example of how to use Categories in Wiki books:

  1. Create a Category named after the current chapter.
  2. Add all pages of that chapter to the chapter Category.
  3. Add the chapter Category to the book Category.

The reader can then view the book Category. The book Category shows all the chapters in the book. If the reader clicks on a chapter Category, they can see all of the pages in that chapter (in alphabetical order).

Do not add a category and its subcategory to the same wiki page. For more information see the MediaWiki Help:Category section on Category considerations.

You can use Templates to add a common category to a large group of pages, but it is not recommended. It may appear to save time, but "adding or deleting a category tag in the template does not add or delete the listings on the category page of pages that use the template, until some edit is made in the page that uses the template." For more information, see the MediaWiki Help:Category section on Using templates to populate categories.

Templates

Look here if you are unfamiliar with mediawiki templates.

Adding a new documentation template

  • If you create a new template to be used in the wiki documentation, name it as a subpage of Documentation
    • wrong: mytemplate
    • right: Documentation/mytemplate
  • Add a description of the template purpose and usage to the template itself using the element as described here
  • Add the template to the list of templates below

List of Existing Documentation Templates

This is a list of Documentation templates and their usage

Template Name Usage Example
Template:Documentation/Abstract Takes a short abstract of the chapter content of guides. Add to the top of guides.

{{Documentation/Abstract|Abstract Text}}

See, for example, this Administration Guide Chapter
Template:Documentation/Banner Puts the Documentation Project "Banner" at the top right of the page

{{Documentation/Banner}}

Docbanner.png
Template:Documentation/BeingEdited Marks a page as currently being edited to avoid conflicting changes.

Use this template when you perform larger edits on a file that may even take more than one session to finish. Be sure to add name and date of "locking" by adding a ~~~~ as parameter: {{Documentation/BeingEdited|~~~~}}

Template:Documentation/BeingEdited
Template:Documentation/Caution Takes sections containing warnings, i.e. information that is potentially harmful in some way, for example, data loss.

{{Documentation/Caution|Always switch off power before opening the case.}}

Documentation caution.png Always switch off power before opening the case.
Template:Documentation/CheckedAccuracy Marks up pages that have been reviewed for accuracy.

Be sure to add name and date of review by adding a ~~~~ as parameter: {{Documentation/CheckedAccuracy|~~~~}}

Template:Documentation/DraftPage Marks up pages that are in a draft state

{{Documentation/DraftPage}}

Template:Documentation/DraftPage
Template:Documentation/hbar Used to draw horizontal bars for simplistic bar charts

Template:Documentation/hbar Template:Documentation/hbar Template:Documentation/hbar

Template:Documentation/HelpNeeded {{Documentation/HelpNeeded|Check the spelling}} Template:Documentation/HelpNeeded
Template:Documentation/Imported {{Documentation/Imported|author=Author Name|contributors=Contributor Names}} Template:Documentation/Imported
Template:Documentation/Linux {{Documentation/Linux|Linux related content}} Template:Documentation/Linux
Template:Documentation/MasterTOC This is the master template that is used to create tables of content. For usage click the template name.
Template:Documentation/NeedsRework {{Documentation/NeedsRework}} Template:Documentation/NeedsRework
Template:Documentation/Note {{Documentation/Note|Notable stuff}} Template:Documentation/Note
Template:Documentation/OOo Displays an OpenOfiice.org logo

{{Documentation/OOo}}

Template:Documentation/OOo
Template:Documentation/Outdated {{Documentation/Outdated}}
Template:Documentation/PDF {{Documentation/PDF}} Template:Documentation/PDF
Template:Documentation/PRODUCTNAME A variable for displaying the string OpenOffice.org.

{{Documentation/PRODUCTNAME}}

Template:Documentation/PRODUCTNAME
Template:Documentation/Tip Takes sections containing tips, i.e. useful non-crucial information.

{{Documentation/Tip|Right-click opens the context menu}}

Template:Documentation/Tip
Template:Documentation/*TOC Several tables of content based on Template:Documentation/MasterTOC used in guides. See, for example, the Basic Guide TOC
Template:Documentation/Windows {{Documentation/Windows|Windows related content}} Template:Documentation/Windows

Graphical Content

General guidelines for images are:

  1. Use the image description page to describe an image and copyright status (if any).
  2. Use a descriptive and unique title.
  3. If possible, do not pre-scale the images you are uploading. Use the MediaWiki image thumbnail feature to scale the image.
  4. Edit the image if necessary to make sure that the important part is clear and visible.
  5. Keep in mind that people may be translating the page where you are placing an image. Try not to include callouts or other extra text on the image.
  6. JPG is usually best for photos, SVG, for icons, logos etc, and PNG for screen captures. Try not to use BMP.

You can use the MediaWiki Image thumb feature to "wrap" your illustrations in an image box. This image box includes a spot for an image caption. The syntax is [[Image:image.png|thumb|position|size|Image caption]], where:

  • thumb = thumbnail the image and wrap in an image box
  • position = position on page. "none" places the image on the left of the frame with no text wrapping. "left" and "right" places the image on the left or right of the page with full text wrapping.
  • size = max width in pixels for the image. If the image is larger than this value it is scaled down. If the image is smaller it is left as is.

If you do not declare a position and size, the image is scaled to a small thumbnail, and defaults to the right hand side of the page with full text wrapping.

An example using [[Image:LoadSaveOptions.png|thumb|none|500px|An example image caption]]

An example image caption
  • Images cannot be hierarchical, filename should be constructed in a way so it shows the usage, e.g. Doc_mig_icon_data.png = Documentation image, used in the migration guide, depicting the database icon.
  • How to handle image and table numbering?

Linking

General Editing Work

Fixing inappropriate, inaccurate, or outdated content

Fixing minor errors and typos

Fixing graphics and screenshots

Fixing Style and Language

Linking to localized pages

Validating Content

Fixing Spam

Working on FAQs

Working on Howtos

Working on Guides

Personal tools