User Tools

Site Tools


textinput

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
textinput [2014/06/15 20:31]
l [Button shorthand]
textinput [2017/10/09 20:39] (current)
Line 13: Line 13:
 ====Button shorthand==== ====Button shorthand====
  
-As mentioned, the inputted text is ignored by Twine unless a button is clicked, which acts as a way to "​submit"​ the text into the given variable. There is a way to create a button without using an extra [[<<​button>>​]] macro. Simply add a link as an extra argument to the macro:+As mentioned, the inputted text is ignored by Twine unless a button is clicked, which acts as a way to "​submit"​ the text into the given variable. There is a way to create a button without using an extra [[<<​button>>​]] macro. Simply add a [[link]] as an extra argument to the macro:
  
 >​%%<<​%%textinput $//​variable//​ %%[[%%//​link text//​|//​passage name//%%]] >>%% >​%%<<​%%textinput $//​variable//​ %%[[%%//​link text//​|//​passage name//%%]] >>%%
textinput.txt ยท Last modified: 2017/10/09 20:39 (external edit)