Difference between revisions of "Template:Element color/example"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
(rn purple debug-info)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#switch:{{{attr|}}}
 
{{#switch:{{{attr|}}}
| border={{legend inline|1=#eee |border={{Element color/sandbox|1={{{1|none}}} |addcat=no}} }}
+
| border={{legend inline|1=#eee |border={{Element color|1={{{1|none}}} |addcat=no}} }}
| color={{legend inline|1=#eee |textcolor={{Element color/sandbox|{{{1|black}}} |addcat=no}} |text=A }}
+
| color={{legend inline|1=#eee |textcolor={{Element color|{{{1|black}}} |addcat=no}} |text=A }}
| #default={{legend inline|{{Element color/sandbox|1={{{1|white}}} |addcat=no}}}}}}&nbsp;{{code|{{{1|(no parameter 1 input)}}}}} &rarr;&nbsp;<code>{{Element color/sandbox|1={{{1|(no input)}}} |addcat=no}}</code>&nbsp;{{purple|({{lc:{{#invoke:String|replace|source=
+
| #default={{legend inline|{{Element color|1={{{1|white}}} |addcat=no}}}}}}&nbsp;{{code|{{{1|(no parameter 1 input)}}}}} &rarr;&nbsp;<code>{{Element color|1={{{1|(no input)}}} |addcat=no}}</code>&nbsp;{{#if:{{{note|}}}|Note: {{{note}}}}}<noinclude>
{{#invoke:String|replace|source={{{1|}}}|pattern=%s|plain=false}}
+
[[Category:Periodic table style and format templates|{{SUBPAGENAME}}]]
|pattern=s$|replace=_|plain=false}}}})}}&nbsp;{{#if:{{{note|}}}|Note: {{{note}}}}}
+
</noinclude>

Latest revision as of 23:13, 5 January 2015

   (no parameter 1 input) → transparent