Difference between revisions of "Template:Chset-legend"

From blackwiki
Jump to navigation Jump to search
imported>HarJIT
(show-esc parameter for showing the Template:Chset-color-esc (lead byte) colour — it would just be confusing if it were showed next to a single-byte code chart.)
imported>HarJIT
(Using nbsp in this template prevents line wrap between labels and the next example box, but it's still permitted between an example box and its own label, hmmm… . Using emsp gives a wider space anyway, making it more ergonomic to spot which box goes with which label.)
Line 1: Line 1:
{{legend inline||Letter}}&nbsp;{{legend inline|#F7E7FF|Number}}&nbsp;{{legend inline|#DFF7FF|Punctuation}}&nbsp;{{legend inline|#FFEFAF|Symbol}}&nbsp;{{legend inline|#ccff99|[[unicode character property#General Category|Other]]}}{{#ifeq:{{yesno-no|{{{show-esc|}}}}}|yes|&nbsp;{{legend inline|#D7E0FF|Lead byte}}|}}&nbsp;{{legend inline|#D0D0D0|undefined}}{{#if:{{{graybox|}}}|&nbsp;{{legend inline||border=medium solid gray|{{{graybox}}} }}|}}{{#if:{{{greenbox|}}}|&nbsp;{{legend inline||border=medium solid green|{{{greenbox}}} }}|}}<noinclude>{{Documentation|content=
+
{{legend inline||Letter}}&emsp;{{legend inline|#F7E7FF|Number}}&emsp;{{legend inline|#DFF7FF|Punctuation}}&emsp;{{legend inline|#FFEFAF|Symbol}}&emsp;{{legend inline|#ccff99|[[unicode character property#General Category|Other]]}}{{#ifeq:{{yesno-no|{{{show-esc|}}}}}|yes|&emsp;{{legend inline|#D7E0FF|Lead byte}}|}}&emsp;{{legend inline|#D0D0D0|Undefined}}{{#if:{{{graybox|}}}|&emsp;{{legend inline||border=medium solid gray|{{{graybox}}} }}|}}{{#if:{{{greenbox|}}}|&emsp;{{legend inline||border=medium solid green|{{{greenbox}}} }}|}}<noinclude>{{Documentation|content=
 
This template renders a color legend for character set tables. To render actual colored cells, use templates from [[:Category:Character set table templates]].
 
This template renders a color legend for character set tables. To render actual colored cells, use templates from [[:Category:Character set table templates]].
  

Revision as of 07:14, 12 August 2019

  Letter  Number  Punctuation  Symbol  Other  Undefined

Template documentation

This template renders a color legend for character set tables. To render actual colored cells, use templates from Category:Character set table templates.