Editing guide: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
m (Vinczei moved page Editing-guide to Editing guide without leaving a redirect)
No edit summary
Line 1: Line 1:
{{PageTitle|title=Contributor's guide}}
{{PageTitle|title=Contributor's guide}}


*Upload images in 200DPI resolution, embed in 1000px wide, set preference to 1024
* Use whitespace when creating page titles (it will be converted into underscores in the URL)
*For syntax highlighting use JSON syntax
* Upload images in 200DPI resolution, embed in 1000px wide, set preference to 1024
*use <nowiki><tt></tt></nowiki> tag for keywords or code fragments
* For syntax highlighting use JSON syntax
*use Title template, as automatic page title is hidden   
* use <nowiki><tt></tt></nowiki> tag for keywords or code fragments
* use Title template, as automatic page title is hidden   
 
<syntaxhighlight>
<syntaxhighlight>
{{PageTitle|title=Barion API endpoint list}}
{{PageTitle|title=Barion API endpoint list}}
</syntaxhighlight>
</syntaxhighlight>


*E-mail addresses should have subject and in this format  
* E-mail addresses should have subject and in this format  
<syntaxhighlight>
<syntaxhighlight>
[mailto:[email protected]?subject=Localisation-request [email protected]]
[mailto:[email protected]?subject=Localisation-request [email protected]]
</syntaxhighlight>
</syntaxhighlight>


*Page title and TOC
* Page title and TOC
 
<pre><nowiki>
<pre><nowiki>
{{PageTitle|title= Getting started - overview of Barion payments}}
{{PageTitle|title= Getting started - overview of Barion payments}}
Line 20: Line 23:
{{TableOfContents}}
{{TableOfContents}}
</nowiki></pre>
</nowiki></pre>
*Main page has <nowiki>__NOTOC__</nowiki> on it
 
* Main page has <nowiki>__NOTOC__</nowiki> on it

Revision as of 09:33, 6 February 2017

Contributor's guide

  • Use whitespace when creating page titles (it will be converted into underscores in the URL)
  • 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
{{PageTitle|title= Getting started - overview of Barion payments}}

{{TableOfContents}}
  • Main page has __NOTOC__ on it