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

Template talk:Nasal doc

From FlightGear wiki
Jump to: navigation, search

Some suggestions and ideas

  • There should probably be descriptions to the examples.
  • It might be a good way to standardize if there is a requirement that a parameter is of a certain type (though formally Nasal is not really typed, or was it?).

Typography as an indicator

I have one idea about the typographic style of the parameters, in essence following the scheme used in the template documentation, but have not really figured out if it should be done without the syntax highlighting or if it should be done in another way.

I guess a lot could be automated using sub templates, even to the point that syntax, parameter names (including indication of mandatory/optional) and their use would just be a list in the form <param>|<(o|m)>|<description>.

I wonder though how many functions have parameters that sometimes are optional, but are mandatory if some other parameter is used. That would mess up such a scheme, but not the current one (using brackets).

Johan G (Talk | contribs) 21:33, 20 November 2014 (UTC)

simgear modules and cppbind

It may make sense to adapt the template to introduce a namespace argument, referring to [1] and Nasal/CppBind:

--Hooray (talk) 14:46, 26 May 2016 (EDT)