WikiFunctions.Tools.SetTemplateParameterValue C# (CSharp) Method

SetTemplateParameterValue() public static method

Sets the template parameter value to the new value input: if the template already has the parameter then its value is updated, otherwise the new value is appended
public static SetTemplateParameterValue ( string templateCall, string parameter, string newvalue ) : string
templateCall string The template call to update
parameter string The template parameter
newvalue string The new value for the parameter
return string
        public static string SetTemplateParameterValue(string templateCall, string parameter, string newvalue)
        {
            return SetTemplateParameterValue(templateCall, parameter, newvalue, false);
        }

Same methods

Tools::SetTemplateParameterValue ( string templateCall, string parameter, string newvalue, bool prependSpace ) : string
Tools