Template:Unicode chart/doc

This is an old revision of this page, as edited by Cobaltcigs (talk | contribs) at 08:49, 17 September 2019 (usage info which may or may not change by the time anyone reads it). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{unicode_chart
| block
| 1
=
=
<!-- 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. -->
| link_block = <!-- title of Wikipedia's article about said block, defaults to {{{block}}} (Unicode block), which should always exist as a redirect if not correct. -->
| display_block = <!-- displayed title of said block, defaults to actual block name. -->
| state = <!-- options include expanded, collapsed, etc. see Template:Navbox/doc#Parameter list -->
| 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. -->
| link
| link_NNNx
| 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, ifexist, wikt. Default is no. Every parameter of this type is disregarded when info=yes. -->
| display
| display_NNNx
| display_NNNN
=
=
=
<!-- Similarly to above, specifies display text for codepoint. Default is the character itself. -->
| box
| box_NNNx
| box_NNNN
=
=
=
<!-- Similarly to above, specifies whether to draw a dashed box around the character's display text. Options are yes, no. -->
| notes = <!-- Specifies additional footnotes to appear at the bottom. Any text outside a <ref> tag is an error. -->
| pdf = <!-- Specifies a url for "Official Unicode Consortium code chart". Defaults to https://www.unicode.org/charts/PDF/{Unnnn}.pdf where {Unnnn} is the first codepoint of the default range of the specified block name (please notify talk page if this default is wrong and you actually need to specify anything here). -->
| info = <!-- whether to include (highly experimental) info panel feature. Options include yes, no. Causes all link parameter input to be disregarded. -->
}}