Difference between revisions of "User:Xenocidic/sandbox"

From PinataIsland.info, the Viva Piñata wiki
Jump to: navigation, search
(an example of how we could use the infobox to automagically categorize the plant)
m (empty sand)
Line 1: Line 1:
<div style="float: right; width: 220px;">
+
 
{| border=1 cellpadding=4 cellspacing=0 width=200 style="text-align: left; margin: 0 0 1em 1em; background:#D1F3FF; border: 1px #aaaaaa solid; border-collapse: collapse; font-size: 95%;"
 
| align=center colspan=2 | [[Image:{{{image}}}|center|thumb|{{{title}}}]]
 
{{#if:{{{produce_plural|}}}|{{!}}-
 
{{!}} '''Produces''' {{!}}{{!}} {{{produce_plural}}}}}{{{{#if:{{{produce_plural|}}}|1x|void}}|
 
}}
 
|-
 
| '''Type'''
 
| {{#switch: {{lc:{{{type|unknown}}}}}
 
| tree = Tree {{Category-Plants-Tree}}
 
| bush = Bush {{Category-Plants-Bush}}
 
| flower = Flower {{Category-Plants-Flower}}
 
| weed = Weed {{Category-Plants-Weed}}
 
| vegetable = Vegetable {{Category-Plants-Vegetable}}
 
| unknown = Unknown {{Category-Plants}}
 
}}
 
|-
 
| '''Level'''
 
| {{{level}}}
 
|-
 
| '''Base value'''
 
| {{{plant_value}}}
 
{{#if:{{{fertilizer|}}}|{{!}}-
 
{{!}} '''Fertilizer''' {{!}}{{!}} {{{fertilizer}}}}}{{{{#if:{{{fertilizer|}}}|1x|void}}|
 
}}
 
|-
 
| '''Seed price'''
 
| {{{seed_price}}}
 
{{#if:{{{produce_singular|}}}|{{!}}-
 
{{!}} '''{{{produce_singular}}} price''' {{!}}{{!}} {{{produce_price}}}}}{{{{#if:{{{produce_singular|}}}|1x|void}}|
 
}}
 
|}
 
</div>
 

Revision as of 11:17, 22 August 2008