“Template:Span/color”的版本间的差异

 
第1行: 第1行:
 
{{#switch: {{{1|}}}
 
{{#switch: {{{1|}}}
|accent = <hspan class="textAccent">{{{2|}}}</hspan>
+
|accent = <span class{{=}}"textAccent">{{{2|}}}</span>
|red = <hspan class="textRed">{{{2|}}}</hspan>
+
|red = <span class{{=}}"textRed">{{{2|}}}</span>
 
|orange
 
|orange
|amber = <hspan class="textAmber">{{{2|}}}</hspan>
+
|amber = <span class{{=}}"textAmber">{{{2|}}}</span>
 
|green
 
|green
|lime = <hspan class="textLime">{{{2|}}}</hspan>
+
|lime = <span class{{=}}"textLime">{{{2|}}}</span>
|blue = <hspan class="textBlue">{{{2|}}}</hspan>
+
|blue = <span class{{=}}"textBlue">{{{2|}}}</span>
|copper = <hspan class="textCopper">{{{2|}}}</hspan>
+
|copper = <span class{{=}}"textCopper">{{{2|}}}</span>
|violet = <hspan class="textViolet">{{{2|}}}</hspan>
+
|violet = <span class{{=}}"textViolet">{{{2|}}}</span>
|indigo = <hspan class="textIndigo">{{{2|}}}</hspan>
+
|indigo = <span class{{=}}"textIndigo">{{{2|}}}</span>
|graphite = <hspan class="textGraphite">{{{2|}}}</hspan>
+
|graphite = <span class{{=}}"textGraphite">{{{2|}}}</span>
|#default = <hspan style="color: {{{1|}}};" class="darkInvertBrightness">{{{2|}}}</hspan>
+
|#default = <span style{{=}}"color: {{{1|}}};" class{{=}}"darkInvertBrightness">{{{2|}}}</span>
 
}}
 
}}

2020年8月2日 (日) 12:19的最新版本