Difference between revisions of "Template:MC-Basic"
m (Draft) |
m |
||
(17 intermediate revisions by 3 users not shown) | |||
Line 83: | Line 83: | ||
== See Also == | == See Also == | ||
{{{SEE ALSO}}} | {{{SEE ALSO}}} | ||
− | }} | + | }} |
− | ### Categories | + | <!-- ### Categories--> |
− | -->[[Category | + | [[Category:MC-Basic:Commands|{{#explode:{{PAGENAME}}|:|-1}}]] |
+ | [[Category:Control:Offline|{{#explode:{{PAGENAME}}|:|-1}}]] | ||
+ | </includeonly> | ||
+ | <!-- | ||
######### USAGE | ######### USAGE | ||
Line 95: | Line 98: | ||
{{Template | {{Template | ||
|description= | |description= | ||
+ | Template for [[:Category:MC-Basic:Commands|MC-Basic:Commands]] reference pages. | ||
|template= | |template= | ||
Line 140: | Line 144: | ||
|operation= | |operation= | ||
− | * Pages with this template are automatically added to the [[:Category | + | * Pages with this template are automatically added to the [[:Category:MC-Basic:Commands]]. |
|examples= | |examples= | ||
+ | <pre> | ||
+ | {{MC-Basic | ||
+ | |SHORT FORM= | ||
+ | |SYNTAX= | ||
+ | BIN$(<''number''>) | ||
+ | |||
+ | |AVAILABILITY= | ||
+ | Versions 4.0.0 and higher | ||
+ | |||
+ | |DESCRIPTION= | ||
+ | BIN$ returns the string representation of a number in a binary format. | ||
+ | |||
+ | |TYPE= | ||
+ | <''return'' ''value''>: String<br> | ||
+ | |||
+ | <''number''>: Long | ||
+ | |||
+ | |RANGE= | ||
+ | <''return'' ''value''>: N/A | ||
+ | |||
+ | <''number''>: MinLong to MaxLong | ||
+ | |UNITS= | ||
+ | |DEFAULT= | ||
+ | |SCOPE= | ||
+ | Configuration, Task or Terminal | ||
+ | |LIMITATIONS= | ||
+ | |EXAMPLE= | ||
+ | <nowiki><</nowiki>pre> | ||
+ | -->myStr = Bin$(58699) | ||
+ | -->?myStr | ||
+ | 1110010101001011 | ||
+ | <nowiki><</nowiki>/pre> | ||
+ | |||
+ | |SEE ALSO= | ||
+ | * [[MC-Basic:HEX$|HEX$]] | ||
}} | }} | ||
+ | </pre> | ||
+ | }} | ||
[[Category:Template:MC-Basic]] | [[Category:Template:MC-Basic]] | ||
</noinclude> | </noinclude> |
Latest revision as of 13:00, 28 May 2014
Template for MC-Basic:Commands reference pages.
Template
{{MC-Basic |SHORT FORM= |SYNTAX= |AVAILABILITY= |DESCRIPTION= |TYPE= |RANGE= |UNITS= |DEFAULT= |SCOPE= |LIMITATIONS= |EXAMPLE= |SEE ALSO= }}
Parameters
- SHORT FORM
- SYNTAX
- AVAILABILITY
- DESCRIPTION
- TYPE
- RANGE
- UNITS
- DEFAULT
- SCOPE
- LIMITATIONS
- EXAMPLE
- SEE ALSO
Operation
- Pages with this template are automatically added to the Category:MC-Basic:Commands.
Examples
{{MC-Basic |SHORT FORM= |SYNTAX= BIN$(<''number''>) |AVAILABILITY= Versions 4.0.0 and higher |DESCRIPTION= BIN$ returns the string representation of a number in a binary format. |TYPE= <''return'' ''value''>: String<br> <''number''>: Long |RANGE= <''return'' ''value''>: N/A <''number''>: MinLong to MaxLong |UNITS= |DEFAULT= |SCOPE= Configuration, Task or Terminal |LIMITATIONS= |EXAMPLE= <pre> -->myStr = Bin$(58699) -->?myStr 1110010101001011 </pre> |SEE ALSO= * [[MC-Basic:HEX$|HEX$]] }}
For more examples refer to pages, which use this template: What links here.
Help:Templates describes general usage of templates, including treatment of special characters.