DotNetWikiBot Framework Documentation
Formats a template with the specified title and parameters. Formatting options are got from provided reference template. That function is usually used to format modified template as it was in it's initial state, though absolute format consistency can not be guaranteed.

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

Syntax

C#
public static string FormatTemplate(
	string templateTitle,
	Dictionary<string, string> templateParams,
	string referenceTemplate
)

Parameters

templateTitle
Type: System..::..String
Template's title.
templateParams
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, String>)>)>
Template's parameters in Dictionary <string, string> object, where keys are parameters titles and values are parameters values.
referenceTemplate
Type: System..::..String
Full template body to detect formatting options in. With or without double braces.

Return Value

Type: String
Returns the complete template in double braces.

See Also