WikiFunctions.Parse.MetaDataSorter.MoveTemplateToReferencesSection C# (CSharp) Method

MoveTemplateToReferencesSection() public static method

Moves the given template(s) from anywhere in the article to the references section.
public static MoveTemplateToReferencesSection ( string articleText, Regex templateRegex ) : string
articleText string /// Article text. ///
templateRegex System.Text.RegularExpressions.Regex /// Regex to match the template(s) to be moved ///
return string
        public static string MoveTemplateToReferencesSection(string articleText, Regex templateRegex)
        {
            return MoveTemplateToReferencesSection(articleText, templateRegex, false);
        }

Same methods

MetaDataSorter::MoveTemplateToReferencesSection ( string articleText, Regex TemplateRegex, bool onlyfromzerothsection ) : string