Editing guide: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 26: Line 26:


* Main page has <nowiki>__NOTOC__</nowiki> on it
* Main page has <nowiki>__NOTOC__</nowiki> on it
* Mark incomplete articles with the IncompletePage template
<pre><nowiki>{{IncompletePage}}</nowiki></pre>


* Use the NotificationBox template to display notifications
* Use the NotificationBox template to display notifications
<pre><nowiki>{{NotificationBox|title=Hello|text=This is a notification!|color=#1993c7}}</nowiki></pre>
<pre><nowiki>{{NotificationBox|title=Hello|text=This is a notification!|color=#1993c7}}</nowiki></pre>
{{NotificationBox|title=Hello|text=This is a notification!|color=#1993c7}}
{{NotificationBox|title=Hello|text=This is a notification!|color=#1993c7}}
* Mark incomplete articles with the IncompletePage template
<pre><nowiki>{{IncompletePage}}</nowiki></pre>
{{IncompletePage}}

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.