Jump to: navigation, search

Difference between revisions of "Help:Editing t20150211"


(Example)
 
(67 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==General information==
 
==General information==
 
+
=== Basics ===
 
*For the basics about MediaWiki please read ''[http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]''
 
*For the basics about MediaWiki please read ''[http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]''
 
*In the beginning, the [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet Cheatsheat] is very useful
 
*In the beginning, the [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet Cheatsheat] is very useful
 +
 +
=== Acceptance criteria ===
 +
Any article should meet the following general acceptance criteria
 +
* Is the article structured logically and coherently?
 +
* Can the reader be directed to any other article (eg See also...)?
 +
* If the article links to other articles, check whether or not they exist? If not, please create a ticket or notification documenting the need for creation.
 +
* Check the article for integrity and correctness in regards of technical descriptions. Test the described procedure and verify possible dependencies on versions.
 +
* Check the article for linguistic correctness in regards to grammar and style.
 +
* Images are prepared as described [[Write_a_Wiki_article#Images|here]]
 +
* Templates are used if appropriate, find a list of templates [[UBIK_Templates|here]]
 +
* Meet all (additional) requirements defined in this guideline
 +
 +
{{Attention|Use templates: find a list of templates here: [[UBIK_Templates]]}}
 +
 +
{{Attention|Usage of categories: as we are missing a continuous concept for categories, please only use the main category (eg UBIK Client, UBIK Studio, How-To, …). Articles will be categorized later on.}}
  
 
==Structuring an article==
 
==Structuring an article==
 
===Basic structuring===
 
===Basic structuring===
 
For the general structuring of an article, please refer to the following reference articles:
 
For the general structuring of an article, please refer to the following reference articles:
 +
 +
==== Articles ====
 
* [[Data- and Object Model]]
 
* [[Data- and Object Model]]
 
* [[Class Browser]]
 
* [[Class Browser]]
* [[Create a new MetaClass]]
+
 
 +
==== How-To's ====
 +
* [[HowTo:Create a new MetaClass]]
 +
* [[HowTo:Create a new MetaProperty]]
 +
* [[HowTo:Create a new MetaClassScope]]
 +
 
 +
{{Hint|It is common to use the expression: ''Save the changes with {{key press|Ctrl|S}} or the save command''}}
 +
{{Hint|Do also use screenshots in How-To‘s, so that the reader is guided visually.}}
 +
 
 +
==== System Objects  ====
 +
* MetaClasses: [[METACLASSSCOPE]], [[QUERYSCOPE]]
 +
* Classifications: [[SYSCLS_TASK]], [[SYSCLS_THUMBNAILEDFILE]] (with properties)
  
 
===Headlines===
 
===Headlines===
Line 16: Line 44:
 
===Infoboxes===
 
===Infoboxes===
 
Infoboxes should be used as an introduction for articles that have a useful common denominator. They will appear at the top right ans summarize the article in Keywords and/or pictures. Currently there is a template for a [[Template:ControlInfoBox|Control Infobox]] implemented that should be used for all articles about {{UBIK}} controls.
 
Infoboxes should be used as an introduction for articles that have a useful common denominator. They will appear at the top right ans summarize the article in Keywords and/or pictures. Currently there is a template for a [[Template:ControlInfoBox|Control Infobox]] implemented that should be used for all articles about {{UBIK}} controls.
 +
 +
See also the list of available [[UBIK_Templates#Infoboxes|Infoboxes templates]].
  
 
===Categories===
 
===Categories===
 
Each article must be assigned to at least one category and a maximum of 3 categories.  
 
Each article must be assigned to at least one category and a maximum of 3 categories.  
 
* If you feel an article fits into more than 3 categories, consider splitting it into multiple articles
 
* If you feel an article fits into more than 3 categories, consider splitting it into multiple articles
* If you feel an article fits into no category, consider merging it into another article
+
* If you feel an article fits into no category, consider merging it into another article OR use at least the category UBIK
 
* Do not create new categories every time - check if an existing fits to your needs.
 
* Do not create new categories every time - check if an existing fits to your needs.
 +
 +
==== Sub Categories ====
 +
A new sub category can be created by pasting a category within the source of another category page.
 +
 +
==== Sort Key ====
 +
Use sort keys for certain articles, e.g. objects of category System Classifications, so that the article is sorted by a propery sort key instead of S always.
 +
Example: <code><nowiki>[[Category:System Classifications|T]]</nowiki></code>
 +
 +
==== Category Tree ====
 +
The articles and categories are evaluated by the [http://www.mediawiki.org/wiki/Extension:CategoryTree Category Tree extension] and used on the [[SiteMap]] page.
 +
* [http://www.mediawiki.org/wiki/Extension:CategoryTree Extension:Category Tree]
 +
* [http://ddowiki.com/page/Help:Extension:CategoryTree Help:Extension:CategoryTree]
 +
 +
===Namespaces===
 +
Certain types of articles should be assigned to a namespace, which is simply done by adding a namespace-prefix in front of the article name like ''<nowiki>HowTo:Assign_a_Namespace</nowiki>''
 +
 +
Find a list of namespaces and how its realted to a main category below.
 +
 +
{| class="wikitable sortable"
 +
|-
 +
! Main category !! Namespace !! Example
 +
|-
 +
| How-To || HowTo || HowTo:Assign_a_Namespace
 +
|-
 +
| FAQ || FAQ || FAQ:UBIK_Studio
 +
|}
  
 
=== Special articles ===
 
=== Special articles ===
Line 27: Line 83:
 
Create a [[:Category:How-To|How-To]] to describe '''HOW''' to solve a certain issue. The given instructions should be clear and easy to follow, therefore use screenshots (server and client side) to document your explanations. Use a descriptive name for the How-To article, such that already describes the content.
 
Create a [[:Category:How-To|How-To]] to describe '''HOW''' to solve a certain issue. The given instructions should be clear and easy to follow, therefore use screenshots (server and client side) to document your explanations. Use a descriptive name for the How-To article, such that already describes the content.
 
{{Hint|Consider the KISS principle - '''K'''eep '''I'''t '''S'''hort and '''S'''imple}}
 
{{Hint|Consider the KISS principle - '''K'''eep '''I'''t '''S'''hort and '''S'''imple}}
{{Hint|In the '''How-To''' articles place images within the items of the numbered list (its width should remain 220 pixels width in landscape or 170 pixels height in portrait orientation).}}
+
{{Hint|Place images within the items of the numbered list (its width should remain 220 pixels width in landscape or 170 pixels height in portrait orientation).}}
  
 
==== FAQ entry ====
 
==== FAQ entry ====
Line 39: Line 95:
 
Descriptive text should be left aligned and in the standard font, without any additional formatting.  
 
Descriptive text should be left aligned and in the standard font, without any additional formatting.  
  
 +
===Emphasizing===
 
If you want to emphasize something, use '''bold''' style.
 
If you want to emphasize something, use '''bold''' style.
If you want to refer to the exact name of something in the UI of UBIK, use ''italic'' style.
+
 
 +
===UI===
 +
If you want to refer to the exact name of something in the UI of {{UBIK}}, use ''italic'' style.
  
 
===Links===
 
===Links===
Line 71: Line 130:
 
Use the WikiTable like in the following example:
 
Use the WikiTable like in the following example:
  
<code>{| class="wikitable" | width = "50%"
+
<code>{| class="wikitable sortable" | width = "50%"
  
 
|-
 
|-
Line 90: Line 149:
 
will result in
 
will result in
  
{| class="wikitable" | width = "50%"
+
{| class="wikitable sortable" | width = "50%"
 
|-
 
|-
 
! Columns 1!! Column 2
 
! Columns 1!! Column 2
Line 138: Line 197:
 
  Use either a leading blank to format text as source code, or the <code><code>-Tag</code> for regular code highlighting.
 
  Use either a leading blank to format text as source code, or the <code><code>-Tag</code> for regular code highlighting.
  
For highlighting a syntax of a specific programming language, use the source-Tag as follows:
+
For highlighting a syntax of a specific programming language, use the source-Tag (values for '''lang''' are for example: csharp, xml, ...).
  
 
<pre><nowiki>
 
<pre><nowiki>
Line 207: Line 266:
 
===Naming conventions===
 
===Naming conventions===
 
To obtain some kind of categorization the name of new images must start with one a prefix. Choose the most appropriate one from the below list:
 
To obtain some kind of categorization the name of new images must start with one a prefix. Choose the most appropriate one from the below list:
{| class="wikitable" | width = "50%"
+
{| class="wikitable sortable" | width = "50%"
 
|-
 
|-
! Prefix!! Description
+
! Prefix !! Description !! Examples
 
|-
 
|-
| UI_|| screenshots of {{UBIK}} Studio, {{UBIK}} Client,  Windows (IIS, SQL, Excel, ...)
+
| UI_|| screenshots of {{UBIK}} Studio, {{UBIK}} Client,  Windows (IIS, SQL, Excel, ...) || [[UBIK_Image_List#User_Interface|UBIK UI]]
 
|-
 
|-
| IL_|| Illustrations (diagrams, fractions of slides, ...)
+
| IL_|| Illustrations (diagrams, fractions of slides, ...) || -
 
|-
 
|-
| SY_|| {{UBIK}} symbols (e.g. images for MetaClass, BASECLASS, relations, ...)
+
| SY_|| {{UBIK}} symbols (e.g. images for MetaClass, BASECLASS, relations, ...) || -
 
|-
 
|-
| IC_|| small graphics (icons, arrows, ...)
+
| IC_|| small graphics (icons, arrows, ...) || [[UBIK_Image_List#Icons|UBIK Icons]]
 
|-
 
|-
 
|}
 
|}
  
=== Borders ===
+
===Formats===
 +
 
 +
==== Supporting images ====
 +
[[File:Example.jpg|220px|thumb|border|alt=Example Supporting images|Example Supporting images]]
 +
Supporting images must be formatted as <code>thumb</code> to make them appear on the right side, with the following dimensions:
 +
* Images in portrait format with 170 pixels width
 +
* Images in landscape format with 220 pixels width
 +
 
 +
Example: <code><nowiki>[[File:Example.jpg|220px|thumb|border|alt=Example|Example]]</nowiki></code>
 +
{{Clear}}
 +
 
 +
==== Descriptive images ====
 +
Images as part of the descriptive article text can be placed inline, like for emphasizing a certain manual visually, with the following dimensions:
 +
* Images in landscape should not exceed 700 pixels width
 +
* Images in portrait should not exceed 700 pixels height
 +
 
 +
Example: <code><nowiki>[[File:Example.jpg|700px|border|alt=Example|Example]]</nowiki></code>
 +
 
 +
==== Borders ====
 
Use the '''border''' parameter in the tag for the embedded image, for example <code><nowiki>[[File:Example.jpg|border]]</nowiki></code> results in<br/>[[File:Example.jpg|border]]
 
Use the '''border''' parameter in the tag for the embedded image, for example <code><nowiki>[[File:Example.jpg|border]]</nowiki></code> results in<br/>[[File:Example.jpg|border]]
  
=== Image captions ===
+
==== Image captions ====
 
Use image captions if appropriate to describe the image and to create a relation to the text.
 
Use image captions if appropriate to describe the image and to create a relation to the text.
  
===Formats and resolutions===
+
=== Gallery style ===
 +
If there is the need to place a series of images within the text use the gallery tag with an appropriate width and height
  
Supporting images must be formatted as <code>thumb</code> to make them appear on the right side, with the following dimensions:
+
<code><nowiki><gallery widths="200" heights="200"></nowiki></code><br/>
 +
<code><nowiki>File:Example.jpg|1 - Example</nowiki></code><br/>
 +
<code><nowiki>File:Example.jpg|2 - Example</nowiki></code><br/>
 +
<code><nowiki>File:Example.jpg|3 - Example</nowiki></code><br/>
 +
<code><nowiki></gallery></nowiki></code>
  
* Images in portrait format with 170 pixels width
+
which results in
* Images in landscape format with 220 pixels width
+
 
 +
<gallery widths="200" heights="200">
 +
File:Example.jpg|1 - Example
 +
File:Example.jpg|2 - Example
 +
File:Example.jpg|3 - Example
 +
</gallery>
 +
 
 +
=== <nowiki>{{Clear}}</nowiki> Template ===
 +
If one or more images should be located next to the descriptive text but which is organized in several sections, use the <nowiki>{{Clear}}</nowiki> template. Have a look at the below section example:
 +
 
 +
{{Attention|Use this command very rarely - try to place the images in a gallery style!}}
 +
 
 +
==== Section 1 starts here ====
 +
[[File:Example.jpg|220px|thumb|border|alt=Example|Example]]
 +
Some text 1
  
{{Hint|If an image needs to placed in the text, like for emphasizing a certain manual visually, its width should not exceed 700 pixels width in landscape or 700 pixels height in portrait orientation.}}
+
Watch that section 2 starts after some spacing.
 +
{{Clear}}
  
=== Example ===
+
==== Section 2 starts here ====
A complete image tag could look like this <code><nowiki>[[File:UI_APP_02.PNG|700px|border|alt=Application|Application]]</nowiki></code><br/>
+
[[File:Example.jpg|220px|thumb|border|alt=Example|Example]]
[[File:UI_APP_02.PNG|700px|border|alt=Application|Application]]
+
Some text 2
 +
{{Clear}}
  
or considering a thumbnail image <code><nowiki>[[File:UI_APP_02.PNG|thumb|220px|border|alt=Application|Application]]</nowiki></code>
+
== See also ==
[[File:UI_APP_02.PNG|thumb|220px|border|alt=Application|Application]]
+
[[UBIK_Templates|UBIK Templates]]
  
[[Category:UBIK]][[Category:How-To]]
+
[[Category:Help]]

Latest revision as of 11:48, 11 February 2015

General information

Basics

Acceptance criteria

Any article should meet the following general acceptance criteria

  • Is the article structured logically and coherently?
  • Can the reader be directed to any other article (eg See also...)?
  • If the article links to other articles, check whether or not they exist? If not, please create a ticket or notification documenting the need for creation.
  • Check the article for integrity and correctness in regards of technical descriptions. Test the described procedure and verify possible dependencies on versions.
  • Check the article for linguistic correctness in regards to grammar and style.
  • Images are prepared as described here
  • Templates are used if appropriate, find a list of templates here
  • Meet all (additional) requirements defined in this guideline
IC Attention.pngUse templates: find a list of templates here: UBIK Templates
IC Attention.pngUsage of categories: as we are missing a continuous concept for categories, please only use the main category (eg UBIK Client, UBIK Studio, How-To, …). Articles will be categorized later on.

Structuring an article

Basic structuring

For the general structuring of an article, please refer to the following reference articles:

Articles

How-To's

IC Hint square.pngIt is common to use the expression: Save the changes with Ctrl+S or the save command
IC Hint square.pngDo also use screenshots in How-To‘s, so that the reader is guided visually.

System Objects

Headlines

Use the general headline formatting, type in regular case.

Infoboxes

Infoboxes should be used as an introduction for articles that have a useful common denominator. They will appear at the top right ans summarize the article in Keywords and/or pictures. Currently there is a template for a Control Infobox implemented that should be used for all articles about UBIK® controls.

See also the list of available Infoboxes templates.

Categories

Each article must be assigned to at least one category and a maximum of 3 categories.

  • If you feel an article fits into more than 3 categories, consider splitting it into multiple articles
  • If you feel an article fits into no category, consider merging it into another article OR use at least the category UBIK
  • Do not create new categories every time - check if an existing fits to your needs.

Sub Categories

A new sub category can be created by pasting a category within the source of another category page.

Sort Key

Use sort keys for certain articles, e.g. objects of category System Classifications, so that the article is sorted by a propery sort key instead of S always. Example: [[Category:System Classifications|T]]

Category Tree

The articles and categories are evaluated by the Category Tree extension and used on the SiteMap page.

Namespaces

Certain types of articles should be assigned to a namespace, which is simply done by adding a namespace-prefix in front of the article name like HowTo:Assign_a_Namespace

Find a list of namespaces and how its realted to a main category below.

Main category Namespace Example
How-To HowTo HowTo:Assign_a_Namespace
FAQ FAQ FAQ:UBIK_Studio

Special articles

HowTos

Create a How-To to describe HOW to solve a certain issue. The given instructions should be clear and easy to follow, therefore use screenshots (server and client side) to document your explanations. Use a descriptive name for the How-To article, such that already describes the content.

IC Hint square.pngConsider the KISS principle - Keep It Short and Simple
IC Hint square.pngPlace images within the items of the numbered list (its width should remain 220 pixels width in landscape or 170 pixels height in portrait orientation).

FAQ entry

Create a FAQ entry to provide answers to questions or issues the reader would ask using WHY, WHO, WHEN, etc. Provide a short answer, which probably also includes a few instructions.

If the issue requires more detailed explanations refer to an existing wiki article or create a new one.

Text formatting

Descriptive text

Descriptive text should be left aligned and in the standard font, without any additional formatting.

Emphasizing

If you want to emphasize something, use bold style.

UI

If you want to refer to the exact name of something in the UI of UBIK®, use italic style.

Links

Internal linking is a good thing, but it must not be used too extensively. Link to the articles that make sense in context of the manual, especially when they are about fundamental principles of UBIK®, like for example the MetaClass article. Link to each keyword only once in an article, at first appearance of the keyword.

External links only make sense if the target article supports in comprehending an article, for example a certain standard or norm that is used by or in UBIK®, i.e. ISO15926.

Lists

There are two types of lists that can be used:

Bullets

Use a bullets if you want to list several (short) statements of the same area, which are not chronologically connected. Do not use punctuation for bulleted items.

  • Statement
  • Another Statement

In addition, if you want to list certain tasks that do not follow a particular order you can use right arrows:

→ Task a

→ Task b

Numbered list

Use numbered list if the items are chronologically connected and have to be executed one after the other. Do not use punctuation for bulleted items.

  1. Do this first
  2. then do this
  3. end finally, do this

Tables

Use the WikiTable like in the following example:

{| class="wikitable sortable" | width = "50%"

|- ! Columns 1!! Column 2

|- | Row 1.1|| Row 1.2

|- | Row 2.1|| Row 2.2

|- | Row 3.1|| Row 3.2

|- |}

will result in

Columns 1 Column 2
Row 1.1 Row 1.2
Row 2.1 Row 2.2
Row 3.1 Row 3.2

For larger data, the sortable table might be more useful:

{| class="wikitable sortable" | width = "50%"

|- ! Columns 1!! Column 2

|- | Row 1.1|| Row 1.2

|- | Row 2.1|| Row 2.2

|- | Row 3.1|| Row 3.2

|- |}

will result in

Columns 1 Column 2
Row 1.1 Row 1.2
Row 2.1 Row 2.2
Row 3.1 Row 3.2

Code

Use either a leading blank to format text as source code, or the <code>-Tag for regular code highlighting.

For highlighting a syntax of a specific programming language, use the source-Tag (values for lang are for example: csharp, xml, ...).

<source lang="csharp">
// Hello World in Microsoft C#.

using System;

class HelloWorld
{
    public static int Main(String[] args)
    {
        Console.WriteLine("Hello, World!");
        return 0;
    }
}
</source>

which will result in

// Hello World in Microsoft C#.

using System;

class HelloWorld
{
    public static int Main(String[] args)
    {
        Console.WriteLine("Hello, World!");
        return 0;
    }
}

Tips and hints

Attention

Use the Attention template to draw attention to a certain sentence:

{{Attention|Please don't miss this sentence!}}

will result in

IC Attention.pngPlease don't miss this sentence!

Hints

Use the Hint template to outline useful tips and hints:

{{Hint|You should read this, it will simplify your work!}}

will result in

IC Hint square.pngYou should read this, it will simplify your work!

Colors

Colors should be used very sparingly and only if they really contribute to the better understanding of a text.

Other useful templates

  • The KeyPress template allows you to display keyboard commands, so {{key press|Ctrl|W}} will result in Ctrl+W
  • Use the UBIK MetaModel template to refer to the data model:


UBIK® MetaModel
A descriptive model, where objects provide information about the aspects of the data, is also called “Metamodel”.


Template list

A list of available templates can be found here UBIK Templates

Images

Naming conventions

To obtain some kind of categorization the name of new images must start with one a prefix. Choose the most appropriate one from the below list:

Prefix Description Examples
UI_ screenshots of UBIK® Studio, UBIK® Client, Windows (IIS, SQL, Excel, ...) UBIK UI
IL_ Illustrations (diagrams, fractions of slides, ...) -
SY_ UBIK® symbols (e.g. images for MetaClass, BASECLASS, relations, ...) -
IC_ small graphics (icons, arrows, ...) UBIK Icons

Formats

Supporting images

Example Supporting images
Example Supporting images

Supporting images must be formatted as thumb to make them appear on the right side, with the following dimensions:

  • Images in portrait format with 170 pixels width
  • Images in landscape format with 220 pixels width

Example: [[File:Example.jpg|220px|thumb|border|alt=Example|Example]]

Descriptive images

Images as part of the descriptive article text can be placed inline, like for emphasizing a certain manual visually, with the following dimensions:

  • Images in landscape should not exceed 700 pixels width
  • Images in portrait should not exceed 700 pixels height

Example: [[File:Example.jpg|700px|border|alt=Example|Example]]

Borders

Use the border parameter in the tag for the embedded image, for example [[File:Example.jpg|border]] results in
Example.jpg

Image captions

Use image captions if appropriate to describe the image and to create a relation to the text.

Gallery style

If there is the need to place a series of images within the text use the gallery tag with an appropriate width and height

<gallery widths="200" heights="200">
File:Example.jpg|1 - Example
File:Example.jpg|2 - Example
File:Example.jpg|3 - Example
</gallery>

which results in

{{Clear}} Template

If one or more images should be located next to the descriptive text but which is organized in several sections, use the {{Clear}} template. Have a look at the below section example:

IC Attention.pngUse this command very rarely - try to place the images in a gallery style!

Section 1 starts here

Example
Example

Some text 1

Watch that section 2 starts after some spacing.

Section 2 starts here

Example
Example

Some text 2

See also

UBIK Templates