Board Thread:Support Requests - Getting Technical/@comment-3499588-20190614205126/@comment-26143371-20190614212942

Something like this should do:

See mw:Help:Extension:ParserFunctions for the relevant documentation.