User Tools

Site Tools


harlowe:page-url

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

harlowe:page-url [2017/10/09 20:39] (current)
Line 1: Line 1:
 +**(page-url:​ ////) -> //​[[harlowe:​String|String]]//​**
  
 +This macro produces the full URL of the story'​s HTML page, as it is in the player'​s browser.
 +
 +=== Example usage: ===
 +
 +''​%%(if:​ (page-url:) contains "#​cellar"​)%%''​ will be true if the URL contains the ''​%%#​cellar%%''​ hash.
 +
 +=== Details: ===
 +
 +This **may** be changed in a future version of Harlowe to return a [[harlowe:​datamap|datamap]] containing more
 +descriptive values about the URL, instead of a single [[harlowe:​string|string]].
harlowe/page-url.txt ยท Last modified: 2017/10/09 20:39 (external edit)