Editing guide: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
* For syntax highlighting use JSON syntax
* For syntax highlighting use JSON syntax
* 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   
* use Title template, as automatic page title is hidden   
<syntaxhighlight>
<syntaxhighlight>
{{PageTitle|title=Barion API endpoint list}}
{{PageTitle|title=Barion API endpoint list}}
Line 18: Line 18:


* 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}}
{{TableOfContents}}
{{TableOfContents}}
</nowiki></pre>
</nowiki></pre>

Revision as of 12:04, 6 February 2017

Contributor's guide

  • Use whitespace when creating page titles (it will be converted into underscores in the URL)
  • Do not leave redirects when moving pages
  • 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
  • Use the NotificationBox template to display notifications
{{NotificationBox|title=Hello|text=This is a notification!|color=#1993c7}}
Hello
This is a notification!


  • Mark incomplete articles with the IncompletePage template
{{IncompletePage}}
WARNING
This article is incomplete. It may change significantly without any notice, so don't rely on any content you find here yet. Please check back later.