mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-01 09:06:40 +00:00
Document the tv-* variables
This commit is contained in:
@@ -64,7 +64,6 @@ tags: $:/tags/Macro
|
||||
|
||||
\define .tip(_) <div class="doc-icon-block"><div class="doc-block-icon">{{$:/core/images/tip}}</div> $_$</div>
|
||||
\define .warning(_) <div class="doc-icon-block"><div class="doc-block-icon">{{$:/core/images/warning}}</div> $_$</div>
|
||||
\end
|
||||
|
||||
\define .state-prefix() $:/state/editions/tw5.com/
|
||||
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
created: 20150117152607000
|
||||
modified: 20150221151136000
|
||||
modified: 20150228114306000
|
||||
title: $:/editions/tw5.com/operator-macros
|
||||
tags: $:/tags/Macro
|
||||
|
||||
\define .operator-examples(op,text:"Examples") <$link to="$op$ Operator (Examples)">$text$</$link>
|
||||
\define .variable-examples(v,text:"Examples") <$link to="$v$ Variable (Examples)">$text$</$link>
|
||||
\define .macro-examples(m,text:"Examples") <$link to="$m$ Macro (Examples)">$text$</$link>
|
||||
|
||||
\define .operator-example(n,eg,ie)
|
||||
<div class="doc-example">
|
||||
|
||||
18
editions/tw5.com/tiddlers/system/variable-macros.tid
Normal file
18
editions/tw5.com/tiddlers/system/variable-macros.tid
Normal file
@@ -0,0 +1,18 @@
|
||||
created: 20150228114241000
|
||||
modified: 20150228141312000
|
||||
title: $:/editions/tw5.com/variable-macros
|
||||
tags: $:/tags/Macro
|
||||
|
||||
\define .variable-examples(v,text:"Examples") <$link to="$v$ Variable (Examples)">$text$</$link>
|
||||
\define .macro-examples(m,text:"Examples") <$link to="$m$ Macro (Examples)">$text$</$link>
|
||||
|
||||
\define .js-macro-link(_) [[$_$|http://tiddlywiki.com/dev/index.html#JavaScript%20Macros]]
|
||||
|
||||
\define .this-is-static-link-variable() <<.tip "This variable has no useful effect when ~TiddlyWiki is running in a browser, as the `href` attribute is ignored there -- links between tiddlers are performed by JavaScript instead. The variable comes into play when one is using the [[Node.js configuration|TiddlyWiki on Node.js]] to [[generate a static version|RenderTiddlersCommand]] of a wiki.">>
|
||||
|
||||
\define .this-is-toolbar-config-variable(configTiddler)
|
||||
|
||||
It can be set to <<.value yes>> or <<.value no>> prior to transcluding such a button.
|
||||
|
||||
The standard page template sets it to the value found in [[$configTiddler$]], with the result that this becomes the default for the whole page. The user can adjust this default by using a tickbox on the <<.controlpanel-tab Settings>> tab of the [[Control Panel|$:/ControlPanel]].
|
||||
\end
|
||||
Reference in New Issue
Block a user