Thread:Extension talk:ParserFunctions/Nesting a magic word within a string function?/reply

already includes the file extension. Use.