Difference between revisions of "Template:Braille cell/main2singlecell"
Jump to navigation
Jump to search
imported>Vanisaac (enabling substitution) |
imported>Equazcion |
||
| Line 1: | Line 1: | ||
| − | <!--{{ | + | <!--{{#iferror:{{#expr:{{{dot-id|}}}}} ----- This error check interferes with 1829 braille codes ----- |
| − | | {{ | + | | {{error|Error within {{tlx|Braille cell}} (multicell): incorrect definition "... {{{dot-id|}}}" in the {{yesno|{{{is dot-id3&4|no}}}|yes=/main dot-id3&4=... list|no=list}}.|tag=span}}{{main other|[[Category:Unsupported braille input{{!}}Multicell, {{FULLPAGENAME}}]]}} |
| − | |-->{{ | + | |-->{{braille cell/core |
| dot-id = {{{dot-id|}}} | | dot-id = {{{dot-id|}}} | ||
| type = {{{type|}}} | | type = {{{type|}}} | ||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| − | | character = {{ | + | | character = {{braille cell/dot-id2character|dot-id={{{dot-id|}}}}} |
| − | | character name = braille pattern {{ | + | | character name = braille pattern {{#switch:{{{dot-id|1}}} |
|0=blank | |0=blank | ||
|900 = | |900 = | ||
|901 = dot numbers | |901 = dot numbers | ||
|#default=dots-{{{dot-id|}}}}} | |#default=dots-{{{dot-id|}}}}} | ||
| − | | caption = {{ | + | | caption = {{#ifeq:{{{dot-id|0}}}|900|no-caption |
| − | |{{ | + | |{{#switch:{{{caption|}}} |
| = no-caption | | = no-caption | ||
| no-caption | alt-for-caption = {{{caption|}}} | | no-caption | alt-for-caption = {{{caption|}}} | ||
| #default = {{{caption|}}} = }}}} | | #default = {{{caption|}}} = }}}} | ||
| bg = {{{bg|}}} | | bg = {{{bg|}}} | ||
| − | | unicode-id = {{ | + | | unicode-id = {{#switch:{{{caption|}}} |
|| no-caption | alt-for-caption = | || no-caption | alt-for-caption = | ||
| − | | #default = {{ | + | | #default = {{braille cell/dot-id2unicode-id|dot-id={{{dot-id|}}} }}}} |
<!--}} | <!--}} | ||
-->}} | -->}} | ||