Difference between revisions of "Editing guide"

From Barion Documentation
Jump to navigation Jump to search
(Created page with "=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 preferen...")
 
(Editing guide)
Line 6: Line 6:
 
*use <nowiki><tt></tt></nowiki> tag for keywords or code fragments
 
*use <nowiki><tt></tt></nowiki> tag for keywords or code fragments
 
*use Title template, as automatic page title is hidden  <nowiki>{{PageTitle|title=Barion API endpoint list}}</nowiki>
 
*use Title template, as automatic page title is hidden  <nowiki>{{PageTitle|title=Barion API endpoint list}}</nowiki>
 +
 +
==Page title and TOC==
 +
We shoudl use a template for TOC as well...
 +
<nowiki>
 +
{{PageTitle|title= Getting started - overview of Barion payments}}
 +
 +
{| style="margin-left:2em;" align="right"
 +
| __TOC__
 +
|}
 +
</nowiki>

Revision as of 21:29, 5 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}}

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__ |}