Difference between revisions of "Template:Infobox main"
Jump to navigation
Jump to search
m |
m |
||
Line 8: | Line 8: | ||
;Type | ;Type | ||
:[[{{{type|}}}]]{{#if:{{{type2|}}}| – {{{type2}}}}} | :[[{{{type|}}}]]{{#if:{{{type2|}}}| – {{{type2}}}}} | ||
− | ;Placeable | + | ;Placeable |
:{{#if:{{{placeable|}}}|yes|no}} | :{{#if:{{{placeable|}}}|yes|no}} | ||
− | {{#if: {{{size|}}} | + | {{#if: {{{size|}}} {{!}} ;Size {{!}} :{{{size|}}} ˣ {{#if:{{{4}}}|{{{4}}}}}}} |
− | ;Size | + | {{#if: {{{hp|}}} {{!}} ;HP {{!}} :{{{hp|}}}}} |
− | :{{{size|}}} ˣ {{#if:{{{4}}}|{{{4}}}}}}} | + | {{#if: {{{speed|}}} {{!}} ;Movement speed {{!}} :{{{speed|}}}%}} |
− | {{#if: {{{hp|}}} | + | {{#if: {{{time|}}} {{!}} ;Time to grow {{!}} :{{{time|}}} day(s)}} |
− | ;HP | + | {{#if: {{{yield|}}} {{!}} ;Yield {{!}} :{{{yield|}}} [[food]]}} |
− | :{{{hp|}}}}} | + | {{#if: {{{power|}}} {{!}} ;Power {{!}} :{{{power|}}}W}} |
− | {{#if: {{{speed|}}} | + | {{#if: {{{class|}}} {{!}} ;Class {{!}} :[[{{{class|}}}]]}} |
− | ;Movement speed | + | {{#if: {{{dmg|}}} {{!}} ;Damage {{!}} :{{{dmg|}}}}} |
− | :{{{speed|}}}%}} | + | {{#if: {{{range|}}} {{!}} ;Range {{!}} :{{{range|}}}}} |
− | {{#if: {{{time|}}} | + | {{#if: {{{accuracy|}}} {{!}} ;Accuracy {{!}} {{{acc|}}}}} |
− | ;Time to grow | + | {{#if: {{{handling|}}} {{!}} ;Handling {{!}} :{{{handling|}}}}} |
− | :{{{time|}}} day(s)}} | + | {{#if: {{{aim|}}} {{!}} ;Aim time {{!}} :{{{aim|}}} sec.}} |
− | {{#if: {{{yield|}}} | ||
− | ;Yield | ||
− | :{{{yield|}}} [[food]]}} | ||
− | {{#if: {{{power|}}} | ||
− | ;Power | ||
− | :{{{power|}}}W}} | ||
− | {{#if: {{{class|}}} | ||
− | ;Class | ||
− | :[[{{{class|}}}]]}} | ||
− | {{#if: {{{dmg|}}} | ||
− | ;Damage | ||
− | :{{{dmg|}}}}} | ||
− | {{#if: {{{range|}}} | ||
− | ;Range | ||
− | :{{{range|}}}}} | ||
− | {{#if: {{{accuracy|}}} | ||
− | ;Accuracy | ||
− | {{{acc|}}}}} | ||
− | {{#if: {{{handling|}}} | ||
− | ;Handling | ||
− | :{{{handling|}}}}} | ||
− | {{#if: {{{aim|}}} | ||
− | ;Aim time | ||
− | :{{{aim|}}} sec.}} | ||
<br style="clear: both; height: 0px;" /> | <br style="clear: both; height: 0px;" /> | ||
</div> | </div> |
Revision as of 13:37, 13 November 2013
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 }} |