Difference between revisions of "Template:Infobox main"
Jump to navigation
Jump to search
m |
m |
||
Line 68: | Line 68: | ||
*You can add a "name" and "image". Fill these values if the PAGENAME macro is not adequate (if the page name has a disambig qualifier for example) | *You can add a "name" and "image". Fill these values if the PAGENAME macro is not adequate (if the page name has a disambig qualifier for example) | ||
<pre> | <pre> | ||
− | {{infobox main|animal| | + | {{infobox main | (animal/plant/weapon/area/structure/building/security/furniture) - used for color theme | additional styles (optional) |
|name = use for item header | |name = use for item header | ||
− | |image = picture name.(jpg | + | |image = picture name.(jpg/png)| variables such as size, alt text (optional) |
|info = use for short description | |info = use for short description | ||
|type = use for main category | |type = use for main category | ||
− | |type2 = use for subcategory | + | |type2 = use for subcategory (optional) |
− | |placeable = (yes | + | |placeable = (yes/no) leave blank for "no" |
|size = two values, separated by | - (1|2) | |size = two values, separated by | - (1|2) | ||
|hp = use for health/strength | |hp = use for health/strength | ||
Line 81: | Line 81: | ||
|yield = use for food-plants | |yield = use for food-plants | ||
|power = use for power input/output (+/-) | |power = use for power input/output (+/-) | ||
+ | |||
+ | ## DON'T COPY THIS LINE ###Weapons part### | ||
|class = use for weapon class (use Single/SMG/Rifles/Thrown) | |class = use for weapon class (use Single/SMG/Rifles/Thrown) | ||
|damage = use for weapon damage | |damage = use for weapon damage | ||
Line 87: | Line 89: | ||
|handling = use for weapon quick | |handling = use for weapon quick | ||
|aim = use for weapon aim time | |aim = use for weapon aim time | ||
+ | ## DON'T COPY THIS LINE ################## | ||
+ | |||
|buy = use for price {{mi|x}} (metal) or {{di|x} (money) | |buy = use for price {{mi|x}} (metal) or {{di|x} (money) | ||
|sell = use for price {{mi|x}} (metal) or {{di|x} (money) | |sell = use for price {{mi|x}} (metal) or {{di|x} (money) | ||
Line 92: | Line 96: | ||
{{clear}} | {{clear}} | ||
==Example== | ==Example== | ||
− | <div class="pull-left"><pre>{{infobox main|animal| | + | <div class="pull-left"><pre> |
+ | {{infobox main|animal|pull-left | ||
|name = Muffalo | |name = Muffalo | ||
− | |image = Animal Muffalo side.png|200px | + | |image = Animal Muffalo side.png|200px{{!}}Muffalo |
|info = Slow-moving, grass-grazing quadrupeds analogous to Buffalo. | |info = Slow-moving, grass-grazing quadrupeds analogous to Buffalo. | ||
|type = Animals | |type = Animals | ||
|placeable = | |placeable = | ||
|hp = 200 | |hp = 200 | ||
+ | |buy = {{mi|1}} | ||
+ | |sell= {{di|2}} | ||
}}</pre></div> | }}</pre></div> | ||
− | {{infobox main|animal| | + | {{infobox main|animal|pull-left |
|name = Muffalo | |name = Muffalo | ||
− | |image = Animal Muffalo side.png|200px | + | |image = Animal Muffalo side.png|200px{{!}}Muffalo |
|info = Slow-moving, grass-grazing quadrupeds analogous to Buffalo. | |info = Slow-moving, grass-grazing quadrupeds analogous to Buffalo. | ||
|type = Animals | |type = Animals | ||
|placeable = | |placeable = | ||
− | |hp = 200}} | + | |hp = 200 |
+ | |buy = {{mi|1}} | ||
+ | |sell= {{di|2}} | ||
+ | }} | ||
[[Category:Infobox templates|Main]] | [[Category:Infobox templates|Main]] | ||
</noinclude> | </noinclude> |
Revision as of 15:54, 13 November 2013
Usage
Infobox main
- Type
- [[{{{type}}}]]
- Placeable
- no
- Everything is optional;
- You can add a "name" and "image". Fill these values if the PAGENAME macro is not adequate (if the page name has a disambig qualifier for example)
{{infobox main | (animal/plant/weapon/area/structure/building/security/furniture) - used for color theme | additional styles (optional) |name = use for item header |image = picture name.(jpg/png)| variables such as size, alt text (optional) |info = use for short description |type = use for main category |type2 = use for subcategory (optional) |placeable = (yes/no) leave blank for "no" |size = two values, separated by | - (1|2) |hp = use for health/strength |speed = use for tiles |time = use for food-plants |yield = use for food-plants |power = use for power input/output (+/-) ## DON'T COPY THIS LINE ###Weapons part### |class = use for weapon class (use Single/SMG/Rifles/Thrown) |damage = use for weapon damage |range = used for weapon range |acc = use for weapon accuracy |handling = use for weapon quick |aim = use for weapon aim time ## DON'T COPY THIS LINE ################## |buy = use for price {{mi|x}} (metal) or {{di|x} (money) |sell = use for price {{mi|x}} (metal) or {{di|x} (money) }}
Example
{{infobox main|animal|pull-left |name = Muffalo |image = Animal Muffalo side.png|200px{{!}}Muffalo |info = Slow-moving, grass-grazing quadrupeds analogous to Buffalo. |type = Animals |placeable = |hp = 200 |buy = {{mi|1}} |sell= {{di|2}} }}
Muffalo
Muffalo
Slow-moving, grass-grazing quadrupeds analogous to Buffalo.
- Type
- Animals
- Placeable
- no
- HP
- 200
- Buy / Sell
- Template:Mi / Template:Di