String placeholders {0} in masterpage URL's

Apr 17, 2014 at 10:41 PM
Edited Apr 21, 2014 at 6:10 PM
I've never seen these used in masterpages before but they're in the left nav of the project and they're not being replaced in the rendered URL for me.
<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/{0}/viewlsts.aspx" ID="idNavLinkSiteHierarchyV4" />
Obviously, I can replace with "/_layouts/15/" and it will render the URL correctly but I can't find anywhere that explains this, where the variable would come from, or how to make them work as designed.