Board index FlightGear Development Documentation

Wiki markup basics

Discussion of the FlightGear documentation, how it can be improved and coordination of people working on it.

Wiki markup basics

Postby Hooray » Mon Apr 21, 2014 4:33 pm

Hooray wrote:And markup-wise, it's really simple actually:

Code: Select all
* foo
* foo

becomes
  • foo
  • foo

and
Code: Select all
# foo
# foo

becomes
  1. foo
  2. foo

Headings/sections are just
Code: Select all
= Top level =
== second level ==
=== third level ===


Code: Select all
done = {{Done}}
not done = {{Not done}}
progressbar = {{Progressbar|percentage}}

(percentage being in 10 percent increments)

to highlight Nasal code, use:

Code: Select all
<syntaxhighlight lang="nasal">
# your code goes here
</syntaxhighlight>

(replace "nasal" with "xml" for XML markup)

To link to another article, enclose its name in double square brackets, such as [[Tutorials]]

To embed youtube videos, you only need to use the video ID:
Code: Select all
{{#ev:youtube| videoID }}


For example: https://www.youtube.com/watch?v=yWEyRVGJks0

Code: Select all
{{#ev:youtube|yWEyRVGJks0}}



which becomes:


To upload images, log in and go to: http://wiki.flightgear.org/Special:UploadWizard
Once you've uploaded the image through the wizard, you'll be presented with the file name of the image, e.g.: http://wiki.flightgear.org/File:Missionb.png
To use the image, just enclose it in double square brackets and prepend File: to it, as shown below:
Code: Select all
[[File:Missionb.png]]

which becomes:
Image
New articles should ideally be added to a matching portal, and a few related/similar articles.
Typically, you'll also want to update the draft for the upcoming newsletter to mention your work there (see the signature of this posting)

Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11273
Joined: Tue Mar 25, 2008 8:40 am

Return to Documentation

Who is online

Users browsing this forum: No registered users and 1 guest