User:Merkuri: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
(Replacing page with 'Nothing to see here. :)')
 
Line 1: Line 1:
Testing the [[Template:MacroFunction|MacroFunction template]]:
Nothing to see here. :)
 
{{MacroFunction
|name=setBarVisible
|version=1.3
|description=
Sets if the specified [[Token:bar|bar]] for the [[Token:Current Token|Current Token]] is visible or not. If the value is non zero then the [[Token:bar|bar]] is visible, if it is 0 it is not visible.
 
|usage=
<source lang="mtmacro" line>
[h: setBarVisible(name, value)]
</source>
 
|examples=
Make "health" [[Token:bar|bar]] for the [[Token:Current Token|Current Token]] visible.
<source lang="mtmacro" line>
[h: setBarVisible("health", 1)]
</source>
 
Hide "health" [[Token:bar|bar]] for the [[Token:Current Token|Current Token]].
<source lang="mtmacro" line>
[h: setBarVisible("health", 0)]
</source>
 
|versionChanges=
In version XYZ this worked a little differently.  Insert more details here.
}}

Latest revision as of 16:08, 7 March 2009

Nothing to see here. :)