Template talk:Infobox main/Infobox Question/reply
Jump to navigation
Jump to search
Hi there,
The infobox only shows stuff that's defined. It's a little annoying, but it can save you a lot of time, automatically give you units, and include links.
Here's an example:
{{#if: {{{hp|}}}| ;HP :{{{hp|}}}}}
Usage in an infobox:
|hp = 50
What it looks like:
HP | 50
So to add something like the walkspeed attribute listed there, add something like this to the Infobox:
{{#if: {{{walkspeed|}}}| ;Walk Speed :{{{walkspeed|}}}}}
Feel free to ask more questions if you don't understand. Oh, and if you do add to the Infobox page, then please add what you added to the documentation. A short like like this:
|hp = use for health/strength
Is very helpful to others when they're trying to figure out the infoboxes. They're a little convoluted, but they work well.