Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Help:Templates

From FlightGear wiki
Revision as of 08:25, 9 August 2013 by Johan G (Talk | contribs) (User messages: split-multiple → splitapart)

Jump to: navigation, search

This page is meant to help you with the use of templates on the wiki.

Editing or creating templates

Editing a template is almost as easy as editing a normal wiki page. Lets say, you want to edit a template with the name "what you always wanted to know". To do so open "wiki.flightgear.org/Template:what_you_always_wanted_to_know" (mind the underscores, that replace the spaces!). If you created a new template, you can embed it in any wiki article from now on by writing: {{what you always wanted to know}} (insert the template name here).

Translating templates

Translating templates is working different than translating normal articles. All translations are written in the same file. The translated text (in this case a German and a Spanish one) is surrounded by the following construct:

{{ #ifeq: {{#titleparts: {{PAGENAME}} | 1 }} | De | German text... | {{ #ifeq: {{#titleparts: {{PAGENAME}} | 1 }} | Es | Spanish text... | English text... }} }}

This is a script, which tells the wiki software, that the block containing the German text should only be evaluated, if the name of the page, the template is embedded in, contains the "De" text pattern, which can be found in all names of German wiki-pages. The Spanish translation is treated the same way. If none of the language codes is found in the pages name, we can be sure, it is an English one or another language, which is not handled so far by the template and apply the English version of the text. Do not forget the closing brackets at the end. You need two of them for every translation, except for the English. Of course this works for any language. Just look up your language code.


User messages

Tag Text that will be shown Place
{{abc}}

  A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z 


Top
{{afd}}
This help page has been nominated for deletion. To discuss it, please visit the talk page.

Do not remove this tag until the discussion is closed.


Top
{{Boeing}} Bottom
{{Building}} Bottom
{{cleanup}}
Cleanup.png This article may require cleanup to meet the wiki's quality standards. Please improve this article if you can.
Top
{{non-stable}}
This article describes content/features that may not yet be available in the latest stable version of FlightGear (2018.3).
You may need to install some extra components, use the latest development (Git) version or even rebuild FlightGear from source, possibly from a custom topic branch using special build settings: .

This feature is scheduled for FlightGear (unknown). 10}% completed

If you'd like to learn more about getting your own ideas into FlightGear, check out Implementing new features for FlightGear.

Top
{{Main article|Link to article}}

1rightarrow.png See Link to article for the main article about this subject.

{{merge|page}}
Merge-arrows.gif
It has been suggested that this article or section be merged with page.
Top
{{mergefrom|page}}
Mergefrom.gif
It has been suggested that page be merged into this article or section.
Top
{{mergeto|page}}
Merge-arrow.gif
It has been suggested that this help page or section be merged into page.
Top
{{mergedisputed|page}}
Mergedisputed.gif
It has been suggested that this help page or section be merged with page, but this suggestion is disputed.
Top
{{splitapart}}
Split-arrows.gif
It has been suggested that this section be split off into a new article.
Top
{{aero-stub}}
This aircraft article is a stub. You can help the wiki by expanding it.
Top
{{Under Construction}}
WIP.png Work in progress
This article or section will be worked on in the upcoming hours or days.
See history for the latest developments.
Top

Infoboxes

Aircraft

Airbus A380
A380.jpg
Type Airliner
Author(s) Ampere K.
FDM JSBSim
--aircraft= /A380
/A380

/A380

/A380

/A380

/A380

/A380

/A380

/A380

/A380

/A380
Status Under development


Airport

Amsterdam Airport Schiphol
Schiphol in the FlightGear NL scenery
Schiphol in the FlightGear NL scenery
IATA: AMS ICAO: EHAM
Type public
Owner Schiphol Group
City Amsterdam, The Netherlands
website
Runways
Runway Length Material
18R/36L 3800 m Asfalt
06/24 3490 m Asfalt


User

Jack
Location New York, United States
Age 21
Job Pilot
Interest(s) FlightGear, Computers, Aircraft
MP callsign(s) jackie
Favourite aircraft Boeing 747-400, Cessna C172
Website http://www.jp.flightgear.org