Template:SB tree: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 6: | Line 6: | ||
| Stagger Ratios={{{Stagger Ratios|True}}} | | Stagger Ratios={{{Stagger Ratios|True}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 15:49, 30 January 2025
![]() |
This template uses Lua: |
This template is used to create a Stern–Brocot tree, given a pair of starting ratios and a depth.
Usage
No parameters are required, but will accept up to 5.
Start Ratio
- The starting ratio for the SB tree. The default is 1/1.
Stop Ratio
- The stopping ratio for the SB tree. The default is 1/0.
Depth
- How many layers from the starting ratio the tree should extend. The default is 4 layers.
Edge Extend
- How many additional layers the edges should be extended. The default is 0 layers.
Stagger Ratios
- Whether to display ratios in a staggered formation (spans multiple columns) or in only one column. The default is true.