Difference between revisions of "Template:MC-Basic"
(Test) |
m |
||
| (24 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | <includeonly><!-- | |
| − | + | -->__NOTOC__<!-- | |
| − | + | -->__NOEDITSECTION__<!-- | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | == See | + | |
| − | {{{ | + | ### DESCRIPTION |
| − | <includeonly>[[Category:MC-Basic reference]]</ | + | |
| + | -->{{{DESCRIPTION}}}<!-- | ||
| + | |||
| + | ### SHORT FORM | ||
| + | |||
| + | -->{{#if:{{{SHORT FORM|}}}|: | ||
| + | == Short form == | ||
| + | {{{SHORT FORM}}} | ||
| + | }}<!-- | ||
| + | |||
| + | ### SYNTAX | ||
| + | |||
| + | -->{{#if:{{{SYNTAX|}}}|: | ||
| + | == Syntax == | ||
| + | {{{SYNTAX}}} | ||
| + | }}<!-- | ||
| + | |||
| + | ### AVAILABILITY | ||
| + | |||
| + | -->{{#if:{{{AVAILABILITY|}}}|: | ||
| + | == Availability == | ||
| + | {{{AVAILABILITY}}} | ||
| + | }}<!-- | ||
| + | |||
| + | ### TYPE | ||
| + | |||
| + | -->{{#if:{{{TYPE|}}}|: | ||
| + | == Type == | ||
| + | {{{TYPE}}} | ||
| + | }}<!-- | ||
| + | |||
| + | ### RANGE | ||
| + | |||
| + | -->{{#if:{{{RANGE|}}}|: | ||
| + | == Range == | ||
| + | {{{RANGE}}} | ||
| + | }}<!-- | ||
| + | |||
| + | ### UNITS | ||
| + | |||
| + | -->{{#if:{{{UNITS|}}}|: | ||
| + | == Units == | ||
| + | {{{UNITS}}} | ||
| + | }}<!-- | ||
| + | |||
| + | ### DEFAULT | ||
| + | |||
| + | -->{{#if:{{{DEFAULT|}}}|: | ||
| + | == Default == | ||
| + | {{{DEFAULT}}} | ||
| + | }}<!-- | ||
| + | |||
| + | ### SCOPE | ||
| + | |||
| + | -->{{#if:{{{SCOPE|}}}|: | ||
| + | == Scope == | ||
| + | {{{SCOPE}}} | ||
| + | }}<!-- | ||
| + | |||
| + | ### LIMITATIONS | ||
| + | |||
| + | -->{{#if:{{{LIMITATIONS|}}}|: | ||
| + | == Limitations == | ||
| + | {{{LIMITATIONS}}} | ||
| + | }}<!-- | ||
| + | |||
| + | ### EXAMPLE | ||
| + | |||
| + | -->{{#if:{{{EXAMPLE|}}}|: | ||
| + | == Examples == | ||
| + | {{{EXAMPLE}}} | ||
| + | }}<!-- | ||
| + | |||
| + | ### SEE ALSO | ||
| + | |||
| + | -->{{#if:{{{SEE ALSO|}}}|: | ||
| + | == See Also == | ||
| + | {{{SEE ALSO}}} | ||
| + | }} | ||
| + | |||
| + | <!-- ### Categories--> | ||
| + | [[Category:MC-Basic:Commands|{{#explode:{{PAGENAME}}|:|-1}}]] | ||
| + | [[Category:Control:Offline|{{#explode:{{PAGENAME}}|:|-1}}]] | ||
| + | |||
| + | </includeonly> | ||
| + | |||
| + | <!-- | ||
| + | |||
| + | ######### USAGE | ||
| + | |||
| + | --><noinclude> | ||
| + | {{Template | ||
| + | |description= | ||
| + | Template for [[:Category:MC-Basic:Commands|MC-Basic:Commands]] reference pages. | ||
| + | |||
| + | |template= | ||
| + | <nowiki> | ||
| + | {{MC-Basic | ||
| + | |SHORT FORM= | ||
| + | |SYNTAX= | ||
| + | |AVAILABILITY= | ||
| + | |DESCRIPTION= | ||
| + | |TYPE= | ||
| + | |RANGE= | ||
| + | |UNITS= | ||
| + | |DEFAULT= | ||
| + | |SCOPE= | ||
| + | |LIMITATIONS= | ||
| + | |EXAMPLE= | ||
| + | |SEE ALSO= | ||
| + | }} | ||
| + | </nowiki> | ||
| + | |||
| + | |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= | ||
| + | <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]] | ||
| + | </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.