Difference between revisions of "VideoLAN Wiki:Syntax"

From VideoLAN Wiki
Jump to navigation Jump to search
m (c/e)
Line 31: Line 31:
 
** Block code: <code><nowiki><pre>...</pre></nowiki></code>
 
** Block code: <code><nowiki><pre>...</pre></nowiki></code>
 
* While making numbered lists, prefer <code>#</code> notation for long lists, since the numbers are dynamic and automatically change when list items are added or removed
 
* While making numbered lists, prefer <code>#</code> notation for long lists, since the numbers are dynamic and automatically change when list items are added or removed
* Several ways to link to websites are available; the clearest way to link them is with text that says where the link goes, for example <code><nowiki>[http://en.wikipedia.org/wiki/VLC/ Wikipedia's entry on VLC]</nowiki></code>
+
* Generally the best way to link to other websites is with descriptive text: <code><nowiki>[http://en.wikipedia.org/wiki/VLC/ Wikipedia's entry on VLC]</nowiki></code>
* To end a line, use either ''two new lines'' or ''<code><nowiki><br></nowiki></code>''; single returns are ignored by the wiki, which expects two new-lines to signal a new line
+
* To end a line, use either <u>''two new lines''</u> (a single new line will be ignored) or the HTML entity <code><nowiki><br></nowiki></code>
 
* To mark text that is out-of-date, incorrect, or otherwise inaccurate, place {{tl|Check}} after the text to mark it with<sup>[Please check this]</sup> and add it to [[:Category:Pages to check]]
 
* To mark text that is out-of-date, incorrect, or otherwise inaccurate, place {{tl|Check}} after the text to mark it with<sup>[Please check this]</sup> and add it to [[:Category:Pages to check]]
 
* If a page is very short or needs work, place {{tl|Stub}} at either the top or bottom of the page (somewhere out-of-the-way but visible) to help draw attention and add it to [[:Category:Stubs]]
 
* If a page is very short or needs work, place {{tl|Stub}} at either the top or bottom of the page (somewhere out-of-the-way but visible) to help draw attention and add it to [[:Category:Stubs]]
Line 40: Line 40:
  
 
Rules concerning style are much more relaxed, and you are advised to use common sense. If something works ''better'' than listed in the section above, <u>do that instead</u>.
 
Rules concerning style are much more relaxed, and you are advised to use common sense. If something works ''better'' than listed in the section above, <u>do that instead</u>.
 +
 +
Most pages are written in loosely British English, rather than American English. Contribute in whatever style of English you feel comfortable writing in.
  
 
''Almost all pages are out of date.'' Currently no campaign to clean this up has been launched, but in the future out-of-date pages might be noted with a template/category identification system.
 
''Almost all pages are out of date.'' Currently no campaign to clean this up has been launched, but in the future out-of-date pages might be noted with a template/category identification system.

Revision as of 02:50, 1 November 2014

Please follow these guidelines when editing this wiki.
There will be more guidelines later.

The basics

Note: You can practice editing at the Sandbox page whenever you like.


This wiki uses something called "wikimarkup", a way to include plain text on a page and modify how it looks. This is similar to both Wikipedia's markup and HTML.

Commands to modify plain text include:

  • "tags" around words, for example <big>example text</big> to display example text
  • "templates" (common snippets of formatting or often-used text), for example {{VLC}} to display VLC media player
  • a particular way of linking to other pages and websites on the Internet
  • a particular way of making things bold or italic
  • a particular way of inserting images

Another important feature is the page layout:

  • making lists
  • making tables
  • using page headings to create sections

If you have a minute...

Begin by learning the basics. A one-page summary and an extensive manual are available at the English Wikipedia.

To start editing right away...

Find the Edit Toolbar directly above the edit box and use the buttons and the "Help" dropdown to guide you.

Common conventions and best practices

  • Frequently example code is shown, both for VLC commands or to document the internals of VLC. The following two tags currently exist to display text "as-is":
    • Inline: <code>...</code>
    • Block code: <pre>...</pre>
  • While making numbered lists, prefer # notation for long lists, since the numbers are dynamic and automatically change when list items are added or removed
  • Generally the best way to link to other websites is with descriptive text: [http://en.wikipedia.org/wiki/VLC/ Wikipedia's entry on VLC]
  • To end a line, use either two new lines (a single new line will be ignored) or the HTML entity <br>
  • To mark text that is out-of-date, incorrect, or otherwise inaccurate, place {{Check}} after the text to mark it with[Please check this] and add it to Category:Pages to check
  • If a page is very short or needs work, place {{Stub}} at either the top or bottom of the page (somewhere out-of-the-way but visible) to help draw attention and add it to Category:Stubs

Remarks

Templates seem to be local to each wiki (except built-in MediaWiki templates), so the VideoLAN wiki lacks the wide selection of perfunctory templates Wikipedia offers ‒ for example, {{citation needed}}, which inserts [citation needed].

Rules concerning style are much more relaxed, and you are advised to use common sense. If something works better than listed in the section above, do that instead.

Most pages are written in loosely British English, rather than American English. Contribute in whatever style of English you feel comfortable writing in.

Almost all pages are out of date. Currently no campaign to clean this up has been launched, but in the future out-of-date pages might be noted with a template/category identification system.

Useful things

Editing tips

  • Use the editing toolbar to help you; it provides buttons to help you out.
  • Keep things simple, and don't be afraid to make mistakes.

See also