Template:IFDOs: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
BudjarnLambeth (talk | contribs)
Created template
 
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{#if: {{{legend|}}} | [[ifdo]]s:&nbsp;}}{{#regex: {{{1|}}}|/(\d+)(\D+)?/|[[\1ifdo|\1]]\2}}<noinclude>
{{#if: {{{legend|}}} | [[ifdo]]s:&nbsp;}}{{#rreplace: {{{1|}}}|/(\d+)(\D+)?/|[[\1ifdo|\1]]\2}}<noinclude>
This template takes a collection of numbers and creates links to individual [[ifdo]] pages from it.
This template takes a collection of numbers and creates links to individual [[ifdo]] pages from it.



Revision as of 11:58, 5 April 2025

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

Usage examples

You type
  • {{IFDOs|1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}
  • {{IFDOs|1 2 3 4 5 6 7 8 9 10 11}}
  • {{IFDOs|1 ifdo, 2 ifdo, up to 99 ifdo 00}}
You get (rendered)
To include a legend, type
  • {{IFDOs| legend=1 | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
So you get (rendered)

Technical notes

See also