Template:Navbox Lumatone: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
rollout numlinks (for real this time) to decouple navbar from this navbox
ArrowHead294 (talk | contribs)
m Use the {{center}} template please; the center element is long obsolete.
Line 2: Line 2:
| Title = [[Lumatone | Lumatone mappings]]
| Title = [[Lumatone | Lumatone mappings]]
| name = Navbox Lumatone
| name = Navbox Lumatone
| Data 1 = <center>{{Numlinks
| Data 1 = {{center|{{Numlinks
   | Current Num = {{#rmatch:{{{1|{{ED title}}}}}|pattern=\d+|then=$0}}
   | Current Num = {{#rmatch: {{{1|{{ED title}}}}}|pattern=\d+|then=$0}}
   | Link Count = 3
   | Link Count = 3
   | Link Format = Lumatone mapping for %sedo
   | Link Format = Lumatone mapping for %sedo
   | Display Format = %sedo
   | Display Format = %sedo
   | Current Page Format = '''Lumatone mapping for %sedo'''
   | Current Page Format = '''Lumatone mapping for %sedo'''
   | Is Table = 0}}</center>
   | Is Table = 0}}}}
}}</includeonly>{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}}|template:navbox lumatone||[[Category:Lumatone mappings|{{#invoke: ET sort key|et_sort_key|{{{1|{{ED title}}}}}}}]] [[Category:{{ED title}}]]}}<noinclude>
}}</includeonly>{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}}|template:navbox lumatone||[[Category:Lumatone mappings|{{#invoke: ET sort key|et_sort_key|{{{1|{{ED title}}}}}}}]] [[Category:{{ED title}}]]}}<noinclude>
{{documentation}}
{{documentation}}

Revision as of 02:19, 12 October 2025

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

This template generates a footer to navigate between Lumatone mapping pages for EDOs and automatically adds the appropriate EDO category and Category:Lumatone mappings.

Place it at the bottom of the page, on a new line beneath the lowest piece of content.

Example

For 12edo, you would input:

{{Navbox Lumatone}}

on the page Lumatone mapping for 12edo, which would give:

ViewTalkEdit Lumatone mappings 
← 9edo • 10edo • 11edo • Lumatone mapping for 12edo • 13edo • 14edo • 15edo →


For non-octave mappings, such as EDTs, add the parameter equave=t. For example, for the page 13edt, you would input

{{Navbox Lumatone|equave=t}}

and get:

ViewTalkEdit Lumatone mappings 
← 10edo • 11edo • 12edo • Lumatone mapping for 13edo • 14edo • 15edo • 16edo →