OK, I've attached a spreadsheet taken from my current master for the Forge of Empires.
It has three major section moving left to right.
The first is the list of my stat names. If I want to use some vBulletin code for that line, I can place it to the left.
The middle section are the stat values that I've carried from the lines further down the sheet. All those lines and caluclations have been deleted from thois sheet, so you just see number or text. Typically a cell would read "=b54" or something.
The right most section is where the stats are "prepared" for cutting and pasting into the forum. Each row has formulas that pull data from the cells to the left and groups it how I want and adds elements or spaces as needed to produce the final results. I have cut and pasted this section into this post so you can see exactly how the code translates into the post. The color or bolding could be added anywhere. Notice that the 59% is the only bolded part of that line.
Mayans/Birdjaguar
Ruler/Heir: Bird Jaguar/Smoke Monkey
Leadership/Stability/Culture: 1/1/ 6
Available Spending: Economy/Treasury: 1/7
Population/Area/Diversity: 2/1/2
Domestic Economy/Trade/National Upkeep: 3/3/0 Growing
Confidence/Corruption: 59%/36%
EC/TC/RC: 1/1/1
Maps & Charts: None
Religion/Fanaticism Level: Pagan: 2 / 1
Significant natural resources: 0 (none)
Policies Permitted: 1
Indexed Army/Navy Value: 8/6.6
UU: Honkers/Triremes
Army: 1000-I, 500-M, no -aUU (1600-max)
Navy: 10-W, 0-T, 50-nUU
Projects:
Army Costs: 1 EP buys: 1000-I, 200-M, 200-aUU
Navy Costs: 1 EP buys: 10-W, 5-T, 10-nUU
Technology: Minimally trained, lightly armored spearmen and archers; Copper Age weapons; Ships do not sail out of sight of land.
Let me know if you don't understand any of the formulas.