Template:Item: Difference between revisions
Template page
More actions
SpaceManiac (talk | contribs) m SpaceManiac moved page Template:Infobox block to Template:Item: Moved to somewhat more sensible name |
SpaceManiac (talk | contribs) Done most of the template |
||
| Line 1: | Line 1: | ||
< | <includeonl> | ||
{| class="wikia-infobox" | |||
|- | |- | ||
! class="wikia-infobox-header" colspan="2" | {{{ | ! class="wikia-infobox-header" colspan="2" | {{{name|''Name Missing''}}} | ||
|- | |- | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
{{!}} class="wikia-infobox-image" colspan="2" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px|{{{imagecaption|}}}]] | {{!}} class="wikia-infobox-image" colspan="2" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px|{{{imagecaption|}}}]] | ||
}} | |||
|- | |- | ||
{{#if: {{{imagecaption|}}} | | {{#if: {{{imagecaption|}}} | | ||
{{!}} class="wikia-infobox-caption" colspan="2" {{!}} {{{imagecaption}}} | {{!}} class="wikia-infobox-caption" colspan="2" {{!}} {{{imagecaption}}} | ||
}} | |||
|- | |- | ||
! colspan="2" | <div class="wikia-infobox-section-header"> | ! colspan="2" | <div class="wikia-infobox-section-header" style="text-align: center;"> | ||
{{ItemSprite|{{{id|0}}}}} {{SeedSprite|{{{id|0}}}}} {{TreeSprite|{{{id|0}}}}} | |||
</div> | |||
|- | |- | ||
! | ! colspan="2" | <div class="wikia-infobox-section-header">Core information</div> | ||
| | |||
|- | |- | ||
! | ! Name | ||
| {{{ | | {{{name|''Unknown''}}} | ||
|- | |||
! Rarity | |||
| {{{rarity|''Unknown''}}} | |||
|- | |||
! Editable Type | |||
| {{Item/idNumber|editableType|{{{editableType|???}}}}} | |||
|- | |||
! Action | |||
| {{Item/idNumber|actionType|{{{actionType|???}}}}} | |||
|- | |- | ||
|- | {{#if: {{{dropChance|}}}{{{itemCategory|}}}{{{spreadType|}}}{{{collisionType|}}}{{{clothingType|}}} | | ||
! | {{!}}- | ||
| {{{ | ! colspan="2" {{!}} <div class="wikia-infobox-section-header">Extra information</div> | ||
{{#if: {{{dropChance|}}} | | |||
{{!}}- | |||
! Drop Chance | |||
{{!}} {{{dropChance}}} | |||
}} | |||
{{#if: {{{itemCategory|}}} | | |||
{{!}}- | |||
! Item Kind | |||
{{!}} {{Item/idNumber|itemCategory|{{{itemCategory}}}}} | |||
}} | |||
{{#if: {{{spreadType|}}} | | |||
{{!}}- | |||
! Spread Type | |||
{{!}} {{Item/idNumber|spreadType|{{{spreadType}}}}} | |||
}} | |||
{{#if: {{{clothingType|}}} | | |||
{{!}}- | |||
! Clothing Type | |||
{{!}} {{Item/idNumber|clothingType|{{{clothingType}}}}} | |||
}} | |||
{{#if: {{{collisionType|}}} | | |||
{{!}}- | |||
! Collision Type | |||
{{!}} {{Item/idNumber|collisionType|{{{collisionType}}}}} | |||
}} | |||
}} | |||
|- | {{#if: {{{ingredient1|}}} | | ||
! | {{!}}- | ||
| {{{ | ! colspan="2" {{!}} <div class="wikia-infobox-section-header">Extra information</div> | ||
{{!}}- | |||
! Recipe | |||
{{!}} [[{{{ingredient1}}}]] Seed + [[{{{ingredient2}}}]] Seed | |||
{{!}}- | |||
! Grow Time | |||
{{!}} {{{growTime|???}}} | |||
{{!}}- | |||
{{#if: {{{seedStyle|}}} | | |||
{{!}}- | |||
! Seed Style | |||
{{!}} {{{seedStyle}}} | |||
}} | |||
{{#if: {{{seedColor|}}} | | |||
{{!}}- | |||
! Seed Color | |||
{{!}}bgcolor={{{seedColor}}} {{!}} | |||
}} | |||
{{#if: {{{overlayColor|}}} | | |||
{{!}}- | |||
! Overlay Color | |||
{{!}}bgcolor={{{overlayColor}}} {{!}} | |||
}} | |||
}} | |||
|- style="font-size:0; line-height:0;" | |- style="font-size:0; line-height:0;" | ||
| Line 41: | Line 97: | ||
! style="width:50%; padding:0" | | ! style="width:50%; padding:0" | | ||
|}</ | |} [[Category:Items]]</includeonly><noinclude><br style="clear:both;"/> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Revision as of 04:58, 7 March 2013
<includeonl>
| Name Missing | |
|---|---|
Core information
| |
| Name | Unknown |
| Rarity | Unknown |
| Editable Type | Template:Item/idNumber |
| Action | Template:Item/idNumber |
</includeonly>
| Template Documentation [Edit] [History] [Purge] |
|---|
| This is the documentation of Template:Item. |
Description:
Display a infobox showing the details of an item in an article.
Usage:
{{Item|Description|Chi}}
- Possible Values
Example:
Yep, it's dirt.
PropertiesNone
Data| Type | https://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.png Foreground Block - Foreground |
|---|---|
| Chi | https://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.png Earth |
| Texture Type | https://growtopiawiki.nbg1.your-objectstorage.com/uploads/5/54/TextureTypeSprite.png 8 Directional |
| Collision Type | https://growtopiawiki.nbg1.your-objectstorage.com/uploads/e/e2/CollisionTypeSprite.png Full Collision |
| Hardness | https://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.png 3 Hits https://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.png 3 Hits Restores after 8s of inactivity. |
| Seed Color | https://growtopiawiki.nbg1.your-objectstorage.com/uploads/9/9c/SeedSprites.png #603913 #A67C52 |
| Grow Time | https://growtopiawiki.nbg1.your-objectstorage.com/uploads/e/e5/TreeSprites.png 31s |
| Default Gems Drop | https://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.png 0 - 1 |
https://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.pnghttps://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.png Red
https://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.pnghttps://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.png Yellow
https://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.pnghttps://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.png Green
https://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.pnghttps://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.png Aqua
https://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.pnghttps://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.png Blue