Module talk:Unicode chart: Difference between revisions

Content deleted Content added
links work in demo. whether or not we actually want them.
No edit summary
Line 49:
 
===Update/to-do===
''See [[Template:Unicode chart/testcases]].''
{{collapsible section| title = Example outputs | content =
{{Unicode chart|name=Hebrew|link=ifexist|version=12.0}}
{{Unicode chart|name=Cyrillic|link=no|version=12.0}}
{{Unicode chart|name=Number Forms|link=yes|version=0.0}}
{{Unicode chart|name=Old Turkic|version=99.9}}
{{Unicode chart|name=Georgian|version=26.2}}
}}
See above.
*I've reduced the number of required parameters to only the name of the block and the version string. In reality, the former can probably be deduced (from the name of the calling template), and the latter should be exposed by [[Module:Unicode data]] in some fashion (to avoid hard-coding 12.0 on any other page) and should be update as frequently as the data subpages are updated.
*I've got it looking up the [[ISO 15924]] and using that to select a <code><nowiki><span></nowiki></code> from [[Template:Script]] containing a css class for an appropriate <code>font-family</code>. Better would be a way to apply the <code>class</code> and <code>dir</code> attributes directly to the <code><nowiki><td></nowiki></code> element.