Template:Navbox Lumatone: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
use numlinks to generate links to decouple navbar from this navbox; might break something...
Tag: Reverted
Ganaram inukshuk (talk | contribs)
Undo revision 212523 by Ganaram inukshuk (talk) rollback for now
Tag: Undo
Line 1: Line 1:
<includeonly>{{#invoke: Navbox | navbox
<includeonly>{{#invoke: Navbar | lumatone_map
| Title = [[Lumatone | Lumatone mappings]]
| edo = {{{1|{{ED title}}}}}
| name = Navbox Lumatone
| debug = {{lc: {{{debug|}}}}}
| Data 1 = <center>{{Numlinks | Current Num = {{{1|{{ED title}}}}} | 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 03:44, 10 October 2025

Template documentation[view] [edit] [history] [purge]
This template invokes the following functions: lumatone_map from Navbar.

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:

Script error: The function "lumatone_map" does not exist.


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:

Script error: The function "lumatone_map" does not exist.