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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(Recategorize deprecated templates using AWB)
imported>DePiep
(rn purple debug-info)
 
Line 2: Line 2:
 
| 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;{{#if:{{{note|}}}|Note: {{{note}}}}}<noinclude>
{{#invoke:String|replace|source={{{1|}}}|pattern=%s|plain=false}}
 
|pattern=s$|replace=_|plain=false}}}})}}&nbsp;{{#if:{{{note|}}}|Note: {{{note}}}}}<noinclude>
 
 
[[Category:Periodic table style and format templates|{{SUBPAGENAME}}]]
 
[[Category:Periodic table style and format templates|{{SUBPAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:13, 5 January 2015

   (no parameter 1 input) → transparent