Editing guide: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
* Use <nowiki><tt></tt></nowiki> tag for keywords or code fragments
* Use <nowiki><tt></tt></nowiki> tag for keywords or code fragments
* Do not use TOC on Main Page
* Do not use TOC on Main Page


* Use the <tt>PageTitle</tt> template to display article heading (automatic title is not displayed)
* Use the <tt>PageTitle</tt> template to display article heading (automatic title is not displayed)
Line 12: Line 13:
{{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  
Line 17: Line 19:
[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
Line 23: Line 26:
{{TableOfContents}}
{{TableOfContents}}
</nowiki></pre>
</nowiki></pre>


* Use the <tt>NotificationBox</tt> template to display notifications
* Use the <tt>NotificationBox</tt> template to display notifications

Revision as of 12:06, 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
  • Do not use TOC on Main Page


  • Use the PageTitle template to display article heading (automatic title is not displayed)
{{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}}


  • 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.