Template:ED4s: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
BudjarnLambeth (talk | contribs)
Created page with "<includeonly>{{#if: {{{legend|}}}|EDFs: }}{{#rreplace: {{{1|}}}|/(\d+)(\D+)?/|\1\2}}</includeonly><noinclude> {{documentation}} Category:Formatting templates </noinclude>"
 
BudjarnLambeth (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{legend|}}}|[[EDF]]s:&nbsp;}}{{#rreplace: {{{1|}}}|/(\d+)(\D+)?/|[[\1ed4|\1]]\2}}</includeonly><noinclude>
<includeonly>{{#if: {{{legend|}}}|[[ED4]]s:&nbsp;}}{{#rreplace: {{{1|}}}|/(\d+)(\D+)?/|[[\1ed4|\1]]\2}}</includeonly><noinclude>
{{documentation}}
{{documentation}}


[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Revision as of 07:32, 23 April 2025

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

This template takes a collection of numbers and creates links to individual Ed4 pages from it.

Usage examples

You type
  • {{ED4s|1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}
  • {{ED4s|1 2 3 4 5 6 7 8 9 10 11}}
  • {{ED4s|1, 3 and 12, but notably not 7}}
You get (rendered)
To include a legend, type
  • {{ED4s|legend=1| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
So you get (rendered)

Technical notes

See also