Difference between revisions of "Template:Infobox main"
Jump to navigation
Jump to search
m |
m |
||
Line 10: | Line 10: | ||
;Placeable | ;Placeable | ||
:{{#if:{{{placeable|}}}|yes|no}} | :{{#if:{{{placeable|}}}|yes|no}} | ||
− | {{#if: {{{size|}}}| | + | {{#if: {{{size|}}}| ;Size |
− | + | :{{{size|}}} ˣ {{#if:{{{4}}}|{{{4}}}}}}} | |
− | + | {{#if: {{{hp|}}}|<dd>HP</dd><dt>{{{hp|}}}</dt>}} | |
− | {{#if: {{{hp|}}}| | ||
− | |||
− | |||
{{#if: {{{speed|}}}| | {{#if: {{{speed|}}}| | ||
− | + | ;Movement speed | |
− | + | :{{{speed|}}}%}} | |
{{#if: {{{time|}}}| | {{#if: {{{time|}}}| | ||
− | + | ;Time to grow | |
− | + | :{{{time|}}} day(s)}} | |
{{#if: {{{yield|}}}| | {{#if: {{{yield|}}}| | ||
− | + | ;Yield | |
− | + | :{{{yield|}}} [[food]]}} | |
{{#if: {{{power|}}}| | {{#if: {{{power|}}}| | ||
− | + | ;Power | |
− | + | :{{{power|}}}W}} | |
{{#if: {{{class|}}}| | {{#if: {{{class|}}}| | ||
− | + | ;Class | |
− | + | :[[{{{class|}}}]]}} | |
{{#if: {{{dmg|}}}| | {{#if: {{{dmg|}}}| | ||
− | + | ;Damage | |
− | + | :{{{dmg|}}}}} | |
{{#if: {{{range|}}}| | {{#if: {{{range|}}}| | ||
− | + | ;Range | |
− | + | :{{{range|}}}}} | |
{{#if: {{{accuracy|}}}| | {{#if: {{{accuracy|}}}| | ||
− | + | ;Accuracy | |
{{{acc|}}}}} | {{{acc|}}}}} | ||
{{#if: {{{handling|}}}| | {{#if: {{{handling|}}}| | ||
− | + | ;Handling | |
− | + | :{{{handling|}}}}} | |
{{#if: {{{aim|}}}| | {{#if: {{{aim|}}}| | ||
− | + | ;Aim time | |
− | + | :{{{aim|}}} sec.}} | |
<br style="clear: both; height: 0px;" /> | <br style="clear: both; height: 0px;" /> | ||
</div></div> | </div></div> | ||
Line 93: | Line 90: | ||
|type = Animals | |type = Animals | ||
|placeable = | |placeable = | ||
− | |hp = 200 | + | |hp = 200}} |
− | }} | ||
|} | |} | ||
[[Category:Infobox templates|Main]] | [[Category:Infobox templates|Main]] | ||
</noinclude> | </noinclude> |
Revision as of 13:52, 13 November 2013
Infobox main
Usage:
{{infobox main|animal| |name = Animal test |image = Animal Muffalo side.png|200px |info = Lorem Ipsum is simply dummy text of the printing and typesetting industry. |type = Animals |type2 = Category |placeable = |size = 3|4 |hp = 10 |speed = 5 |time = 2 |yield = 1 |power = 50 |class = SMG |damage = 100 |range = 10 |acc = 5 |handling = quick |aim = 1 |buy = 1 |sell = 2 }} Example{{infobox main|animal| |name = Muffalo |image = Animal Muffalo side.png|200px |info = Slow-moving, grass-grazing quadrupeds analogous to Buffalo. |type = Animals |placeable = |hp = 200 }} |