How to color format individual cells in a table?

+4 votes
415 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 (124k 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 Living Horace G2G6 Pilot (649k 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 (124k 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.3m points)

Related questions

+11 votes
4 answers
+16 votes
3 answers
723 views asked Jun 28, 2014 in WikiTree Tech by Jillaine Smith G2G6 Pilot (934k points)
+4 votes
2 answers
136 views asked Dec 31, 2023 in WikiTree Help by Gail Fleischaker G2G6 (7.1k points)
+3 votes
4 answers
165 views asked Mar 27 in WikiTree Help by Jerry Regan G2G6 Mach 1 (10.5k points)
+7 votes
2 answers
+13 votes
2 answers
+8 votes
1 answer

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

disclaimer - terms - copyright

...