Template:ED4s: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{{#if: {{{legend|}}}|EDFs: }}{{#rreplace: {{{1|}}}|/(\d+)(\D+)?/|\1\2}}</includeonly><noinclude> {{documentation}} Category:Formatting templates </noinclude>" |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{legend|}}}|[[ | <includeonly>{{#if: {{{legend|}}}|[[ED4]]s: }}{{#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
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)