The main entrypoint is the "get" function. First parameter is release, can be "stable", "legacy", "lts", or "alpha". Second parameter is the format, can be "version", "branch", "git", or "date". Note that "alpha" only works with "branch", the behavior of other output formats is undefined.
<nowiki>{{#invoke:Sandbox/BDavis_(WMF)/Version|get|stable|version}}</nowiki>
:<nowiki>{{#invoke:Sandbox/BDavis_(WMF)/Version|get|stable|branch}}</nowiki>
:<nowiki>{{#invoke:Sandbox/BDavis_(WMF)/Version|get|stable|git}}</nowiki>
:<nowiki>{{#invoke:Sandbox/BDavis_(WMF)/Version|get|stable|date}}</nowiki>
:<nowiki>{{#invoke:Sandbox/BDavis_(WMF)/Version|get|legacy|version}}</nowiki>
:<nowiki>{{#invoke:Sandbox/BDavis_(WMF)/Version|get|lts|version}}</nowiki>
:<nowiki>{{#invoke:Sandbox/BDavis_(WMF)/Version|get|alpha|branch}}</nowiki>
:That said, you probably want to use one of the wrapper templates in instead of calling this module directly.