GetNamespaceString() public static method

public static GetNamespaceString ( Article a ) : string
a Article
return string
Example #1
0
        /// <summary>
        /// Applies the key words "%%title%%" etc.
        /// </summary>
        public static string ApplyKeyWords(string Title, string Text)
        {
            Text = Text.Replace("%%title%%", Title);
            Text = Text.Replace("%%key%%", Tools.MakeHumanCatKey(Title));

            Text = Text.Replace("%%titlename%%", Tools.RemoveNamespaceString(Title));
            Text = Text.Replace("%%namespace%%", Tools.GetNamespaceString(Title));

            return(Text);
        }