Difference between revisions of "Template:Command"

From GeoGebra Manual
Jump to: navigation, search
m (exclude in print)
m (Exclude in print fix)
Line 164: Line 164:
 
<includeonly>{{#ifeq:{{NAMESPACE}}|Manual| |[[Category:Commands]]{{#ifeq:{{{cas|}}}|true|[[Category:CAS Specific Commands]]}}{{#ifeq:{{{1|}}}|CAS|[[Category:CAS Specific Commands]] [[Category:CAS Restricted Commands]]
 
<includeonly>{{#ifeq:{{NAMESPACE}}|Manual| |[[Category:Commands]]{{#ifeq:{{{cas|}}}|true|[[Category:CAS Specific Commands]]}}{{#ifeq:{{{1|}}}|CAS|[[Category:CAS Specific Commands]] [[Category:CAS Restricted Commands]]
 
}}}}</includeonly>
 
}}}}</includeonly>
<noinclude>{{Documentation}}</noinclude>[[Category:Exclude in print]]
+
<noinclude>{{Documentation}}[[Category:Exclude in print]]</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|| This command works in [[CAS View]] only.}}}}
 
__NOTOC__
 
__NOTOC__

Revision as of 16:01, 4 April 2015

[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