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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 3: Line 3:
 
| color={{legend inline|1=#eee |textcolor={{Element color/sandbox|{{{1|black}}}  |addcat=no}} |text=A }}
 
| color={{legend inline|1=#eee |textcolor={{Element color/sandbox|{{{1|black}}}  |addcat=no}} |text=A }}
 
| #default={{legend inline|{{Element color/sandbox|1={{{1|white}}} |addcat=no}}}}}}&nbsp;{{code|{{{1|(no parameter 1 input)}}}}}&nbsp;&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/sandbox|1={{{1|white}}} |addcat=no}}}}}}&nbsp;{{code|{{{1|(no parameter 1 input)}}}}}&nbsp;&rarr;&nbsp;<code>{{Element color/sandbox|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 18:53, 8 November 2014

   (no parameter 1 input) → transparent (Template:Purple