Difference between revisions of "Help:Editing"
(89 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | |||
=Introduction= | =Introduction= | ||
Line 5: | Line 4: | ||
*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 | ||
+ | |||
+ | == Most frequently asked == | ||
+ | * [[Help:List_of_Templates|Available templates]] | ||
+ | * [[Help:Editing#Lists|Editing lists]] | ||
+ | * [[Help:Editing#tab=Categorizing|Categories]] | ||
== Acceptance criteria == | == Acceptance criteria == | ||
Line 10: | Line 14: | ||
* Is the article structured logically and coherently? | * Is the article structured logically and coherently? | ||
* Can the reader be directed to any other article (eg See also...)? | * 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? | + | * Is the article categorized into at least one category? |
+ | * If the article links to other articles, check whether or not they exist? | ||
* 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 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. | * Check the article for linguistic correctness in regards to grammar and style. | ||
− | * Images are prepared as described [[ | + | * Images are prepared as described [[Help:Editing#Images|here]] |
− | * Templates are used if appropriate, find a list of templates [[ | + | * Templates are used if appropriate, find a list of templates [[Help:List_of_Templates|here]] |
* Meet all (additional) requirements defined in this guideline | * Meet all (additional) requirements defined in this guideline | ||
=Formatting= | =Formatting= | ||
+ | == Reference articles == | ||
Please have a look at the following reference articles | Please have a look at the following reference articles | ||
* [[Entity_Data_Model]], [[Class Browser]] | * [[Entity_Data_Model]], [[Class Browser]] | ||
Line 27: | Line 33: | ||
{{Hint|Do also use screenshots in How-To‘s, so that the reader is guided visually.}} | {{Hint|Do also use screenshots in How-To‘s, so that the reader is guided visually.}} | ||
− | ==Descriptive text== | + | == Texts == |
+ | |||
+ | ===Descriptive text=== | ||
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== | + | ===Emphasizing=== |
If you want to emphasize something, use '''bold''' style. | If you want to emphasize something, use '''bold''' style. | ||
− | ==Colors== | + | ===Colors=== |
Colors should be used very sparingly and only if they really contribute to the better understanding of a text. | Colors should be used very sparingly and only if they really contribute to the better understanding of a text. | ||
− | ==UI== | + | ===UI=== |
If you want to refer to the exact name of something in the UI of {{UBIK}}, use ''italic'' style. | If you want to refer to the exact name of something in the UI of {{UBIK}}, use ''italic'' style. | ||
− | ==Headlines== | + | ===Headlines=== |
Use the general headline formatting, type in regular case. | Use the general headline formatting, type in regular case. | ||
+ | |||
+ | == Version history == | ||
+ | Information related to previous versions should be documented using tool tips. An example of an image tool tip can be seen on the page for the POI dialog:<br /> | ||
+ | * [[POI_View#Billboard|Billboard]] | ||
+ | * [[POI_View#LLA_only_mode_button|LLA only mode button]] | ||
+ | |||
+ | Technically it is also possible to place an {{#tip-text: inline tool tip | inline tool tip text}}. | ||
==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. | ||
− | |||
− | |||
==Lists== | ==Lists== | ||
Line 66: | Line 79: | ||
# then do this | # then do this | ||
# end finally, do this | # end finally, do this | ||
+ | |||
+ | If you want to add special formatted content, like ''<nowiki><syntaxhighlight></nowiki>'' tags within the numbered items, use one of the following workarounds to preserve continuous numbering: | ||
+ | <pre> | ||
+ | # Item 1 | ||
+ | # Item 2 <!-- | ||
+ | --><syntaxhighlight lang="xml"> | ||
+ | <Node1>Value1</Node1> | ||
+ | </syntaxhighlight> | ||
+ | # Item 3 | ||
+ | # Item 4 <br /><syntaxhighlight lang="xml"> | ||
+ | <Node1>Value1</Node1> | ||
+ | </syntaxhighlight> | ||
+ | # Item 5 | ||
+ | </pre> | ||
+ | |||
+ | Using a HTML comment <nowiki><!-- --></nowiki> '''OR''' <nowiki><br/></nowiki> for the line break prevents that the numbered list is broken and numbering starts over: | ||
+ | # Item 1 | ||
+ | # Item 2 <!-- | ||
+ | --><syntaxhighlight lang="xml"> | ||
+ | <Node1>Value1</Node1> | ||
+ | </syntaxhighlight> | ||
+ | # Item 3 | ||
+ | # Item 4 <br /><syntaxhighlight lang="xml"> | ||
+ | <Node1>Value1</Node1> | ||
+ | </syntaxhighlight> | ||
+ | # Item 5 | ||
+ | |||
+ | Obeying this syntax it is also possible to use the <nowiki>{{Hint}}</nowiki> and <nowiki>{{Attention}}</nowiki> templates: | ||
+ | <pre> | ||
+ | # Item 1 | ||
+ | # Item 2 <!-- | ||
+ | -->{{Hint|asdfasdf}} | ||
+ | # Item 3 | ||
+ | # Item 4 <!-- | ||
+ | -->{{Attention|asdfasdf}} | ||
+ | # Item 5 | ||
+ | </pre> | ||
+ | |||
+ | # Item 1 | ||
+ | # Item 2<!-- | ||
+ | -->{{Hint|asdfasdf}} | ||
+ | # Item 3 | ||
+ | # Item 4 <!-- | ||
+ | -->{{Attention|asdfasdf}} | ||
+ | # Item 5 | ||
==Tables== | ==Tables== | ||
Line 138: | Line 196: | ||
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 | + | For highlighting a syntax of a specific programming language, use the syntaxhighlight-Tag (values for '''lang''' are for example: csharp, xml, ...). |
<pre><nowiki> | <pre><nowiki> | ||
− | < | + | <syntaxhighlight lang="csharp"> |
// Hello World in Microsoft C#. | // Hello World in Microsoft C#. | ||
Line 154: | Line 212: | ||
} | } | ||
} | } | ||
− | </ | + | </syntaxhighlight> |
</nowiki></pre> | </nowiki></pre> | ||
which will result in | which will result in | ||
− | < | + | <syntaxhighlight lang="csharp"> |
// Hello World in Microsoft C#. | // Hello World in Microsoft C#. | ||
Line 172: | Line 230: | ||
} | } | ||
} | } | ||
− | </ | + | </syntaxhighlight> |
+ | |||
+ | =Images= | ||
+ | ==Wiki specific templates== | ||
+ | Check the [[Help:List of Images|list of images]] for this Wiki. | ||
+ | |||
+ | ==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: | ||
+ | {| class="wikitable sortable" | width = "50%" | ||
+ | |- | ||
+ | ! Prefix !! Description !! Examples | ||
+ | |- | ||
+ | | UI_|| screenshots of {{UBIK}} Studio, {{UBIK}} Client, Windows (IIS, SQL, Excel, ...) || [[Help:List_of_Images|UBIK UI]] | ||
+ | |- | ||
+ | | IL_|| Illustrations (diagrams, fractions of slides, ...) || - | ||
+ | |- | ||
+ | | SY_|| {{UBIK}} symbols (e.g. images for MetaClass, BASECLASS, relations, ...) || - | ||
+ | |- | ||
+ | | IC_|| small graphics (icons, arrows, ...) || [[Help:List_of_Images#Icons|UBIK Icons]] | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ==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]] | ||
+ | |||
+ | === 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 | ||
+ | |||
+ | <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> | ||
+ | |||
+ | which results in | ||
+ | |||
+ | <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 | ||
+ | |||
+ | Watch that section 2 starts after some spacing. | ||
+ | {{Clear}} | ||
+ | |||
+ | === Section 2 starts here === | ||
+ | [[File:Example.jpg|220px|thumb|border|alt=Example|Example]] | ||
+ | Some text 2 | ||
+ | {{Clear}} | ||
=Categorizing= | =Categorizing= | ||
− | 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 OR use at least the category UBIK | * If you feel an article fits into no category, consider merging it into another article OR use at least the category UBIK | ||
Line 204: | Line 340: | ||
|- | |- | ||
| FAQ || FAQ || FAQ:UBIK_Studio | | FAQ || FAQ || FAQ:UBIK_Studio | ||
+ | |- | ||
+ | | Activity || Activity || Activity:DebugMessage | ||
|} | |} | ||
+ | |||
+ | =Linking= | ||
+ | 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. [http://en.wikipedia.org/wiki/ISO_15926 ISO15926]. | ||
+ | |||
+ | === Linking to category pages === | ||
+ | Unlike links to other pages, <code><nowiki>[[Category:CategoryName]]</nowiki></code> will not work as a link. For that, you need to add ":" at the beginning like <code><nowiki>[[:Category:CategoryName]]</nowiki></code>. | ||
+ | |||
+ | === Download links === | ||
+ | * Use the <nowiki>{{FileLink|1|2}}</nowiki> template to create download links within wiki articles, like {{FileLink|Start_Screen_Configuration.zip|Start_Screen_Configuration.zip}} | ||
+ | * All downloads should be prepared as .zip files. | ||
+ | |||
+ | ==== Naming ==== | ||
+ | * <version>: Version number as stated on Release portal | ||
+ | * <date>: Creation date of file / download resources | ||
+ | * <description>: Short description of .zip package content | ||
+ | {| class="wikitable" | width = "50%" | ||
+ | |- | ||
+ | ! Type !! Comment !! File name | ||
+ | |- | ||
+ | | .xaml || XAML files for the WinX client || xaml_<version>_<date>_<description>.zip | ||
+ | |- | ||
+ | | .uwf || UBIK workflow files || uwf_<version>_<date>_<description>.zip | ||
+ | |- | ||
+ | | .xyz / ABC || Arbitrary files / folders || <date>_<description>.zip | ||
+ | |} | ||
+ | |||
+ | = Client articles = | ||
+ | There are four types of pages related to client documentation, | ||
+ | * Features (technical documentation, etc.) | ||
+ | * How-Tos | ||
+ | * FAQ | ||
+ | * Version pages | ||
+ | |||
+ | Documentation related to the different platforms (Android, Windows and Web) should be placed as within those pages as described below. | ||
+ | |||
+ | == Page types == | ||
+ | |||
+ | === Features === | ||
+ | Features and behavior of the clients sometimes have a rather big overlap, especially how it is documented. On the other side, due to different platforms we have varying UI elements in both, form and handling. | ||
+ | Nevertheless, documentation should be kept to a minimum and hence, the features described in the most generic way possible. The parts which differ in between the platforms (UI, handling, etc.) should be described in different sections and by using according screenshots. Add a suffix to the section's name or figure's title, which is | ||
+ | |||
+ | * (Android) ... for Android client | ||
+ | * (Windows) ... for Windows client | ||
+ | * (Web) ... for the Web client | ||
+ | |||
+ | ''→ See [[Map View]] or [[Live Values]] for examples.'' | ||
+ | |||
+ | === How-Tos === | ||
+ | Platform / component specific documentation is to be placed onto distinctive tabs. Hence, the information is placed onto the following tabs | ||
+ | * '''Studio''': describing actions to be performed with UBIK Studio | ||
+ | * '''Android''': describing actions performed in the Android client | ||
+ | * '''Windows''': describing actions performed in the Windows client | ||
+ | * '''Web''': describing actions performed in the Web client | ||
+ | |||
+ | → ''See [[HowTo:Install_UBIK_Client_Certificate]] for an example'' | ||
+ | |||
+ | === FAQ === | ||
+ | An additional tab '''Windows''' is added to the FAQ page for the clients. FAQs related to the Windows client is to be placed here. | ||
+ | |||
+ | → ''See [[FAQ:Client]] for an example'' | ||
+ | |||
+ | === Version pages === | ||
+ | Separate version pages are created for the Windows client, rather similar to the version pages for Android or the Server. | ||
+ | |||
+ | == Categories == | ||
+ | Assign the platform related category ''Android'', ''Windows'', ''Web'' to pages, respectively. | ||
=Special articles= | =Special articles= | ||
Line 216: | Line 422: | ||
If the issue requires more detailed explanations refer to an existing wiki article or create a new one. | If the issue requires more detailed explanations refer to an existing wiki article or create a new one. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
=Templates= | =Templates= | ||
==Wiki specific templates== | ==Wiki specific templates== | ||
− | + | {{Hint|Check the [[Help:List_of_Templates|list of templates]] for a comprehensive list of available templates in this Wiki.}} | |
+ | |||
+ | == Download links == | ||
+ | Use the <nowiki>{{FileLink|1|2}}</nowiki> template to create download links within wiki articles, like {{FileLink|Start_Screen_Configuration.zip|Start_Screen_Configuration.zip}}. | ||
==Attention== | ==Attention== | ||
Line 242: | Line 446: | ||
{{Hint|You should read this, it will simplify your work!}} | {{Hint|You should read this, it will simplify your work!}} | ||
+ | |||
+ | === HintEvents === | ||
+ | Use [[Template:HintEvents|HintEvents]] to outline that the type has specific events. | ||
+ | <pre><nowiki>{{HintEvents}}</nowiki></pre> | ||
+ | |||
+ | will result in | ||
+ | |||
+ | {{HintEvents}} | ||
+ | |||
+ | === HintMethods === | ||
+ | Use [[Template:HintMethods|HintMethods]] to outline that the type has specific events. | ||
+ | <pre><nowiki>{{HintMethods}}</nowiki></pre> | ||
+ | |||
+ | will result in | ||
+ | |||
+ | {{HintMethods}} | ||
+ | |||
+ | == Infoboxes == | ||
+ | See also the list of available [[Help:List_of_Templates#Infoboxes|Infoboxes templates]]. | ||
==Other useful templates== | ==Other useful templates== | ||
Line 250: | Line 473: | ||
== Template list == | == Template list == | ||
− | A list of available templates can be found here [[ | + | A list of available templates can be found here [[Help:List_of_Templates]] |
− | = | + | = Wizards = |
− | + | The '''[[Help:Editing_Wizard|Editing Wizard]]''' offers a convenient way to create articles having a pre-defined structure and purpose. | |
− | + | ||
− | {| class="wikitable sortable | + | {| class="wikitable sortable" |
|- | |- | ||
− | ! | + | ! Category !! Preload template !! Example |
|- | |- | ||
− | | | + | | How-To || Template:HowTo/Preload || [[Template:HowTo/Preload]] |
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
+ | | Activity || Template:Activity/Preload || [[Template:Activity/Preload]] | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<headertabs /> | <headertabs /> | ||
[[Category:Help]] | [[Category:Help]] |