Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Item: Difference between revisions

Template page
Done most of the template
m Fixed a few issues
Line 1: Line 1:
<includeonl>
<includeonly>
{| class="wikia-infobox"
{| class="wikia-infobox"


Line 16: Line 16:
|-
|-
! colspan="2" | <div class="wikia-infobox-section-header" style="text-align: center;">
! colspan="2" | <div class="wikia-infobox-section-header" style="text-align: center;">
{{ItemSprite|{{{id|0}}}}}  {{SeedSprite|{{{id|0}}}}}  {{TreeSprite|{{{id|0}}}}}
{{ItemSprite|{{#expr: {{{id|0}}}/2}}}}  {{SeedSprite|{{#expr: {{{id|0}}}/2}}}}  {{TreeSprite|{{#expr: {{{id|0}}}/2}}}}
</div>
</div>


Line 43: Line 43:
! Drop Chance
! Drop Chance
{{!}} {{{dropChance}}}
{{!}} {{{dropChance}}}
}}
}}{{#if: {{{itemCategory|}}} |
{{#if: {{{itemCategory|}}} |
{{!}}-
{{!}}-
! Item Kind
! Item Kind
{{!}} {{Item/idNumber|itemCategory|{{{itemCategory}}}}}
{{!}} {{Item/idNumber|itemCategory|{{{itemCategory}}}}}
}}
}}{{#if: {{{spreadType|}}} |
{{#if: {{{spreadType|}}} |
{{!}}-
{{!}}-
! Spread Type
! Spread Type
{{!}} {{Item/idNumber|spreadType|{{{spreadType}}}}}
{{!}} {{Item/idNumber|spreadType|{{{spreadType}}}}}
}}
}}{{#if: {{{clothingType|}}} |
{{#if: {{{clothingType|}}} |
{{!}}-
{{!}}-
! Clothing Type
! Clothing Type
{{!}} {{Item/idNumber|clothingType|{{{clothingType}}}}}
{{!}} {{Item/idNumber|clothingType|{{{clothingType}}}}}
}}
}}{{#if: {{{collisionType|}}} |
{{#if: {{{collisionType|}}} |
{{!}}-
{{!}}-
! Collision Type
! Collision Type
Line 80: Line 76:
! Seed Style
! Seed Style
{{!}} {{{seedStyle}}}
{{!}} {{{seedStyle}}}
}}
}}{{#if: {{{seedColor|}}} |
{{#if: {{{seedColor|}}} |
{{!}}-
{{!}}-
! Seed Color
! Seed Color
{{!}}bgcolor={{{seedColor}}} {{!}}
{{!}}bgcolor={{{seedColor}}} {{!}}
}}
}}{{#if: {{{overlayColor|}}} |
{{#if: {{{overlayColor|}}} |
{{!}}-
{{!}}-
! Overlay Color
! Overlay Color

Revision as of 05:01, 7 March 2013


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
Parameter Value Meaning
Chi None https://growtopiawiki.nbg1.your-objectstorage.com/uploads/9/95/AchievementSprites.png None
Earth https://growtopiawiki.nbg1.your-objectstorage.com/uploads/9/95/AchievementSprites.png Earth Chi
Fire https://growtopiawiki.nbg1.your-objectstorage.com/uploads/9/95/AchievementSprites.png Fire Chi
Wind https://growtopiawiki.nbg1.your-objectstorage.com/uploads/9/95/AchievementSprites.png Wind Chi
Water https://growtopiawiki.nbg1.your-objectstorage.com/uploads/9/95/AchievementSprites.png Water Chi

Example:

Yep, it's dirt.
Properties
None
Data
Typehttps://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.png Foreground Block - Foreground
Chihttps://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.png Earth
Texture Typehttps://growtopiawiki.nbg1.your-objectstorage.com/uploads/5/54/TextureTypeSprite.png 8 Directional
Collision Typehttps://growtopiawiki.nbg1.your-objectstorage.com/uploads/e/e2/CollisionTypeSprite.png Full Collision
Hardnesshttps://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 Colorhttps://growtopiawiki.nbg1.your-objectstorage.com/uploads/9/9c/SeedSprites.png
#603913
#A67C52
Grow Timehttps://growtopiawiki.nbg1.your-objectstorage.com/uploads/e/e5/TreeSprites.png 31s
Default Gems Drophttps://growtopiawiki.nbg1.your-objectstorage.com/uploads/8/8f/ItemSprites.png 0 - 1
Paint Preview
id:Item