Difference between revisions of "Template:Command"

From GeoGebra Manual
Jump to: navigation, search
Line 159: Line 159:
 
<noinclude>{{Documentation}}</noinclude>
 
<noinclude>{{Documentation}}</noinclude>
 
{{#if: {{{UK_version|}}}{{{US_version|}}}{{{Aus_version|}}}|{{Alternate Language|region={{{region}}}|page_type=Command|US_version={{{US_version|}}}|UK_version={{{UK_version|}}}|Aus_version={{{Aus_version|}}}|non-US_version={{{non-US_version|}}}|non-UK_version={{{non-UK_version|}}}|non-Aus_version={{{non-Aus_version|}}}}}}}<!--
 
{{#if: {{{UK_version|}}}{{{US_version|}}}{{{Aus_version|}}}|{{Alternate Language|region={{{region}}}|page_type=Command|US_version={{{US_version|}}}|UK_version={{{UK_version|}}}|Aus_version={{{Aus_version|}}}|non-US_version={{{non-US_version|}}}|non-UK_version={{{non-UK_version|}}}|non-Aus_version={{{non-Aus_version|}}}}}}}<!--
-->{{#ifeq: {{{1|}}}|CAS|{{#ifeq:{{{2}}}|category||This command works in [[CAS View]] only.}}}}
+
-->{{#ifeq: {{{1|}}}|CAS|{{#ifeq:{{{2}}}|category||[[Category:CAS Restricted Commands]] This command works in [[CAS View]] only.}}}}
 
__NOTOC__
 
__NOTOC__

Revision as of 16:08, 4 February 2012

[edit] [purge] Template documentation

This template crates list command infobox on the right. Also adds the public-space page into Category:Commands.

Usage examples

  • {{command|algebra}}
  • {{command|algebra|category}}
  • {{command|cas=true|statistics|Zipf}}

Parameters

1
command type; one of "algebra","geometry","text","logical","function","conic","list","chart","statistics","probability",

"vector-matrix","transformation","spreadsheet","scripting","discrete","other","CAS","3D"

2
might equal "category" or be empty -- this affects the first line of the infobox. In non-english wikis it may contain other value and in that case it serves as title.
cas
when true, page is included into CAS Specific Commands category.
3
only in non-english wikis; serves as title for command categories. By leaving a space in the beginning, you make the category come before A in alphabetical listing.


© 2024 International GeoGebra Institute