Jump to content

Template:Category: Difference between revisions

From Untitled Monster Game
imported>Ziebster
No edit summary
imported>Ziebster
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#switch: {{{1|}}}
{{#switch: {{{cat|}}}
   | vpet =  
   | vpet =  
     [[Category:Devices]]
     [[Category:Devices]]
Line 128: Line 128:


Add more cases in the #switch as needed.
Add more cases in the #switch as needed.
 
<templatedata>
{
    "description": "Adds a full category tree based on the selected type.",
    "params": {
        "cat": {
            "label": "Category Tree",
            "description": "Select the genre or type to apply the full category hierarchy.",
            "type": "string",
            "required": true,
            "suggestedvalues": [
                "vpet",
                "crossover",
                "digivice",
                "aura",
                "back",
                "companion",
                "companion l",
                "left hand",
                "middle head",
                "mount",
                "mount e",
                "pants",
                "right hand",
                "shirt",
                "top head",
                "consumable",
                "gacha",
                "material",
                "quest items",
                "token",
                "npc",
                "resident",
                "areas",
                "dungeon",
                "enemies",
                "worldbosses"
            ]
        }
    },
    "paramOrder": [
        "cat"
    ],
    "format": "inline"
}
</templatedata>
[[Category:General wiki templates]]
[[Category:General wiki templates]]
</noinclude>
</noinclude>

Revision as of 22:37, 30 December 2025


Usage

This template adds a full category tree based on the type specified.

Example Usage:

{{Categories|example}}

Supported values:

  • vpet
  • crossover
  • digivice
  • aura
  • back
  • companion
  • companion l
  • left hand
  • middle head
  • mount
  • mount e
  • pants
  • right hand
  • shirt
  • top head
  • consumable
  • gacha
  • material
  • quest items
  • token
  • npc
  • resident
  • areas
  • dungeon
  • enemies
  • worldbosses

Add more cases in the #switch as needed.

Adds a full category tree based on the selected type.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Category Treecat

Select the genre or type to apply the full category hierarchy.

Suggested values
vpet crossover digivice aura back companion companion l left hand middle head mount mount e pants right hand shirt top head consumable gacha material quest items token npc resident areas dungeon enemies worldbosses
Stringrequired