Template:Navbox Lumatone: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
Undo revision 212523 by Ganaram inukshuk (talk) rollback for now
Tag: Undo
Ganaram inukshuk (talk | contribs)
rollout numlinks (for real this time) to decouple navbar from this navbox
Line 1: Line 1:
<includeonly>{{#invoke: Navbar | lumatone_map
<includeonly>{{Navbox
| edo = {{{1|{{ED title}}}}}
| Title = [[Lumatone | Lumatone mappings]]
| debug = {{lc: {{{debug|}}}}}
| name = Navbox Lumatone
| Data 1 = <center>{{Numlinks
  | Current Num = {{#rmatch:{{{1|{{ED title}}}}}|pattern=\d+|then=$0}}
  | Link Count = 3
  | Link Format = Lumatone mapping for %sedo
  | Display Format = %sedo
  | Current Page Format = '''Lumatone mapping for %sedo'''
  | Is Table = 0}}</center>
}}</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 05:22, 10 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 →