Difference between revisions of "Template:ISO 15924 script codes and related Unicode data/row"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 1: Line 1:
<includeonly>{{!}} {{mono|1={{trim|1={{{1|}}}}}}}{{#invoke:anchor|main|{{{1|}}}}}
+
|-
 
+
| <!-- ISO alpha4 -->{{mono|1={{trim|1={{{1|}}}}}}}{{#invoke:anchor|main|{{{1|}}}}}
{{!}} {{ISO 15924 number|{{{1}}}}}
+
| <!-- ISO number -->{{ISO 15924 number|1={{{1}}}}}
 
+
| <!-- enwiki article -->[[{{ISO 15924/wp-article|1={{{1}}}}}|{{ISO 15924 name|1={{{1}}}}}]]
{{!}} [[{{ISO 15924/wp-article|{{{1}}}}}|{{ISO 15924 name|{{{1}}}}}]]
+
| <!-- dir -->{{ISO 15924 direction|1={{{1}}}|ltr=L-to-R|rtl=R-to-L|ttb=T-to-B|inh=Inherited|mixed=Mixed|varies=Varies|default=}}
 
+
<!-- Unicode data OR not-in-Unicode -->{{#if:{{ISO 15924 alias |1={{{1}}}|default=}}
{{!}} style="border-left:2px solid grey;" {{!}} {{ISO 15924 alias|{{{1}}}}}
+
|
 
+
{{!}} <!-- Unicode alias -->{{ISO 15924 alias|1={{{1}}}}}
{{!}} {{ISO 15924 direction|{{{1}}}|ltr=L-to-R|rtl=R-to-L|ttb=T-to-B|inh=Inherited|mixed=Mixed|varies=Varies|default=}}</includeonly><noinclude>
+
{{!}} style="text-align: right;" {{!}} <!-- version -->{{{version|}}}
{{documentation|content=
+
{{!}} style="text-align: right;" {{!}} <!-- # chars -->{{{chars|}}}
 
+
|<!-- Not in unicode. 3 cols; now show unicode-status (the negative one then): -->
This template accepts the four-letter code and generates a 5-column wikitable row like
+
{{!}} colspan="3" style="margin: 0; text-indent: -1em; padding-left: 1em;" {{!}} <span style="visibility: hidden; ">ZZ</span>&mdash; {{{unicode-status|}}}<!-- cell format: indent text and add "ZZ" prefix to sort after regular A-Z Aliases. -->
 
+
}}<!-- if-else: end -->
<code><nowiki>
+
| <!-- note -->{{{note|}}}<!--
| Arab || 160 || [[{{ISO 15924/wp-name|Arab}}|Arabic]] || Arabic || R-to-L
+
--><noinclude>
</nowiki></code>
+
|}
 
+
{{documentation}}</noinclude>
to be used in a wikitable.}}
 
</noinclude>
 

Revision as of 20:45, 3 February 2021

|- | | | [[Writing system|]] | | colspan="3" style="margin: 0; text-indent: -1em; padding-left: 1em;" | ZZ— | |}

50px Template documentation[view] [edit] [history] [purge]

Usage

This template accepts the four-letter code and generates a 5-column wikitable row like

| Arab || 160 || [[{{ISO 15924/wp-name|Arab}}|Arabic]] || Arabic || R-to-L

to be used in a wikitable.