Difference between revisions of "StyleSheet"

From Win-Test Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==A Style Guide for the Wiki-based Win-Test Documentation==
+
This article is designed to be a guideline for authors to accomplish reasonable consistency when editing articles featured on the Wiki-based Win-Test documentation.
  
This article is meant as a guideline for authors to accomplish reasonable consistency within the Wiki-based Win-Test documentation. This project was originally started by Simon Pearson, M0CLW, as an additional source of information for Win-Test users. Time after time, more authors got on
+
The project was originally started by Simon Pearson, M0CLW, as an additional source of information for Win-Test users. As time progressed, more users began contributing, each of them with slightly different ideas and editing know-how. So we found it's time for a style guide as this documentation will finally grow into a complete reference manual that will - hopefully - be included with the Win-Test software distribution in the near future, thus replacing the slightly outdated reference manual.
board - each of them with slightly different ideas and editing know-how. So we found it's time for a style guide as this documentation will finally grow into a complete reference manual that will - hopefully - be included with the Win-Test software distribution in the near future - thus replacing the slightly outdated ref_manual document.
 
  
The guideline itself is an example how to format text, commands, function keys, screenshots and how to structure information described in this manual.
+
The guideline itself is an example how to format text, commands, function keys, screenshots and how to structure information described in this manual. The current version was agreed among M0CLW, DL4NER and DL6RAI on July 31, 2006. New articles should be formatted accordingly, existing articles should be re-formatted as time permits or whenever they are being worked on.
 +
 
 +
Note you can click on the 'edit' button at the top of each article/page to view the source code to give you an idea on how things are done.  
  
 
==Language==
 
==Language==
Line 10: Line 11:
 
* What's proper should be defined by native speakers.
 
* What's proper should be defined by native speakers.
  
==Structuring of Articles==
+
==Structuring of articles==
 
* Start with a short introduction before starting with the meat of the article.
 
* Start with a short introduction before starting with the meat of the article.
* The first structure level should use double ='s
+
* The first structure level (i.e. major headings) should use <tt>==</tt> (i.e. double equal signs). Do '''not''' use a single equal sign.
* Do not use single ='s so that chapter titles come out as 1, 2, 3 and not as 1.1, 1.2, 1.3
+
* Try to group information into subchapters and subsections so that the reader can easily find what they are looking for, courtesy of the automatically generated table of contents.
* Try to group information into sub-chapters and sections so that a reader starting from the top page will quickly find the information he is looking for.
+
* Add a "'''See also'''" section at the end of the article if you have references.
* Add a section '''See also''' at the end of the article if you have references.
 
 
* At the bottom of the page add a link to the next level up Wiki page. If there is none, there is always the [[Main_Page]].
 
* At the bottom of the page add a link to the next level up Wiki page. If there is none, there is always the [[Main_Page]].
 +
* Do not put pictures on top of the page. The upper part of the page containing the "Table Of Content" will be stripped when generating the pdf manual.
  
==Menu Items==
+
=== Previewing and summarising your edits ===
 +
* It is always recommended you click on the "Show preview" button after making any changes to ensure everything is formatted as expected.
 +
* After you have edited a page, please type a brief summary of your changes in the summary field before clicking on "save page". This helps when looking through the history of a page (by clicking on the "History" button at the top of a page) and when viewing the [[Special:Recentchanges|recent changes]].
 +
 
 +
==Menu items==
 
* Put menu items into &lt;code&gt;&lt;/code&gt; statements.
 
* Put menu items into &lt;code&gt;&lt;/code&gt; statements.
 
* If you have a sequence of Menu actions, use the vertical bar '|' to separate these, like this:
 
* If you have a sequence of Menu actions, use the vertical bar '|' to separate these, like this:
 
<code>Options | Load contest at startup | Enabled </code>.
 
<code>Options | Load contest at startup | Enabled </code>.
  
Above frame was created with the following statement:
+
The above was created using the following statement:
  
 
<code><nowiki><code>Options | Load contest at startup | Enabled </code></nowiki></code>
 
<code><nowiki><code>Options | Load contest at startup | Enabled </code></nowiki></code>
  
