Difference between revisions of "Template:MC-Basic"
(only pages in Axystems namespace are added to Category:Axystems:MC-Basic:Commands) |
|||
Line 87: | Line 87: | ||
### Categories | ### Categories | ||
--> | --> | ||
− | {{#ifeq:{{NAMESPACE}}| | + | {{#ifeq:{{NAMESPACE}}| |
|<!-- Public basic command --> | |<!-- Public basic command --> | ||
− | [[Category | + | [[Category:MC-Basic:Commands|{{#explode:{{PAGENAME}}|:|-1}}]] |
[[Category:Control:Offline]] | [[Category:Control:Offline]] | ||
|<!-- Not ready basic command --> | |<!-- Not ready basic command --> | ||
Line 103: | Line 103: | ||
{{Template | {{Template | ||
|description= | |description= | ||
− | Template for [[:Category | + | Template for [[:Category:MC-Basic:Commands|MC-Reference]] command pages. |
Line 150: | Line 150: | ||
|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= |
Revision as of 09:06, 22 May 2014
Template for MC-Reference command 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= * [[Axystems: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.