Difference between revisions of "Template:Infobox main"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | <div class="infobox {{#if:{{{1}}}|{{#switch:{{{1}}}| animal = c_08 | weapon = c_25 |}} }} | + | |
+ | <div class="infobox {{#if:{{{1}}}|{{#switch:{{{1}}}| animal = c_08 | weapon = c_25 |}} }} {{{2}}}"> | ||
<p class="heading">{{{name|{{BASEPAGENAME}}}}}</p> | <p class="heading">{{{name|{{BASEPAGENAME}}}}}</p> | ||
<div class="wrapper"> | <div class="wrapper"> | ||
− | <div class="image_wrapper">{{#if:{{{image|}}}|[[File:{{{image| | + | <div class="image_wrapper">{{#if:{{{image|}}}|[[File:{{{image|}}}|{{{3}}}]]|[[File:{{{name|{{BASEPAGENAME}}}}}.png]] }} |
{{#if:{{{info|}}}|{{{info|}}} | {{#if:{{{info|}}}|{{{info|}}} | ||
---- | ---- | ||
Line 13: | Line 14: | ||
{{#if: {{{size|}}}| | {{#if: {{{size|}}}| | ||
;Size | ;Size | ||
− | :{{{size|}}} ˣ | + | :{{{size|}}} ˣ {{{4}}}}} |
}} | }} | ||
{{#if: {{{hp|}}}| | {{#if: {{{hp|}}}| | ||
Line 53: | Line 54: | ||
</dl></div></div> | </dl></div></div> | ||
<noinclude> | <noinclude> | ||
− | + | <div class="pull-left"><pre> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | <pre> | ||
{{infobox main|animal| | {{infobox main|animal| | ||
|name = Animal test | |name = Animal test | ||
Line 81: | Line 76: | ||
|buy = 1 | |buy = 1 | ||
|sell = 2 | |sell = 2 | ||
− | }}</pre> | + | }}</pre></div> |
+ | |||
+ | {{clear}} | ||
==Example== | ==Example== | ||
− | <pre>{{infobox main|animal| | + | <div class="pull-left"><pre>{{infobox main|animal| |
|name = Muffalo | |name = Muffalo | ||
|image = Animal Muffalo side.png|200px | |image = Animal Muffalo side.png|200px | ||
Line 90: | Line 87: | ||
|placeable = | |placeable = | ||
|hp = 200 | |hp = 200 | ||
− | }}</pre> | + | }}</pre></div> |
− | |||
{{infobox main|animal | {{infobox main|animal | ||
|name = Muffalo | |name = Muffalo | ||
Line 99: | Line 95: | ||
|placeable = | |placeable = | ||
|hp = 200}} | |hp = 200}} | ||
− | |||
− | |||
[[Category:Infobox templates|Main]] | [[Category:Infobox templates|Main]] | ||
</noinclude> | </noinclude> |
Revision as of 14:19, 13 November 2013
Infobox main
- Type
- [[]]
- Placeable
- no
{{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 }}