Template:Navbox fractional-octave: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{{#if: {{{1|}}}|{{Navbox
[[Category:{{{1}}}edo]][[Category:Fractional-octave temperaments]][[Category:Temperament collections]]
{{Navbox
| name = Fractional-octave footer
| name = Fractional-octave footer
| Title = [[Fractional-octave temperaments]]
| Title = [[Fractional-octave temperaments]]
| Data 1 = <center>&larr; [[{{Ordinal|{{#expr: {{{1}}} - 3}}}}-octave temperaments|{{Ordinal|{{#expr: {{{1}}} - 3}}}}]] • [[{{Ordinal|{{#expr: {{{1}}} - 2}}}}-octave temperaments|{{Ordinal|{{#expr: {{{1}}} - 2}}}}]] • [[{{Ordinal|{{#expr: {{{1}}} - 1}}}}-octave temperaments|{{Ordinal|{{#expr: {{{1}}} - 1}}}}]] • '''[[{{Ordinal|{{{1}}}}}-octave temperaments|{{Ordinal|{{{1}}}}}-octave]]''' • [[{{Ordinal|{{#expr: {{{1}}} + 1}}}}-octave temperaments|{{Ordinal|{{#expr: {{{1}}} + 1}}}}]] • [[{{Ordinal|{{#expr: {{{1}}} + 2}}}}-octave temperaments|{{Ordinal|{{#expr: {{{1}}} + 2}}}}]] • [[{{Ordinal|{{#expr: {{{1}}} + 3}}}}-octave temperaments|{{Ordinal|{{#expr: {{{1}}} + 3}}}}]] &rarr;</center>
| Data 1 = <div style="text-align: center;"><div style="margin: auto auto auto auto;">'''&larr;''' [[{{Ordinal|{{#expr: {{{1}}} - 3}}}}-octave temperaments|{{Ordinal|{{#expr: {{{1}}} - 3}}}}]] &bull; [[{{Ordinal|{{#expr: {{{1}}} - 2}}}}-octave temperaments|{{Ordinal|{{#expr: {{{1}}} - 2}}}}]] &bull; [[{{Ordinal|{{#expr: {{{1}}} - 1}}}}-octave temperaments|{{Ordinal|{{#expr: {{{1}}} - 1}}}}]] &bull; '''[[{{Ordinal|{{{1}}}}}-octave temperaments|{{Ordinal|{{{1}}}}}-octave]]''' &bull; [[{{Ordinal|{{#expr: {{{1}}} + 1}}}}-octave temperaments|{{Ordinal|{{#expr: {{{1}}} + 1}}}}]] &bull; [[{{Ordinal|{{#expr: {{{1}}} + 2}}}}-octave temperaments|{{Ordinal|{{#expr: {{{1}}} + 2}}}}]] &bull; [[{{Ordinal|{{#expr: {{{1}}} + 3}}}}-octave temperaments|{{Ordinal|{{#expr: {{{1}}} + 3}}}}]] '''&rarr;'''</div></div>
}}
}}{{#ifeq: {{FULLROOTPAGENAME}}|Template:Fractional-octave footer||[[Category:{{{1}}}edo]][[Category:Fractional-octave temperaments]][[Category:Temperament collections]]}}|}}</includeonly><noinclude>
</includeonly>
<noinclude>
== Description ==
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.
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 does not replace [[Template:Fractional-octave navigation]] but only complements it. It performs a similar role to [[Template:Lumatone mapping navigation]].
{{documentation}}
 
== Example ==
<pre>{{Fractional-octave footer|4}}</pre> gives the following:
{{Fractional-octave footer|4}}


[[Category:Navigation templates]]
[[Category:Navigation templates]]
</noinclude>
</noinclude>

Revision as of 22:41, 3 December 2024

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.

Template documentation[view] [edit] [history] [purge]

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}}
{{navbox fractional-octave|6}}
{{navbox fractional-octave|7}}

gives the following:

View • Talk • EditFractional-octave temperaments 
← -2nd • -1st • 0th • 1st-octave • 2nd • 3rd • 4th →
View • Talk • EditFractional-octave temperaments 
← -1st • 0th • 1st • 2nd-octave • 3rd • 4th • 5th →
View • Talk • EditFractional-octave temperaments 
← 0th • 1st • 2nd • 3rd-octave • 4th • 5th • 6th →
View • Talk • EditFractional-octave temperaments 
← 1st • 2nd • 3rd • 4th-octave • 5th • 6th • 7th →
View • Talk • EditFractional-octave temperaments 
← 2nd • 3rd • 4th • 5th-octave • 6th • 7th • 8th →
View • Talk • EditFractional-octave temperaments 
← 3rd • 4th • 5th • 6th-octave • 7th • 8th • 9th →
View • Talk • EditFractional-octave temperaments 
← 4th • 5th • 6th • 7th-octave • 8th • 9th • 10th →