Template:Unicode chart/doc: Difference between revisions

Content deleted Content added
Usage: crazy
No edit summary
Line 1:
{{Documentation subpage}}
{{lua|Module:Unicode chartdata}}
:{{red|Under construction. Not fit for mainspace. 01 Oct 2022}}
{{Uses TemplateStyles|Template:Unicode chart/styles.css|Template:Unicode chart/script styles.css}}
== Usage ==
<pre>
{{Unicode chart
| block -name =
| link_block block-status =
| display_blockblock-range =
| state chart-id =
| chart-contentpage
| range =
| link unicode-version =
| fn1=
| link_NNNx =
| fn2=
| link_NNNN =
 
| notes =
| info =
| fonts =
}}
</pre>
 
=== Parameters =Related==
* {{t links|Unicode chart/footer}}
; {{para|block}}
 
: Actual name of the Unicode block, e.g. ''Unified Canadian Aboriginal Syllabics Extended''. Must match one of [[Module:Unicode data/blocks]]. This affects what codepoint range is selected by default.
* {{clc|Unicode charts|pages}}
; {{para|link_block}}
: {{clc|Category:Unicode blocks|pages}}
: Title of Wikipedia's article about said block, defaults to ''&#x7B;&#x7B;&#x7B;block&#x7D;&#x7D;&#x7D; (Unicode block)'', which should always exist as a redirect if not correct.
 
; {{para|display_block}}
===taskforce [[WP:Unicode]]===
: Displayed title of said block, defaults to actual block name.
*{{clc|
; {{para|state}}
== Parameters ==
: Options include ''expanded'', ''collapsed'', etc. see [[Template:Navbox/doc#Parameter list]].
; {{para|range}}
: Range(s) of codepoints to display, if not the entire block. e.g. ''0041–005A, 0061–007A'' for Basic Latin capital and lowercase letters only.
; {{para|link}}
; {{para|link_NNNx}}
; {{para|link_NNNN}}
: Specifies (for the entire chart, or for a row of codepoints NNNx, or for an individual codepoint NNNN) a linking option for each character. Options include ''yes'', ''no'', ''wikt''. Default is ''no''. Every parameter of this type is disregarded when ''info''=''yes''.
; {{para|notes}}
: Specifies additional footnotes to appear at the bottom. Any text outside a &lt;ref&gt; tag is an error.
; {{para|info}}
: Whether to include (highly experimental) info panel feature. Options include ''yes'', ''no''. Causes all ''link'' parameter input to be disregarded.
; {{para|fonts}}
: Whether to use font-family CSS selected from [[Template:Unicode chart/script_styles.css|script_styles.css]] according to the [[ISO 15924]] code of the [[Script (Unicode)|script]] to which each printable character belongs. Default (and any value other than ''no'') is ''yes''.
 
<includeonly>{{Sandbox other||[[Category:Unicode templates]]}}</includeonly>