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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(back to ec live again; rm /sandbox.)
imported>DePiep
Line 1: Line 1:
 
{{#switch:{{{attr|}}}
 
{{#switch:{{{attr|}}}
 
| border={{legend inline|1=#eee |border={{Element color|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|{{{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|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;{{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;{{purple|({{lc:{{#invoke:String|replace|source=
 
{{#invoke:String|replace|source={{{1|}}}|pattern=%s|plain=false}}
 
{{#invoke:String|replace|source={{{1|}}}|pattern=%s|plain=false}}
 
|pattern=s$|replace=_|plain=false}}}})}}&nbsp;{{#if:{{{note|}}}|Note: {{{note}}}}}
 
|pattern=s$|replace=_|plain=false}}}})}}&nbsp;{{#if:{{{note|}}}|Note: {{{note}}}}}

Revision as of 21:58, 8 November 2014

   (no parameter 1 input) → transparent Template:Purple