How to color format individual cells in a table?

+4 votes
224 views

I'm creating a table of yDNA data and would like to color red, those columns for Faster Changing STR Marker as described at https://www.familytreedna.com/learn/project-administration/gap-reference/colors-y-dna-results-chart-heading/

What is the syntax?  I tried:

 || color=red | valueHere ||

But it had no effect.

WikiTree profile: William Thorp
in WikiTree Tech by William Foster G2G6 Pilot (106k points)
Sienna might also work :)

3 Answers

+2 votes
 
Best answer

MediaWiki supports

... || bgcolor=red | cell-text || ...

Pale colours preferred.

To change the text color, use WikiTree's own template, created by Rob Ton I think

{{Red|text}}

Red Green and Blue are available.

 

by Anonymous Horace G2G6 Pilot (568k points)
selected by William Foster
+2 votes
I found one solution, also adding bold, surround the cell text with a font directive:

'''<font color="DarkRed">385b</font>'''
by William Foster G2G6 Pilot (106k points)
+2 votes
There is no Wikitree "recommended" way to color a box, column or row in a Wikitree table.
by Anne B G2G Astronaut (1.2m points)

Related questions

+11 votes
3 answers
306 views asked Jun 28, 2014 in WikiTree Tech by Jillaine Smith G2G6 Pilot (779k points)
+3 votes
2 answers
+6 votes
2 answers
+3 votes
1 answer
77 views asked Jul 21 in WikiTree Help by Helen Baldwin G2G Rookie (220 points)
+3 votes
4 answers
+5 votes
3 answers
133 views asked Jul 2, 2020 in WikiTree Tech by Susette Horspool G2G3 (3.3k points)
0 votes
1 answer
85 views asked Jun 8, 2020 in WikiTree Tech by Richard Sayle G2G6 Mach 1 (10.4k points)
+15 votes
2 answers
128 views asked Apr 3, 2020 in Appreciation by Paula Reinke G2G6 Mach 8 (89.8k points)
+1 vote
0 answers
+57 votes
12 answers

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...