_oidLink

Get the OID Link from a Thing -- Function
THING -> _oidLink -> External Link
Most of the time, you create a link to a Thing simply by naming the Thing. The resulting link is by the "ThingId" -- the Link Name if it has one, otherwise the OID. Occasionally, though, you may want to specifically link via OID. (For example, if you think the Link Name might change out from under you.) That is what _oidLink is for: it takes the Thing and produces an External Link using the OID.
You may then feed this into something like _iconButton in order to display the resulting Link as a button, if you like.
Keep in mind that this is rarely needed, though. Most of the time, when you want to display the link to a passed-in Thing, you don't even need a QL expression -- you can simply say ____ (four underscores) in your QText, and that translates as "display the received context". If you've passed in a Thing (which you most often do), that will display as an HTML link to that Thing, showing its Name.