Board Thread:Support Requests - Getting Technical/@comment-44816-20141231214250

Okay, here is what I am trying to do:

There will be a series of pages with infoboxes, like this: http://gerontology.wikia.com/wiki/User:AMK152/test3

Within that infobox is a field. You simply enter the name of the person:

This is the infobox: http://gerontology.wikia.com/wiki/Template:Infobox_person

Now, the name "Jiroemon Kimura" is what will be different in each template. The person's name will gather data about them. In this case, the "status" field generates data from the "deceased-verified" template: http://gerontology.wikia.com/wiki/Template:Deceased-verified If I put "status=deceased-pending" it would generate data from that template, which I have yet to create.

So now, data can be entered onto "Template:Deceased-verified" to be generated on an infobox. All we need is the name and the rest of the data is generated.

However, what I am trying to do is add a colored row at the bottom of the infobox. It will display the status (verified or pending)

I have created this template: http://gerontology.wikia.com/wiki/Template:Status the code being:

When a person puts in the "status" as "deceased-verified" it should generate "Verified" in the BOTTOM part of the Infobox template. I want there to be a different color generated for verified and a different color for pending. See the bottom of my infobox here: http://gerontology.wikia.com/wiki/Template:Infobox_person You will notice the following: I am trying to generate the status (verified or pending) based on whatever is input (deceased-verified, deceased-pending, living-verified, living-pending) AND I want to be able to change the color, so that it is not just "#E0E0E0" - the color would depend on whether the output is "verified" or "pending."
 * style="; background: #E0E0E0; font-size: 110%;" align="center" colspan="2" | 
 * style="; background: #E0E0E0; font-size: 110%;" align="center" colspan="2" | 

I hope this makes sense. Thanks for any help! 