Template:ColorRow: Difference between revisions
Jump to navigation
Jump to search
add ability to color the text |
The colors are hidden by H3CSS... Unless using !important. Yes, I know it's frowned upon; but here it's actually... important. |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
| | | style="background-color:#{{{{{1|}}}}}!important;" | <span style="color:{{{2|}}};">{{tl|{{{1|}}}|{{{2|}}}}} {{{{{1|}}}}}</span> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Example == | == Example == | ||
Line 7: | Line 7: | ||
! Green: Heroes | ! Green: Heroes | ||
{{ColorRow|Green 1|white}} | {{ColorRow|Green 1|white}} | ||
{{ColorRow|Green 1b|white}} | |||
{{ColorRow|Green 2}} | {{ColorRow|Green 2}} | ||
{{ColorRow|Green 3}} | {{ColorRow|Green 3}} | ||
{{ColorRow|Green 4}} | {{ColorRow|Green 4}} |