Jump to content

Template:Category: Difference between revisions

From Untitled Monster Game
imported>Ziebster
No edit summary
imported>Ziebster
No edit summary
Line 12: Line 12:
                   | {{#ifeq: {{{1|}}} | Top Head Q <!-- check for Companion R -->
                   | {{#ifeq: {{{1|}}} | Top Head Q <!-- check for Companion R -->
                       | [[:Category:Top Head|{{{2}}}]]
                       | [[:Category:Top Head|{{{2}}}]]
                      | {{#ifeq: {{{1|}}} | Token Q <!-- check for Companion R -->
                      | [[:Category:Token|{{{2}}}]]
                       | [[:Category:{{{1|}}}|{{{2}}}]]
                       | [[:Category:{{{1|}}}|{{{2}}}]]
                      }}
                       }}
                       }}
                   }}
                   }}
Line 117: Line 120:
     [[Category:Material]]
     [[Category:Material]]
     [[Category:{{{1}}}]]
     [[Category:{{{1}}}]]
  | Token Q =
    [[Category:Items]]
    [[Category:Material]]
    [[Category:Token]]
    [[Category:Quest Items]]
   | Prospective Resident =
   | Prospective Resident =
     [[Category:NPC]]
     [[Category:NPC]]

Revision as of 15:51, 30 January 2026

This template can add a full category tree based on the type specified, or modify the Category link across all links simultaneously.

Example Usage:

{{Category|Example|Link Label}}

Supported values:

  • Vpet | Link Label
  • Digivice | Link Label
  • Console | Link Label
  • Analyzer | Link Label
  • Crossover | Link Label
  • Aura | Link Label
  • Back | Link Label
  • Companion | Link Label
  • Companion L | Link Label
  • Companion R | Link Label
  • Left Hand | Link Label
  • Middle Head | Link Label
  • Mount | Link Label
  • Mount E | Link Label
  • Pants | Link Label
  • Right Hand | Link Label
  • Shirt | Link Label
  • Top Head | Link Label
  • Consumable | Link Label
  • Gacha | Link Label
  • Material | Link Label
  • Quest Items | Link Label
  • Token | Link Label
  • Prospective Resident | Link Label
  • Dungeon | Link Label

Add more cases in the #switch as needed.

Adds a full category tree based on the selected type, and if necessary a Link.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Category1

Select the name to create the Category

Suggested values
Vpet Digivice Console Analyzer Crossover Aura Back Companion Companion L Companion R Left Hand Middle Head Mount Mount E Pants Right Hand Shirt Top Head Consumable Gacha Material Quest Items Token Prospective Resident Dungeon
Stringrequired
Link Label2

String output to display as a Link to Category

Stringoptional