==Text Commands==
+
==Text commands==
 
* Use Bold typewriter font and Capitals for all Text commands like '''<tt>NOSOUND</tt>''', '''<tt>QUIT</tt>''' and for message variables like '''<tt>$MYCALL</tt>''' and '''<tt>$SERIAL</tt>'''.
 
* Use Bold typewriter font and Capitals for all Text commands like '''<tt>NOSOUND</tt>''', '''<tt>QUIT</tt>''' and for message variables like '''<tt>$MYCALL</tt>''' and '''<tt>$SERIAL</tt>'''.
  
Line 33: Line 38:
 
Most keys should be '''<tt>bold typewriter text</tt>'''.
 
Most keys should be '''<tt>bold typewriter text</tt>'''.
 
* Type F-keys as '''<tt>F1</tt>''', '''<tt>F2</tt>'''
 
* Type F-keys as '''<tt>F1</tt>''', '''<tt>F2</tt>'''
* Control Keys: '''<tt>ctrl-A</tt>'''
+
* Control keys: '''<tt>ctrl-A</tt>'''
* Alt Keys: '''<tt>Alt-C</tt>''', '''<tt>Alt-W</tt>'''
+
* Alt keys: '''<tt>Alt-C</tt>''', '''<tt>Alt-W</tt>'''
* Shift Keys: '''<tt>Shift-F1</tt>''', '''<tt>Shift-F7</tt>'''
+
* Shift keys: '''<tt>Shift-F1</tt>''', '''<tt>Shift-F7</tt>'''
* Editing Keys: ['''<tt>Shift</tt>'''], ['''<tt>Enter</tt>'''], ['''<tt>Insert</tt>'''], ['''<tt>Plus</tt>'''] or ['''<tt>+</tt>'''], ['''<tt>Minus</tt>'''] , ['''<tt>Backspace</tt>'''], ['''<tt>Delete</tt>'''].
+
* Editing keys: ['''<tt>Shift</tt>'''], ['''<tt>Enter</tt>'''], ['''<tt>Insert</tt>'''], ['''<tt>Plus</tt>'''] or ['''<tt>+</tt>'''], ['''<tt>Minus</tt>'''] , ['''<tt>Backspace</tt>'''], ['''<tt>Delete</tt>'''].
  
 
==Images==
 
==Images==
* The windows should come with English titles except for O/S based windows (like the file open dialog).
+
* The windows should come with English titles except for operating system based windows (like the file open dialog).
 
* Use PNG or GIF format for the pictures. JPEG is normally not suitable for screen captures.
 
* Use PNG or GIF format for the pictures. JPEG is normally not suitable for screen captures.
* Center images and use a frame around every image allowing to include a caption, like this:  
+
* Center any images and use a frame around every image to include a caption, like this:  
  
 
[[Image:WindowsNp1_1.gif|center|frame|N + 1 window (Captured call : W5TQ)]]
 
[[Image:WindowsNp1_1.gif|center|frame|N + 1 window (Captured call : W5TQ)]]
  
Above frame was created with the following statement:
+
The above was created using the following statement:
  
 
<code><nowiki>[[Image:WindowsNp1_1.gif|center|frame|N + 1 window (Captured call : W5TQ)]]</nowiki></code>
 
<code><nowiki>[[Image:WindowsNp1_1.gif|center|frame|N + 1 window (Captured call : W5TQ)]]</nowiki></code>
Line 52: Line 57:
 
* Try to avoid duplicate information spread all over the Wiki. Use cross-references where applicable like [[Menu:Edit]].
 
* Try to avoid duplicate information spread all over the Wiki. Use cross-references where applicable like [[Menu:Edit]].
 
