Difference between revisions of "VideoLAN Wiki:Syntax"

From VideoLAN Wiki
Jump to navigation Jump to search
(→‎General markup: Expand link syntax)
(More editing, noted on the page this guide is still being written)
Line 1: Line 1:
 +
'''<big>This guide is still in the process of being written</big>'''<br>
 +
<br>
 
Please follow these guidelines when editing this wiki.
 
Please follow these guidelines when editing this wiki.
 
There will be more guidelines later.
 
There will be more guidelines later.
  
 
== The basics ==
 
== The basics ==
This wiki uses the same general syntax as Wikipedia, because both use MediaWiki markup ([https://www.mediawiki.org/wiki/Help:Editing Editing help on MediaWiki]).
+
This wiki uses the same general syntax as Wikipedia, because both use MediaWiki markup ([https://www.mediawiki.org/wiki/Help:Editing A full manual can be found here on MediaWiki]).<br>
 +
Unlike Wikipedia, the "[//en.wikipedia.org/wiki/Help:VisualEditor VisualEditor feature]" was never enabled and so can't be used.
  
If you've ever edited on Wikipedia, this should look familiar.
+
Familiarising yourself with [//en.wikipedia.org/wiki/Help:Wiki_markup_guide wikimarkup] is probably a good idea. The basics of it can be learned within minutes, and a quick reference guide can be found under the "Help" section of the Editing Toolbar, a visual way to insert wikimarkup quickly.
  
 
=== General markup ===
 
=== General markup ===
Line 28: Line 31:
 
** <nowiki>[http://example.com/ text to display]</nowiki> gives [http://example.com/ text to display] (useful, but can become confusing if over-used)
 
** <nowiki>[http://example.com/ text to display]</nowiki> gives [http://example.com/ text to display] (useful, but can become confusing if over-used)
  
=== General words of advice ===
+
=== Useful things ===
 +
* to link to a Wikipedia article on "example", use <nowiki>[[Wikipedia:example]]</nowiki>
 +
 
 +
=== Editing tips ===
 
* Use the editing toolbar to help you; it provides buttons to help you out.
 
* 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.
 
* Keep things simple, and don't be afraid to make mistakes.
* Wikipedia has already prepared a [https://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheat-sheet] for you that you might find useful editing here.
+
* Wikipedia has already prepared a [//en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheat-sheet] for you that you might find useful editing here.
 +
* Adding a line after a sentence <u>will not</u> make the next bit appear on a new line: for the convenience of coders, it will appear on the ''same line''. To get it on a different line, either use <code><nowiki><br></nowiki></code> or two lines.
 +
 
 +
== Resources ==
 +
* [//en.wikipedia.org/wiki/Help:Wiki_markup_guide wikimarkup]
  
 
== Templates ==
 
== Templates ==

Revision as of 23:43, 25 October 2014

This guide is still in the process of being written

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

The basics

This wiki uses the same general syntax as Wikipedia, because both use MediaWiki markup (A full manual can be found here on MediaWiki).
Unlike Wikipedia, the "VisualEditor feature" was never enabled and so can't be used.

Familiarising yourself with wikimarkup is probably a good idea. The basics of it can be learned within minutes, and a quick reference guide can be found under the "Help" section of the Editing Toolbar, a visual way to insert wikimarkup quickly.

General markup

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

Lists
  • To make a bulleted list, begin lines with asterisks *
  • To make a numbered list, begin lines with pound signs # (which will be automatically re-numbered if you add or remove items—this is generally smart for long or frequently-changing lists).
Markup
  • Add two apostrophes around a word or phrase to make it italic: ''example'' → example
  • Add three apostrophes around a word or phrase to make it bold: '''example''' → example
  • Occasionally, both are needed. Add five apostrophes around a word or phrase to make it both: '''''example''''' → example
Linking
  • The formula for creating an internal link is [[target page]] or [[target page|text to display]]
  • There are several ways to create external links: a simple outgoing link, a shortened link, or a shortened link with alternate text:
    • http://example.com/ gives http://example.com/ (this makes for the clearest links)
    • [http://example.com/] gives [1] (this should only be used if the site name is long or unimportant)
    • [http://example.com/ text to display] gives text to display (useful, but can become confusing if over-used)

Useful things

  • to link to a Wikipedia article on "example", use [[Wikipedia:example]]

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.
  • Wikipedia has already prepared a cheat-sheet for you that you might find useful editing here.
  • Adding a line after a sentence will not make the next bit appear on a new line: for the convenience of coders, it will appear on the same line. To get it on a different line, either use <br> or two lines.

Resources

Templates