Template:FDM link: Difference between revisions
Jump to navigation
Jump to 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|}}} | | #default = {{#if: {{{1|}}}|{{{pre|}}}{{{1|}}}}} | ||
}}<noinclude> | }}<noinclude> | ||
Revision as of 18:06, 27 May 2016
The following template description is not displayed when the template is inserted in an article.
Goal
Convert an FDM value into an internal wiki link.
Usage
{{FDM link | fdm | pre = }}
- fdm
- 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.
- pre
- Text to prefix prior to the link text. This is useful for creating lists.
Examples
YASim
{{FDM link|YASim}}