Difference between revisions of "Template:Infobox main/doc"
Jump to navigation
Jump to search
m (→Example #1) |
m |
||
Line 45: | Line 45: | ||
|placeable = | |placeable = | ||
|hp = 200 | |hp = 200 | ||
− | |buy = {{ | + | |buy = {{icon|bmeat|1}} |
− | |sell= {{ | + | |sell= {{icon|smeat|2}} |
}} | }} | ||
<div class="pull-left"><pre> | <div class="pull-left"><pre> | ||
− | {{infobox main | + | {{{{TNTN|infobox main}}|animal|pull-left |
|name = Muffalo | |name = Muffalo | ||
|image = Animal Muffalo side.png|200px{{!}}Muffalo | |image = Animal Muffalo side.png|200px{{!}}Muffalo | ||
Line 56: | Line 56: | ||
|placeable = | |placeable = | ||
|hp = 200 | |hp = 200 | ||
− | |buy = {{ | + | |buy = {{icon|bmeat|1}} |
− | |sell= {{ | + | |sell= {{icon|smeat|2}} |
}}</pre></div> | }}</pre></div> | ||
{{clear}} | {{clear}} | ||
==Example #2== | ==Example #2== | ||
− | {{ | + | {{{{TNTN|infobox main}}|weapon|pull-left |
|name = Pistol | |name = Pistol | ||
|image = Equipment Pistol.png|Pistol | |image = Equipment Pistol.png|Pistol | ||
Line 75: | Line 75: | ||
|handling = Quick | |handling = Quick | ||
|aim = 1.1 | |aim = 1.1 | ||
− | |buy = {{ | + | |buy = {{icon|silver|250}} |
}} | }} | ||
<div class="pull-left"><pre> | <div class="pull-left"><pre> | ||
− | {{infobox main | + | {{{{TNTN|infobox main}}|weapon|pull-left |
|name = Pistol | |name = Pistol | ||
|image = Equipment Pistol.png|Pistol | |image = Equipment Pistol.png|Pistol | ||
Line 91: | Line 91: | ||
|handling = Quick | |handling = Quick | ||
|aim = 1.1 | |aim = 1.1 | ||
− | |buy = {{ | + | |buy = {{icon|silver|250}} |
}}</pre></div> | }}</pre></div> |
Revision as of 04:22, 19 April 2014
Usage
- 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)
{{{{TNTN|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 shot/SMG/Rifles/Thrown) |damage = use for weapon damage |range = used for weapon range |area = used for explosive area |accuracy = use for weapon accuracy |mode = single/automatic |burst = shots per burst |handling = use for weapon quick |aim = use for weapon aim time ## DON'T COPY THIS LINE ################## |buy = use for price {{icon|type|amount}} more info at Template:Icon |sell = use for price {{icon|type|amount}} more info at Template:Icon }}
Example #1
{{Template:TNTN|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 = 1 |sell= 2 }}
{{{{TNTN|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 = {{icon|bmeat|1}} |sell= {{icon|smeat|2}} }}
Example #2
{{Template:TNTN|weapon|pull-left |name = Pistol |image = Equipment Pistol.png|Pistol |type = Equipment |type2 = Weapons |info = "Ancient pattern automatic pistol. Weak and short range, but quick." |placeable = y |class = Single shot |damage = 10 |range = 24 |acc = 4 |handling = Quick |aim = 1.1 |buy = 250 }}
{{{{TNTN|infobox main}}|weapon|pull-left |name = Pistol |image = Equipment Pistol.png|Pistol |type = Equipment |type2 = Weapons |info = "Ancient pattern automatic pistol. Weak and short range, but quick." |placeable = y |class = Single shot |damage = 10 |range = 24 |acc = 4 |handling = Quick |aim = 1.1 |buy = {{icon|silver|250}} }}