3,017 bytes added,
17:33, 16 August 2011 <noinclude>'''Testing with Template:Item.'''
* Potency Section
* Styling
[[User:Mthec/ItemSample|Example]]
<pre>
Options = 1, 2, 3, 4, 5
|potency=number
</pre>
</noinclude>
<includeonly>{| style="float:right; margin:1em; width:250px; border:9px double #cb9f58; color:lightyellow; background:#6f5d4b; text-align:center;" cellpadding="3" cellspacing="0"
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}}
|-
| style="background:#8594bf;" |
{{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.jpg}}}
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|90px|A {{{name|{{PAGENAME}}}}}]]
| {{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}}
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|90px|A {{{name|{{PAGENAME}}}}}]]
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|90px|A {{{name|{{PAGENAME}}}}}]]
}}
}}
|-
! style="background:#625343; border:1px solid #493111;" | Creation
|-
|style="background:#8594bf;" |
{{#if:{{{creation|}}}|
{{#switch: {{{creation}}}
| no = This item can not be created.
| farm = Obtained through [[Farming|harvesting]].
| forage = Obtained through [[forage|foraging]].
| botanize = Obtained through [[botanize|botanizing]].
| fish = Obtained through [[fishing]].
| mine = Obtained through [[mining]].
| wood = Obtained through [[woodcutting]].
| dig = Obtained through [[digging]].
| cooking = * Put {{#if:{{{materials|}}}|
{{{materials}}}
|ingredients}} in a {{#if:{{{container|}}}|{{{container}}}|container}}
* Cook in a [[:Category:Fire_sources|fire place]].
| #default = {{{creation}}}
}}
|
# [[Activate]] a {{{active}}}
# Right-click a {{{passive}}}
{{#if:{{{group|}}}|# Open submenu "Create > [[{{{group}}}]]"}}
{{#ifeq:{{{materials}}}|no||
{{!}}-
! style="background:#625343; border:1px solid #493111;" {{!}} Additional materials
{{!}}-
{{!}} style="background:#8594bf;" {{!}}
{{{materials}}}
}}
}}
|-
! style="background:#625343; border:1px solid #493111;" | Result
|-
| style="background:#8594bf;" |
{{{result}}}
{{#if:{{{potency}}}|
{{!}}-
! style="background:#625343; border:1px solid #493111;" {{!}} Potency
{{!}}-
{{!}} {{#switch: {{{potency}}}
| 1 = style="background:#F95E0E;"
| 2 = style="background:#C87917;"
| 3 = style="background:#A28E1E;"
| 4 = style="background:#79A526;"
| 5 = style="background:#33CC33;"
| style="background:#FFFFFF;"
}} {{!}} [[Healing_cover#Potency|{{{potency}}}]]
}}
|-
! style="background:#625343; border:1px solid #493111;" | Skill and improvement
|-
| style="background:#8594bf;" |
{{#if:{{{creation|}}}||
* Uses [[{{{skill}}}]]
}}
{{#if:{{{improve|}}}|* {{#ifeq:{{{improve}}}|no|Cannot be [[improve]]d|[[Improve]]s like [[{{{improve}}}]] items}}}}
|}
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
[[Category:Items]]
{{#if:{{{creation|}}}||
{{#if: {{#if: {{{active|}}} | {{#if: {{{passive|}}} | {{#if: {{{group|}}} | {{#if: {{{materials|}}} | {{#if: {{{result|}}} | {{{skill|}}} }} }} }} }} }} ||[[Category:Incomplete item templates]]}}
}}
</includeonly>