DotNetWikiBot Framework Documentation
Removes the specified parameter of the specified template. If several instances of specified template are found in text of this page, either first instance can be affected or all instances.

Namespace: DotNetWikiBot
Assembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0

Syntax

C#
public int RemoveTemplateParameter(
	string templateTitle,
	string templateParameter,
	bool firstTemplateOnly
)

Parameters

templateTitle
Type: System..::..String
Title of template.
templateParameter
Type: System..::..String
Title of template's parameter.
firstTemplateOnly
Type: System..::..Boolean
When set to true, only first found template instance is modified. When set to false, all found template instances are modified.

Return Value

Type: Int32
Returns the number of removed instances.

See Also