Template talk:FunctionArgument

From the Fallout3 GECK Wiki
Revision as of 01:10, 15 May 2009 by imported>Cipscis (→‎Default Value)
Jump to navigation Jump to search

Default Value

Certain optional parameters, such as the [FadeIn] parameter of Enable and Disable, have a default value which is used if the parameter is absent. At the moment, this template has no way in which this information can be included. Although I'm not familiar with editing Wiki templates, I'm sure that I could figure it out easily enough. However, I'm not sure exactly how this information should be included in the template, particularly if it is to be included alongside a specific set of available values. Does anyone have any suggestions?
-- Cipscis 04:37, 15 May 2009 (UTC)

I'm pretty sure that you could include it in the Values section, so like this:
Values = 0,1;Default=0
Or something. I think it'll work.
DragoonWraith · talk · 04:46, 15 May 2009 (UTC)
Sounds like a good idea. I'll edit one of the examples on the template page so that others know to do the same. Thanks
-- Cipscis 06:10, 15 May 2009 (UTC)