Difference between revisions of "Template:Command/doc"
From GeoGebra Manual
Helder.wiki (talk | contribs) m (test: {{SUBPAGENAME}} should return "doc") |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
<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 | + | ==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 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.