I wanted to snaz up a table on a page I edit regularly (for reference, Joint CAD Incident Tracking System - The RadioReference Wiki), and noticed that I can't format an entire table to one text color. Since I will be using alternating colors that are dark, the end result is that all text needs to be white.
So here's what I tested: I went to MediaWiki's help pages, and copy & pasted a table that's supposed to work:
...which should produce the result of...
...but instead on our wiki, produces....
In order to produce what I'm looking for, I have to go through and edit each individual cell, and while I'm not opposed to hard work (because it will look a LOT better after), I'm hoping for a solution that requires a lot less typing and formatting.
Here's an example of a few cells stylized to how I'd like it:
...and here's my code that got me there:
Is there a work-around to this problem, or am I stuck doing this manually?
Thanks for any and all help. I am by no means versed in Wiki Markup, so I may be missing something really obvious here.
So here's what I tested: I went to MediaWiki's help pages, and copy & pasted a table that's supposed to work:
Code:
{| class="wikitable" style="text-align: center; color: green;"
|Orange
|Apple
|12,333.00
|-
|Bread
|Pie
|500.00
|-
|Butter
|Ice cream
|1.00
|}
...which should produce the result of...
...but instead on our wiki, produces....
In order to produce what I'm looking for, I have to go through and edit each individual cell, and while I'm not opposed to hard work (because it will look a LOT better after), I'm hoping for a solution that requires a lot less typing and formatting.
Here's an example of a few cells stylized to how I'd like it:
...and here's my code that got me there:
Code:
====Washington County====
{| border="2" cellpadding="3" cellspacing="0"
|-
! align="center" style="background: #8B0000; color:white"| Unit ID
! align="center" style="background: #8B0000; color:white"| Description
! align="center" style="background: #8B0000; color:white"| Notes
|- style="background: #666666"
! align="center" style="color:white" | 1T
! align="center" style="color:white" | Hillsboro Air Tower
| style="color:white" | Used during aircraft emergencies
|- style="background: #777777"
! align="center" style="color:white" | 911OPS
! align="center" style="color:white" | 3rd Alarm Admin Notification
| style="color:white" | Used rarely
|- style="background: #666666"
! align="center" style="color:white" | AIR
! align="center" style="color:white" | Air Trailer
| style="color:white" | AIR333 out of Sherwood is the only known unit
|- style="background: #777777"
! align="center" style="color:white" | ALM / ALARM
! align="center" style="color:white" | Alarm Designator
| style="color:white" | Designates what alarm level the current incident is at (1ALM, 2ALM, etc); one or two letters after ALM will indicate which department (V=TVFR, FG=Forest Grove, etc) – Note that medical calls can have multiple alarms and are designated with an extra M (2ALMM)
|}
Is there a work-around to this problem, or am I stuck doing this manually?
Thanks for any and all help. I am by no means versed in Wiki Markup, so I may be missing something really obvious here.