Template:ED title: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>{{#regex: {{PAGENAME}}|/.*?(\d+)[Ee][Dd]([^\s]+)/e|\1ed{{lc:\2}}}}</includeonly><noinclude>
{{<includeonly>safesubst:</includeonly>#regex: {{PAGENAME}}|/.*?(\d+)[Ee][Dd]([^\s]+)/e|\1ed{{lc:\2}}}}<noinclude>
{{documentation}}
{{documentation}}


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

Revision as of 03:26, 16 March 2025

{{#regex: ED title|/.*?(\d+)[Ee][Dd]([^\s]+)/e|\1ed\2}}

Template documentation[view] [edit] [history] [purge]
This template may be substituted.

This template extracts a given equal-step tuning from a page's title using regular expressions. It allows templates such as {{ED intro}} and {{Navbox Lumatone}} to automatically fill in information based on the page title without having to pass in the tuning as a parameter every time.