* Keep a focus - do not try to explain topics beyond the Win-Test application. Use external references where applicable like [http://www.kkn.net/~trey/cabrillo Cabrillo Specs].  
 
* Keep a focus - do not try to explain topics beyond the Win-Test application. Use external references where applicable like [http://www.kkn.net/~trey/cabrillo Cabrillo Specs].  
 +
 +
==Notes and Tips==
 +
Be consistent throughout the text and use the '''wbox''' macro for Notes and Tips.
 +
 +
<code><nowiki>{{wbox|Note|This search only works for contests where ... }}</nowiki></code>
 +
 +
The result will be indented and displayed in a nicely formatted box which catches the eye of the reader:
 +
 +
{{wbox|Note|This search only works for contests where ... }}
  
  
 
[[Main Page|Back to Main Page]]
 
[[Main Page|Back to Main Page]]

Latest revision as of 19:40, 19 December 2009

This article is designed to be a guideline for authors to accomplish reasonable consistency when editing articles featured on the Wiki-based Win-Test documentation.

The project was originally started by Simon Pearson, M0CLW, as an additional source of information for Win-Test users. As time progressed, more users began contributing, each of them with slightly different ideas and editing know-how. So we found it's time for a style guide as this documentation will finally grow into a complete reference manual that will - hopefully - be included with the Win-Test software distribution in the near future, thus replacing the slightly outdated reference manual.

The guideline itself is an example how to format text, commands, function keys, screenshots and how to structure information described in this manual. The current version was agreed among M0CLW, DL4NER and DL6RAI on July 31, 2006. New articles should be formatted accordingly, existing articles should be re-formatted as time permits or whenever they are being worked on.

Note you can click on the 'edit' button at the top of each article/page to view the source code to give you an idea on how things are done.

Language

  • Use proper English.
  • What's proper should be defined by native speakers.

Structuring of articles

  • Start with a short introduction before starting with the meat of the article.
  • The first structure level (i.e. major headings) should use == (i.e. double equal signs). Do not use a single equal sign.
  • Try to group information into subchapters and subsections so that the reader can easily find what they are looking for, courtesy of the automatically generated table of contents.
  • Add a "See also" section at the end of the article if you have references.
  • At the bottom of the page add a link to the next level up Wiki page. If there is none, there is always the Main_Page.
  • Do not put pictures on top of the page. The upper part of the page containing the "Table Of Content" will be stripped when generating the pdf manual.

Previewing and summarising your edits

  • It is always recommended you click on the "Show preview" button after making any changes to ensure everything is formatted as expected.
  • After you have edited a page, please type a brief summary of your changes in the summary field before clicking on "save page". This helps when looking through the history of a page (by clicking on the "History" button at the top of a page) and when viewing the recent changes.

Menu items

  • Put menu items into <code></code> statements.
  • If you have a sequence of Menu actions, use the vertical bar '|' to separate these, like this:

Options | Load contest at startup | Enabled .

The above was created using the following statement:

<code>Options | Load contest at startup | Enabled </code>

Text commands

  • Use Bold typewriter font and Capitals for all Text commands like NOSOUND, QUIT and for message variables like $MYCALL and $SERIAL.

Keys

Most keys should be bold typewriter text.

  • Type F-keys as F1, F2
  • Control keys: ctrl-A
  • Alt keys: Alt-C, Alt-W
  • Shift keys: Shift-F1, Shift-F7
  • Editing keys: [Shift], [Enter], [Insert], [Plus] or [+], [Minus] , [Backspace], [Delete].

Images

  • The windows should come with English titles except for operating system based windows (like the file open dialog).
  • Use PNG or GIF format for the pictures. JPEG is normally not suitable for screen captures.
  • Center any images and use a frame around every image to include a caption, like this:
N + 1 window (Captured call : W5TQ)

The above was created using the following statement:

[[Image:WindowsNp1_1.gif|center|frame|N + 1 window (Captured call : W5TQ)]]

References

  • Try to avoid duplicate information spread all over the Wiki. Use cross-references where applicable like Menu:Edit.
  • Keep a focus - do not try to explain topics beyond the Win-Test application. Use external references where applicable like Cabrillo Specs.

Notes and Tips

Be consistent throughout the text and use the wbox macro for Notes and Tips.

{{wbox|Note|This search only works for contests where ... }}

The result will be indented and displayed in a nicely formatted box which catches the eye of the reader:

Note: This search only works for contests where ...


Back to Main Page