Hey guys, Kuro here! Now, since you already have a good grasp of the basic tables, we will pratice a bit. And here, you will see why most authors think that tables are extremely annoying to make. Let's try... a status table. A basic one with four stats, hp and mp, as well name and level. Lt's make it very basic.
Let's see............ let's make eight colums, with a td to "define" the number of units per row.
(table)(tr)(td8)Status(/td8)(/tr)
Great. Now, we have the base and the first row made. Now, the name of the character, dividing it in two units. Liek this:
(table)(tr)(td8)Status(/td8)(/tr)
(tr)(td4)Name: (/td4)(td4)Kuromori(/td4)(/tr)
Done. Now, I want to make the hp and mp and it's values in one row, each in their own unit. So, I'll make the code like this:
(table)(tr)(td8)Status(/td8)(/tr)
(tr)(td4)Name: (/td4)(td4)Kuromori(/td4)(/tr)
(tr)(td2)HP: (/td2)(td2)100(/td2)(td2)MP: (/td2)(td2)100(/td2)(/tr)
This content has been misappropriated from Royal Road; report any instances of this story if found elsewhere.
Great. double check so that there isn't any mistake...... yeah, no mistake yet. Ok. No, a simple thing, the level split in two units. Let's go!
(table)(tr)(td8)Status(/td8)(/tr)
(tr)(td4)Name: (/td4)(td4)Kuromori(/td4)(/tr)
(tr)(td2)HP: (/td2)(td2)100(/td2)(td2)MP: (/td2)(td2)100(/td2)(/tr)
(tr)(td4)level: (/td4)(td4)1(/td4)(/tr)
Good! Now, the stats. I will need two units for each stat, since I will need the name of the stat and the numeric value of it. Leeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeet's go.
(table)(tr)(td8)Status(/td8)(/tr)
(tr)(td4)Name: (/td4)(td4)Kuromori(/td4)(/tr)
(tr)(td2)HP: (/td2)(td2)100(/td2)(td2)MP: (/td2)(td2)100(/td2)(/tr)
(tr)(td4)level: (/td4)(td4)1(/td4)(/tr)
(tr)(td2)Str(/td2)(td2)10(/td2)(td2)DEX(/td2)(td2)10(/td2)(/tr)
(tr)(td2)VIT(/td2)(td2)10(/td2)(td2)INT(/td2)(td2)10(/td2)(/tr)(/table)
Done! Quite a long process, right? it's always important to pay attention to waht you done, and if you are going to do a line that repeats itself, just copy/paste it to cut the process short.
For exemple, the hp and mp lines have the same size as the stat lines, so I cpy/paste them and changed the text inside the td command.
Anyway, let's take a look at the final result:
Done! Perfect! Always remeber to check for errors before posting the chapter, ok? It's better then posting wrong and later noticing the error and have to go and correct it.
Next post, a post about windows and the command (a)!