Difference between revisions of "Template:Chset-legend"
Jump to navigation
Jump to search
Template documentation
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.) |
imported>DOSGuy (Color for number is too similar to the one for undefined. New color removes ambiguity and fits well with the other colors: pink (light red) with the light blue, light green, and light orange. WP:BOLD) |
||
| Line 1: | Line 1: | ||
| − | {{legend inline||Letter}} {{legend inline|# | + | {{legend inline||Letter}} {{legend inline|#FFE7E7|Number}} {{legend inline|#DFF7FF|Punctuation}} {{legend inline|#FFEFAF|Symbol}} {{legend inline|#ccff99|[[unicode character property#General Category|Other]]}}{{#ifeq:{{yesno-no|{{{show-esc|}}}}}|yes| {{legend inline|#D7E0FF|Lead byte}}|}} {{legend inline|#D0D0D0|Undefined}}{{#if:{{{graybox|}}}| {{legend inline||border=medium solid gray|{{{graybox}}} }}|}}{{#if:{{{greenbox|}}}| {{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 00:19, 2 March 2020
Letter Number Punctuation Symbol Other Undefined
This template renders a color legend for character set tables. To render actual colored cells, use templates from Category:Character set table templates.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |