Difference between revisions of "Template:Braille cell/main2singlecell"
Jump to navigation
Jump to search
imported>DePiep (caption here, once) |
imported>Equazcion |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#iferror:{{#expr:{{{dot-id|}}}}} | + | <!--{{#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 = {{braille cell/dot-id2character | + | | character = {{braille cell/dot-id2character|dot-id={{{dot-id|}}}}} |
| character name = braille pattern {{#switch:{{{dot-id|1}}} | | character name = braille pattern {{#switch:{{{dot-id|1}}} | ||
|0=blank | |0=blank | ||
| Line 11: | Line 11: | ||
|901 = dot numbers | |901 = dot numbers | ||
|#default=dots-{{{dot-id|}}}}} | |#default=dots-{{{dot-id|}}}}} | ||
| − | | caption = {{#switch:{{{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 = | + | | #default = {{{caption|}}} = }}}} |
| bg = {{{bg|}}} | | bg = {{{bg|}}} | ||
| unicode-id = {{#switch:{{{caption|}}} | | unicode-id = {{#switch:{{{caption|}}} | ||
|| no-caption | alt-for-caption = | || no-caption | alt-for-caption = | ||
| #default = {{braille cell/dot-id2unicode-id|dot-id={{{dot-id|}}} }}}} | | #default = {{braille cell/dot-id2unicode-id|dot-id={{{dot-id|}}} }}}} | ||
| − | + | <!--}} | |
-->}} | -->}} | ||