Template:Navbox Lumatone: Difference between revisions
Jump to navigation
Jump to search
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 = | | 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}} | | 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
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:
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: