Template talk:Character Stats

From PSU Cyril Wiki
Jump to: navigation, search

Template creation

Here you go. I've created a simple table with the stats you have listed. By using the following template markup,

{{Character Stats
|Name= 
|HP= 
|ATP= 
|ATA= 
|TP= 
|DFP= 
|EVP= 
|MST= 
|STA= }}

you can fill in data for one character which will appear in the table when the page is saved or previewed. Take a look at the template in edit mode to see what I was talking about with the triple bracket parameter things. Whenever something is encased in three brackets like that, it creates a template parameter that goes by the name of whatever is in those brackets (in this case, excluding the vertical pipe after each name, but I can get into that later). So, if I added a parameter (and the necessary cells and columns) to the table and template code called {{{Race|}}}, I would add |Race= to what is typed out in {{Character Stats}} to include that data in the table. - EspioKaos 14:31, 25 August 2008 (CDT)