Difference between revisions of "Template:Braille cell/main2singlecell"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
(get rid of extra pipes and braces)
imported>Vanisaac
(enabling substitution)
Line 1: Line 1:
<!--{{#iferror:{{#expr:{{{dot-id|}}}}}    ----- This error check interferes with 1829 braille codes -----
+
<!--{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#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}}]]}}
+
| {{{{{|safesubst:}}}error|Error within {{tlx|Braille cell}} (multicell): incorrect definition "... {{{dot-id|}}}" in the {{{{{|safesubst:}}}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
+
   |-->{{{{{|safesubst:}}}braille cell/core
 
  | dot-id = {{{dot-id|}}}
 
  | dot-id = {{{dot-id|}}}
 
  | type = {{{type|}}}
 
  | type = {{{type|}}}
 
  | size = {{{size|}}}
 
  | size = {{{size|}}}
  | character = {{braille cell/dot-id2character|dot-id={{{dot-id|}}}}}
+
  | character = {{{{{|safesubst:}}}braille cell/dot-id2character|dot-id={{{dot-id|}}}}}
  | character name = braille pattern {{#switch:{{{dot-id|1}}}
+
  | character name = braille pattern {{{{{|safesubst:}}}#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 = {{#ifeq:{{{dot-id|0}}}|900|no-caption
+
  | caption = {{{{{|safesubst:}}}#ifeq:{{{dot-id|0}}}|900|no-caption
     |{{#switch:{{{caption|}}}
+
     |{{{{{|safesubst:}}}#switch:{{{caption|}}}
 
     | = no-caption
 
     | = no-caption
 
     | no-caption | alt-for-caption = {{{caption|}}}
 
     | no-caption | alt-for-caption = {{{caption|}}}
 
     | #default = {{{caption|}}}&#x20;=&#x20;}}}}
 
     | #default = {{{caption|}}}&#x20;=&#x20;}}}}
 
  | bg = {{{bg|}}}
 
  | bg = {{{bg|}}}
  | unicode-id = {{#switch:{{{caption|}}}
+
  | unicode-id = {{{{{|safesubst:}}}#switch:{{{caption|}}}
 
     || no-caption | alt-for-caption =  
 
     || no-caption | alt-for-caption =  
     | #default = {{braille cell/dot-id2unicode-id|dot-id={{{dot-id|}}} }}}}
+
     | #default = {{{{{|safesubst:}}}braille cell/dot-id2unicode-id|dot-id={{{dot-id|}}} }}}}
 
<!--}}
 
<!--}}
 
-->}}
 
-->}}

Revision as of 11:55, 12 November 2013