Template:EDOs/doc: Difference between revisions

ArrowHead294 (talk | contribs)
Make documentation page
 
Update
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{dochead}}
{{Dochead}}{{substitute|no|}}
=== Usage examples ===
The '''EDOs''' template takes a collection of numbers and creates links to individual [[edo]] pages from it. Alphanumeric characters (e.g. <code>edo</code>) immediately after a number are included in the link, as well as asterisk (<code>*</code>), slash (<code>/</code>), dagger (<code>†</code>), prime (<code>′</code>) and double-prime (<code>″</code>) to help with fraction notation and extended [[wart notation]].
 
=== Usage ===
; You type:
; You type:
* <code><nowiki>{{EDOs|1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}</nowiki></code>
* <code><nowiki>{{EDOs| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}</nowiki></code>
* <code><nowiki>{{EDOs|1 2 3 4 5 6 7 8 9 10 11}}</nowiki></code>
* <code><nowiki>{{EDOs| 1 2 3 4 5 6 7 8 9 10 11 }}</nowiki></code>
* <code><nowiki>{{EDOs|1 edo, 2 edo, up to 99 edo 00}}</nowiki></code>
* <code><nowiki>{{EDOs| 1edo, 2edo, up to 99edo }}</nowiki></code>


; You get (rendered):
; You get (rendered):
* {{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 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}}&ndash;disputable if leading zeros should be removed
* {{EDOs| 1edo, 2edo, up to 99edo }}


; To include a legend, type:
; To include a legend, type:
* <code><nowiki>{{EDOs| legend=1 | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}</nowiki></code>
* <code><nowiki>{{EDOs|legend=0| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}</nowiki></code>
* <code><nowiki>{{EDOs|legend=1| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }}</nowiki></code>


; So you get (rendered):
; So you get (rendered):
* [[EDO]]s: {{EDOs|1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}
* {{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 }}


=== Technical notes ===
=== Technical notes ===
* [https://www.mediawiki.org/wiki/Extension:Regex_Fun MediaWiki: Extension: Regex Fun]
This template calls [[mw: Extension: RegexFunctions|Extension: RegexFunctions]] to match the strings.


=== See also ===
=== See also ===
* [[Template:Optimal ET sequence]]
* [[Template: Optimal ET sequence]]
* [[Template: EDFs]]
* [[Template: EDTs]]
* [[Template: EDs]]