Style

= Style Guide =

On this page, we summarize best practices for keeping the GoodRelations Wiki consistent.

Basic Structure
Page titles use H1, e.g. = The GoodRelations Cookbook = All subsections use H2. e.g. = The GoodRelations Cookbook = blabla

Section 1
blabla

Pages
Page URIs should be useful page titles, e.g.


 * http://wiki.goodrelations-vocabulary.org/Case_studies

Only the first character is capitalized, unless the page title is a proper name, e.g.


 * http://wiki.goodrelations-vocabulary.org/GoodRelations_Validator

If the full page title is pretty long, use a good acronym and disable the displaying of this as the page title, e.g. as in


 * http://wiki.goodrelations-vocabulary.org/BMEcat2GR

Categories
Category names should be in singular form, with proper English capitalization and underscores for spaces (no CamelWords). Examples:


 * http://wiki.goodrelations-vocabulary.org/Category:Tool
 * http://wiki.goodrelations-vocabulary.org/Category:Shop_Extension

Multiple Columns
Use a div element instead of tables:

Two columns
&lt;div style="background-color:#EEEEEE;"&gt; &lt;div style="float: left; width: 50%;"&gt; 'Tools &lt;/div&gt; &lt;div style="float: left; width: 50%;background-color:#EEEEEE;"&gt; 'FAQs &lt;/div&gt; &lt;div style="clear: left;"&gt;&lt;/div&gt; &lt;/div&gt;

Three columns
&lt;div style="padding: 6px; float: left; width: 30%;background-color:#EEEEEE;"&gt; 'Tools &lt;/div&gt; &lt;div style="padding: 6px; float: left; width: 30%;background-color:#EEEEEE;"&gt; 'FAQs &lt;/div&gt; &lt;div style="padding: 6px; float: left; width: 30%;background-color:#EEEEEE;"&gt; 'People &lt;/div&gt;

Disabling Page Title
Insert

Side-bar
Edit http://wiki.goodrelations-vocabulary.org/Mediawiki:Sidebar

Slideshare
This widget allows you to add SlideShare presentations to your wiki page.

To insert this widget, use the following code:

Parameters

 * doc - is a parameter from embed code
 * start - optional parameter to define start slide number
 * width &amp; height - optional, 425x348 is a default
 * player - defaults to '2' and allows you to switch to other players
 * norelated - if set, widget will not display related content and sharing functionality at the end of the deck