Difference between revisions of "Template:Item Categories"

From Mushpedia
Jump to: navigation, search
(Added more categories)
m
 
Line 1: Line 1:
<includeonly><onlyinclude>[[Category:Item]]{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Consumable}}|yes|[[Category:Consumable]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Destroyed in Fire}}|yes|[[Category:Item destroyed in Fire]]|}}{{#if: {{#var: {{{1|{{PAGENAME}}}}} Repair Chance}}|[[Category:Breakable Item]]|}}{{#if: {{#var: {{{1|{{PAGENAME}}}}} Weapon Damage}}|[[Category:Weapon]]|}}{{#if: {{#var: {{{1|{{PAGENAME}}}}} Max Charges}}|[[Category:Item with Charges]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Heavy}}|yes|[[Category:Heavy Item]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Artefact}}|yes|[[Category:Alien Artefact]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Blueprint Component}}|yes|[[Category:Blueprint Component]]|}}{{#if: {{#var: {{{1|{{PAGENAME}}}}} In-game Flavor}}||[[Category:Item missing In-game Flavor]]|}}{{#ifexpr: {{#if:{{#var: {{{1|{{PAGENAME}}}}} In-game Examine Text}}|1|0}} and {{#if:{{#var: {{{1|{{PAGENAME}}}}} In-game Read Text}}|0|1}}||[[Category:Item missing Examine Text]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Has Passive Effect}}|yes|[[Category:Gear]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Has Passive Effect In Room}}|yes|[[Category:Instrument]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Has Exploration Effect}}|yes|[[Category:Exploration Gear]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Enables Action}}|yes|[[Category:Tool]]|}}</onlyinclude></includeonly>
+
<includeonly><onlyinclude>[[Category:Item]]{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Consumable}}|yes|[[Category:Consumable]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Destroyed in Fire}}|yes|[[Category:Item destroyed in Fire]]|}}{{#if: {{#var: {{{1|{{PAGENAME}}}}} Repair Chance}}|[[Category:Breakable Item]]|}}{{#if: {{#var: {{{1|{{PAGENAME}}}}} Weapon Damage}}|[[Category:Weapon]]|}}{{#if: {{#var: {{{1|{{PAGENAME}}}}} Max Charges}}|[[Category:Item with Charges]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Heavy}}|yes|[[Category:Heavy Item]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Artefact}}|yes|[[Category:Alien Artefact]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Blueprint Component}}|yes|[[Category:Blueprint Component]]|}}{{#if: {{#var: {{{1|{{PAGENAME}}}}} In-game Flavor}}||[[Category:Item missing In-game Flavor]]|}}{{#ifexpr: {{#if:{{#var: {{{1|{{PAGENAME}}}}} In-game Examine Text}}|1|0}} and {{#if:{{#var: {{{1|{{PAGENAME}}}}} In-game Read Text}}|0|1}}||[[Category:Item missing Examine Text]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Has Passive Effect}}|yes|[[Category:Gear]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Has Passive Effect in Room}}|yes|[[Category:Instrument]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Has Exploration Effect}}|yes|[[Category:Exploration Gear]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Enables Action}}|yes|[[Category:Tool]]|}}</onlyinclude></includeonly>

Latest revision as of 08:44, 7 April 2014