Difference between revisions of "Template:Command/doc"

From GeoGebra Manual
Jump to: navigation, search
m (Undo revision 7212 by Helder.wiki (talk): doesn't works (probably mw:Manual:$wgNamespacesWithSubpages needs to be updated))
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 example==
 
==Usage example==
 
<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>

Revision as of 11:31, 12 September 2011

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

Usage example

{{command|algebra}}

{{


}}

{{


}}

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