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

Difference between revisions of "Template:FDM link"

From FlightGear wiki
Jump to: navigation, search
(Created a template for converting FDM text into an internal wiki link to one of JSBSim, YASim, UIUC, and LaRCsim.)
(The template no longer defaults to "Unknown" if nothing is supplied.)
Line 4: Line 4:
   | uiuc    = {{{pre|}}}[[UIUC]]
   | uiuc    = {{{pre|}}}[[UIUC]]
   | larcsim  = {{{pre|}}}[[LaRCsim]]
   | larcsim  = {{{pre|}}}[[LaRCsim]]
   | #default = {{#if: {{{1|}}}|{{{pre|}}}{{{1|}}}|Unknown}}
   | #default = {{#if: {{{1|}}}|{{{pre|}}}{{{1|}}}}}

Revision as of 13:06, 27 May 2016

The following template description is not displayed when the template is inserted in an article.


Convert an FDM value into an internal wiki link.


{{FDM link
| fdm
| pre =
The FDM. Although this can be any text, special parameter values, independent of capitalisation, will cause a link to be created. This includes JSBSim, YASim, UIUC, and LaRCsim.
Text to prefix prior to the link text. This is useful for creating lists.



{{FDM link|YASim}}