Difference between revisions of "Template:Command/doc"

From GeoGebra Manual
Jump to: navigation, search
m (test: {{SUBPAGENAME}} should return "doc")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{SUBPAGENAME}}
 
 
<noinclude>{{Documentation subpage}}
 
<noinclude>{{Documentation subpage}}
 
</noinclude>
 
</noinclude>
This template crates list command [[:Category:Info templates|infobox]] on the right. Also adds the public-space page into [[:Category:Commands]]
+
This template crates list command [[:Category:Info templates|infobox]] on the right. Also adds the public-space page into [[:Category:Commands]].
==Usage example==
+
==Usage examples==
<nowiki>{{</nowiki><code>command|algebra</code><nowiki>}}</nowiki>
+
* <nowiki>{{</nowiki><code>command|algebra</code><nowiki>}}</nowiki>
 +
* <nowiki>{{</nowiki><code>command|algebra|category</code><nowiki>}}</nowiki>
 +
* <nowiki>{{</nowiki><code>command|cas=true|statistics|Zipf</code><nowiki>}}</nowiki>
 
==Parameters==
 
==Parameters==
 
;1  
 
;1  
 
:command type; one of "algebra","geometry","text","logical","function","conic","list","chart","statistics","probability",
 
:command type; one of "algebra","geometry","text","logical","function","conic","list","chart","statistics","probability",
 
"vector-matrix","transformation","spreadsheet","scripting","discrete","other","CAS","3D"
 
"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.
 
<includeonly>
 
<includeonly>
 
[[Category:Info templates]]
 
[[Category:Info templates]]
 
[[Category:Exclude in print]]
 
[[Category:Exclude in print]]
 
</includeonly>
 
</includeonly>

Latest revision as of 11:33, 12 September 2011

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