Difference between revisions of "VideoLAN Wiki:Syntax"
Jump to navigation
Jump to search
(→How to...: Reorganise & explain how to "pipe" internal links) |
m (Re-write for clarity) |
||
Line 3: | Line 3: | ||
== The basics == | == The basics == | ||
− | This | + | 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]). |
− | + | If you've ever edited on Wikipedia, this should look familiar. | |
+ | |||
+ | === General markup === | ||
+ | ''Note: You can practice editing at the [[Sandbox|Sandbox page]] whenever you like.'' | ||
− | |||
− | |||
;Lists | ;Lists | ||
− | * | + | * To make a bulleted list, begin lines with asterisks <code>*</code> |
− | * | + | * To make a numbered list, begin lines with pound signs <code>#</code> (which will be automatically re-numbered if you add or remove items—this is generally smart for long or frequently-changing lists). |
+ | |||
;Markup | ;Markup | ||
* Add two apostrophes around a word or phrase to make it italic: <nowiki>''example''</nowiki> → ''example'' | * Add two apostrophes around a word or phrase to make it italic: <nowiki>''example''</nowiki> → ''example'' | ||
* Add three apostrophes around a word or phrase to make it bold: <nowiki>'''example'''</nowiki> → '''example''' | * Add three apostrophes around a word or phrase to make it bold: <nowiki>'''example'''</nowiki> → '''example''' | ||
* Add five apostrophes around a word or phrase to make it italic and bold: <nowiki>'''''example'''''</nowiki> → '''''example''''' | * Add five apostrophes around a word or phrase to make it italic and bold: <nowiki>'''''example'''''</nowiki> → '''''example''''' | ||
+ | |||
;Linking | ;Linking | ||
− | * | + | * The formula for creating a link is <nowiki>[[target page]]</nowiki> or <nowiki>[[target page|text to display]]</nowiki> |
− | * | + | ** <nowiki>[[VLC]]</nowiki> gives [[VLC]] |
− | * | + | ** <nowiki>[[VLC|this totally awesome media player]]</nowiki> gives [[VLC|this totally awesome media player]] |
− | |||
− | |||
− | ** | ||
=== General words of advice === | === General words of advice === | ||
* 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 | + | * Wikipedia has already prepared a [https://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheat-sheet] for you that you might find useful editing here. |
== Templates == | == Templates == |
Revision as of 20:18, 21 October 2014
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 (Editing help on MediaWiki).
If you've ever edited on Wikipedia, this should look familiar.
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
- Add five apostrophes around a word or phrase to make it italic and bold: '''''example''''' → example
- Linking
- The formula for creating a link is [[target page]] or [[target page|text to display]]
- [[VLC]] gives VLC
- [[VLC|this totally awesome media player]] gives this totally awesome media player
General words of advice
- 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.