Revision as of 21:28, 9 December 2024 view sourceMatrix (talk | contribs)Extended confirmed users, Rollbackers, Template editors5,452 edits add default bg on braille images for dark mode, since all svgs are transparent anywayTag: Reverted← Previous edit |
Revision as of 21:29, 9 December 2024 view source Matrix (talk | contribs)Extended confirmed users, Rollbackers, Template editors5,452 edits Undid revision 1262146371 by Matrix (talk) not working as expectedTag: UndoNext edit → |
Line 2: |
Line 2: |
|
| textlink | text = <span class="brai_cell" title="{{#ifeq:{{{caption|}}} | no-caption || {{#ifeq:{{{caption|}}} | alt-for-caption || {{{caption|}}}}}{{{character|}}} ({{{character name|}}})}} {{{unicode-id|}}}" style="background:{{#ifeq:{{{dot-id|0}}}|900|transparent|{{#if:{{{bg|}}}|{{{bg|}}}|#eaecf0}}}}; {{#if:{{{size|}}}|font-size:{{{size|}}};}}<!-- blank to default, set here -->">{{#ifeq:{{{type|}}}|textlink|]|{{{character|}}}}}</span> |
|
| textlink | text = <span class="brai_cell" title="{{#ifeq:{{{caption|}}} | no-caption || {{#ifeq:{{{caption|}}} | alt-for-caption || {{{caption|}}}}}{{{character|}}} ({{{character name|}}})}} {{{unicode-id|}}}" style="background:{{#ifeq:{{{dot-id|0}}}|900|transparent|{{#if:{{{bg|}}}|{{{bg|}}}|#eaecf0}}}}; {{#if:{{{size|}}}|font-size:{{{size|}}};}}<!-- blank to default, set here -->">{{#ifeq:{{{type|}}}|textlink|]|{{{character|}}}}}</span> |
|
| link = {{#if:{{{dot-id|}}}|{{braille cell/dot-id2article|{{{dot-id|}}}}}}} |
|
| link = {{#if:{{{dot-id|}}}|{{braille cell/dot-id2article|{{{dot-id|}}}}}}} |
|
| #default = {{#if:{{{dot-id|}}}|<span class="brai_image" style="background:{{#if:{{{bg|}}}|{{{bg|}}}|#eaecf0}};"><!-- |
|
| #default = {{#if:{{{dot-id|}}}|<!-- |
|
-->[[File:{{braille cell/dot-id2filename|dot-id={{{dot-id|}}}|type={{{type|}}}}}<!-- |
|
-->[[File:{{braille cell/dot-id2filename|dot-id={{{dot-id|}}}|type={{{type|}}}}}<!-- |
|
-->|{{#if:{{{size|}}}|{{{size|}}}|40px}}<!-- blank to default (40px), set here |
|
-->|{{#if:{{{size|}}}|{{{size|}}}|40px}}<!-- blank to default (40px), set here |
|
-->|alt={{{character|}}} ({{{character name|}}}) <!-- |
|
-->|alt={{{character|}}} ({{{character name|}}}) <!-- |
|
-->{{#switch:{{{caption|}}}|no-caption=| alt-for-caption = {{!}} | #default = {{!}}{{{caption|}}} }}{{{character|}}} ({{{character name|}}}){{#switch:{{{caption|}}}|no-caption|alt-for-caption =| #default= {{{unicode-id|}}}}}<!-- |
|
-->{{#switch:{{{caption|}}}|no-caption=| alt-for-caption = {{!}} | #default = {{!}}{{{caption|}}} }}{{{character|}}} ({{{character name|}}}){{#switch:{{{caption|}}}|no-caption|alt-for-caption =| #default= {{{unicode-id|}}}}}<!-- |
|
-->]]</span>}}}} |
|
-->]]}}}} |