Template:ItemCard: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 124: Line 124:
[[Category:Items]]
[[Category:Items]]


<!-- Optional Categories -->
{{#if: {{{categories|}}} |
{{#if:{{{tiles|}}}|[[Category:Tiles]]}}
  {{#split: {{{categories}}} |, |
{{#if:{{{consumable|}}}|[[Category:Consumable]]}}
    {{#each: {{!}} |[[Category:{{!}}]]}}
{{#if:{{{material|}}}|[[Category:Material]]}}
  }}
{{#if:{{{equipment|}}}|[[Category:Equipment]]}}
}}
{{#if:{{{hat|}}}|[[Category:Hat]]}}
{{#if:{{{body|}}}|[[Category:Body]]}}
{{#if:{{{accessory|}}}|[[Category:Accessory]]}}
{{#if:{{{effect|}}}|[[Category:Effect]]}}
{{#if:{{{ammo|}}}|[[Category:Ammo]]}}
{{#if:{{{grapple|}}}|[[Category:Grapple]]}}
{{#if:{{{backpack|}}}|[[Category:Backpack]]}}
{{#if:{{{crafting_category|}}}|[[Category:Crafting]]}}


<!-- How to use
<!-- How to use
Line 165: Line 157:
|recipe_dropped_by_rate=<!-- Drop rates for the recipe (e.g., 0.25%, 0.12%) -->
|recipe_dropped_by_rate=<!-- Drop rates for the recipe (e.g., 0.25%, 0.12%) -->
|note=<!-- Any additional note or information about the item -->
|note=<!-- Any additional note or information about the item -->
|categories= <!--Items, Equipment, Consumables, Materials-->
}}
}}
FOR COPY PASTE
FOR COPY PASTE
Line 192: Line 185:
|recipe_dropped_by_rate=
|recipe_dropped_by_rate=
|note=
|note=
 
|categories=
->
}}
-->
member
1,308

edits