Template:Infobox Algorithm: Difference between revisions
From Rice Wiki
(Created page with "<infobox layout="stacked"> <title source="title"> <default>{{PAGENAME}}</default> </title> <data source="runtime"> <label>Runtime</label> <default>O(n)</default> </data> <data source="space"> <label>Space</label> <default>O(n)</default> </data> <data source="class"> <label>Class</label> </data> </infobox> Category:Algorithms") |
No edit summary |
||
Line 15: | Line 15: | ||
</data> | </data> | ||
</infobox> | </infobox> | ||
<templatedata> | |||
{ | |||
"description": "Infobox for computer algorithms", | |||
"params": { | |||
"title": { | |||
"label": "Name of the algorithm appearing above the box" | |||
}, | |||
"runtime": { | |||
"label": "Runtime complexity of the algorithm" | |||
}, | |||
"space": { | |||
"label": "Space complexity of the algorithm" | |||
}, | |||
"class": { | |||
"label": "Classification of the algorithm (such as Dynamic Programming or Graph Algorithms)" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
[[Category:Algorithms]] | [[Category:Algorithms]] |
Revision as of 23:22, 5 March 2024
Infobox for computer algorithms
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name of the algorithm appearing above the box | title | no description | Unknown | optional |
Runtime complexity of the algorithm | runtime | no description | Unknown | optional |
Space complexity of the algorithm | space | no description | Unknown | optional |
Classification of the algorithm (such as Dynamic Programming or Graph Algorithms) | class | no description | Unknown | optional |