Template:Navbox fractional-octave: Difference between revisions

BudjarnLambeth (talk | contribs)
I won’t add this to actual pages until I get the go ahead on this page’s talk page. Layout copy pasted from User:Ganaram inukshuk/Sandbox/Navboxes.
 
ArrowHead294 (talk | contribs)
m Use the template instead of the element for centered text; the <center> element is deprecated.
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{Navbox
[[Category:{{{1}}}edo]][[Category:Fractional-octave temperaments]][[Category:Temperament collections]]
| Title = [[Fractional-octave temperaments]]
{{Navbox
| name = Navbox fractional-octave
|Title=[[Fractional-octave temperaments]]
| Data 1 = {{center|{{Numlinks
|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>
  | Current Num = {{#rmatch: {{{1|{{PAGENAME}}}}}|pattern=\d+|then=$0}}
}}
  | Link Count = 5
</includeonly>
  | Link Format = %s-octave temperaments
<noinclude>
  | Is Ordinal = 1
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.
  | Display Format = %s
  | Current Page Format = '''%s-octave'''
  | Is Table = 0}}}}
}}</includeonly><noinclude>
{{documentation}}


It does not replace [[Template:Fractional-octave navigation]] but only complements it. It performs a similar role to [[Template:Lumatone mapping navigation]].
[[Category:Navboxes]]
 
Example:
<pre>{{Fractional-octave footer|4}}</pre> gives the following:
{{Fractional-octave footer|4}}
 
[[Category:Navigation templates]]
</noinclude>
</noinclude>