Difference between revisions of "Template:Command/doc"
From GeoGebra Manual
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
</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 | + | ==Usage examples== |
− | <nowiki>{{</nowiki><code>command|algebra</code><nowiki>}}</nowiki> | + | * <nowiki>{{</nowiki><code>command|algebra</code><nowiki>}}</nowiki> |
− | <nowiki>{{</nowiki><code> | + | * <nowiki>{{</nowiki><code>command|algebra|category</code><nowiki>}}</nowiki> |
− | <nowiki>{{</nowiki><code> | + | * <nowiki>{{</nowiki><code>command|cas=true|statistics|Zipf</code><nowiki>}}</nowiki> |
==Parameters== | ==Parameters== | ||
;1 | ;1 | ||
Line 14: | Line 14: | ||
;cas | ;cas | ||
:when true, page is included into CAS Specific Commands category. | :when true, page is included into CAS Specific Commands category. | ||
− | 3 | + | ;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. | :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> |
Latest revision as of 11:33, 12 September 2011
This is a documentation subpage for Template:Command (see that page for the template itself). It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
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.