Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Color: Difference between revisions

Template page
No edit summary
m +font-weight
 
(35 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{{#ifeq:{{{1}}}|white|<span style="border:#000 solid 1px;padding:0;color:{{{1}}}">{{{2}}}</span>|<span style="color:{{{1}}}">{{{2}}}</span>}}<noinclude>
<span style="background:{{{bg|{{{3|transparent}}}}}};{{#invoke:String|replace|color:{{#switch:{{{1}}}|b=#000|w=#FFF|=red|{{{1}}}}};font-weight:{{{bold|{{{b|{{#switch:{{{6}}}|b=7|bold=9|4}}00}}}}}};{{{style|{{{css|{{{5|}}}}}}}}}|[
----
]||plain=false}}" title="{{{title|{{{bg|{{{4|transparent}}}}}}}}}">{{{2|{{0|!}}}}}</span><noinclude>
'''Usage:''' <nowiki>{{</nowiki>color|''color''|''text''}}
{{documentation}}
 
'''Examples:'''
* <nowiki>{{</nowiki>color|red|example text}} → {{color|red|example text}}
* <nowiki>{{</nowiki>color|#0000FF|example text}} → {{color|#0000FF|example text}}
 
For colors see [[w:web colors]].
 
 
[[af:Sjabloon:Kleur]]
[[en:Template:Color]]
[[fr:Modèle:Coloré]]
[[ja:Template:Color]]
[[sl:Predloga:Barva]]
[[zh-yue:Template:Color]]
 
[[Category:Text formatting templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.