Template:Navbox fractional-octave/doc: Difference between revisions
Jump to navigation
Jump to search
m →Example |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{dochead}} | {{dochead}}{{lua|Navbox|Navbar}} | ||
This template | This template generates a footer to help navigating through [[fractional-octave temperaments]] pages. It should be placed at the end of the page after a line break. | ||
=== | It is complemented by [[Template:Infobox fractional-octave]], which occurs at the top-right of the page, which is quicker and simpler and provides additional information, but which only allows navigation to adjacent pages, unlike this footer which allows navigation to pages a longer distance away. | ||
<pre>{{navbox fractional-octave|4}}</pre> | |||
=== Usage === | |||
On pages such as [[5th-octave temperaments]], simply add in <code><nowiki>{{Navbox fractional-octave}}</nowiki></code> at the bottom of the page. Alternatively, pass in the number of periods as a single unnamed parameter. | |||
<pre> | |||
{{navbox fractional-octave|1}} | |||
{{navbox fractional-octave|2}} | |||
{{navbox fractional-octave|3}} | |||
{{navbox fractional-octave|4}} | |||
{{navbox fractional-octave|5}} | |||
</pre> | |||
gives the following: | gives the following: | ||
{{{{ROOTPAGENAME}}|1}} | |||
{{{{ROOTPAGENAME}}|2}} | |||
{{{{ROOTPAGENAME}}|3}} | |||
{{{{ROOTPAGENAME}}|4}} | {{{{ROOTPAGENAME}}|4}} | ||
{{{{ROOTPAGENAME}}|5}} |
Latest revision as of 13:55, 2 May 2025
![]() |
This template uses Lua: |
This template generates a footer to help navigating through fractional-octave temperaments pages. It should be placed at the end of the page after a line break.
It is complemented by Template:Infobox fractional-octave, which occurs at the top-right of the page, which is quicker and simpler and provides additional information, but which only allows navigation to adjacent pages, unlike this footer which allows navigation to pages a longer distance away.
Usage
On pages such as 5th-octave temperaments, simply add in {{Navbox fractional-octave}}
at the bottom of the page. Alternatively, pass in the number of periods as a single unnamed parameter.
{{navbox fractional-octave|1}} {{navbox fractional-octave|2}} {{navbox fractional-octave|3}} {{navbox fractional-octave|4}} {{navbox fractional-octave|5}}
gives the following: