DotNetWikiBot Framework Documentation
Assembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0
Returns the List object.
Returns the templates found in text of this page (those inside double
curly brackets {{...}} ). MediaWiki's
"magic words"
are not returned as templates.
Namespace: DotNetWikiBotAssembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0
Syntax
C# |
---|
public List<string> GetTemplates( bool withParameters, bool includePages ) |
Parameters
- withParameters
- Type: System..::..Boolean
If set to true, everything inside curly brackets is returned with all parameters untouched.
- includePages
- Type: System..::..Boolean
If set to true, titles of "transcluded" pages are returned as templates and messages with "msgnw:" prefix are also returned as templates. See this page for details. Default is false.
Return Value
Type: List<(Of <(<'String>)>)>Returns the List object.