Difference between revisions of "Template:Item"
Jump to navigation
Jump to search
(Moving suggestion to discussion page) |
(Complicating things) |
||
Line 2: | Line 2: | ||
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}} | |+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
− | | [[Image:{{{name|{{PAGENAME}}}}}_item.jpg|center]] | + | | [[Image:{{{image|{{{name|{{PAGENAME}}}}}_item.jpg}}}|center|A {{{name|{{PAGENAME}}}}}]] |
|- | |- | ||
! style="background-color:#3c5;" | Creation | ! style="background-color:#3c5;" | Creation | ||
Line 9: | Line 9: | ||
# Activate a {{{active}}} | # Activate a {{{active}}} | ||
# Right-click a {{{passive}}} | # Right-click a {{{passive}}} | ||
− | {{#if:{{{group|}}}|# Open submenu Create > {{{group}}} | + | {{#if:{{{group|}}}|# Open submenu Create > {{{group}}}}} |
|- | |- | ||
! style="background-color:#3c5;" | Additional materials | ! style="background-color:#3c5;" | Additional materials | ||
Line 23: | Line 23: | ||
! style="background-color:#3c5;" | Skill and improvement | ! style="background-color:#3c5;" | Skill and improvement | ||
|- | |- | ||
− | | Uses [[{{{skill}}}]]{{#if:{{{improve|}}}| | + | | |
+ | * Uses [[{{{skill}}}]] | ||
+ | {{#if:{{{improve|}}}|* {{#ifeq:{{{improve|}}}|no|Cannot be improved|Improves like [[{{{improve}}}]] items}}}} | ||
|} | |} | ||
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}} | {{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}} | ||
+ | [[Category:Item]] | ||
+ | {{#if: {{#if: {{{active|}}} | {{#if: {{{passive|}}} | {{#if: {{{group|}}} | {{#if: {{{materials|}}} | {{#if: {{{result|}}} | {{{skill|}}} }} }} }} }} }} ||[[Category:Incomplete item templates]]}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Usage example: | Usage example: |
Revision as of 12:50, 2 September 2007
Usage example:
{{item |name=Hammer |active=[[hammer head]] (0.4 kg) |passive=[[shaft]] (1.0 kg) |group=Tools |materials=* None |result=1 '''hammer''' - 1.4 kg |skill=blacksmithing }}