Difference between revisions of "Editing guide"

From Barion Documentation
Jump to navigation Jump to search
Line 15: Line 15:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
*Page title and TOC
+
*Page title and TOC - We shoudl use a template for TOC as well...
We shoudl use a template for TOC as well...
 
 
<syntaxhighlight>
 
<syntaxhighlight>
 
{{PageTitle|title= Getting started - overview of Barion payments}}
 
{{PageTitle|title= Getting started - overview of Barion payments}}
Line 24: Line 23:
 
|}
 
|}
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
*Main page has __NOTOC__ on it

Revision as of 01:23, 6 February 2017

Editing guide

  • Don't use underscores in page names
  • Name pages as if titles: Going Live -> Going-Live
  • Upload images in 200DPI resolution, embed in 1000px wide, set preference to 1024
  • For syntax highlighting use JSON syntax
  • use <tt></tt> tag for keywords or code fragments
  • use Title template, as automatic page title is hidden
{{PageTitle|title=Barion API endpoint list}}
  • E-mail addresses should have subject and in this format
[mailto:[email protected]?subject=Localisation-request [email protected]]
  • Page title and TOC - We shoudl use a template for TOC as well...
{{PageTitle|title= Getting started - overview of Barion payments}}

{| style="margin-left:2em;" align="right"
| __TOC__
|}
  • Main page has on it