This shows you the differences between two versions of the page.
— |
twine1:replace [2017/10/09 20:39] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Replace ====== | ||
+ | |||
+ | Created by [[ https://www.glorioustrainwrecks.com/user/584 | L]] on [[ https://www.glorioustrainwrecks.com/ | Glorious Trainwrecks]], this macro creates an internal link that, when clicked, vanishes and is replaced with whatever is between the <<replace>> and <<endreplace>> tags. | ||
+ | |||
+ | (See also: [[twine1:replace-macro-set | Replace Macro Set]]) | ||
+ | |||
+ | ===== Example ===== | ||
+ | <code> | ||
+ | You see <<replace "a half-eaten cake">>a plate of crumbs<<endreplace>> | ||
+ | </code> | ||
+ | |||
+ | Additional code and documentation can be [[ https://www.glorioustrainwrecks.com/node/5019 | found here]]. | ||
+ | |||