Template:EDOs: Difference between revisions
Jump to navigation
Jump to search
+an alt parameter without linking the string "edos" |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{legend|}}}|1=[[EDO]]s: |0=EDOs: }}{{#if: {{{1|}}}|{{# | <includeonly>{{#switch: {{{legend|}}}|1=[[EDO]]s: |0=EDOs: }}{{#if: {{{1|}}}|{{#rreplace: {{{1}}}|/(\d+)(\D+)?/|[[\1edo|\1]]\2}}|}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:57, 5 April 2025
This template takes a collection of numbers and creates links to individual edo pages from it.
Usage examples
- You type
{{EDOs| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
{{EDOs| 1 2 3 4 5 6 7 8 9 10 11 }}
{{EDOs| 1 edo, 2 edo, up to 99 edo 00 }}
- You get (rendered)
- To include a legend, type
{{EDOs|legend=0| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
{{EDOs|legend=1| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}
- So you get (rendered)