Jump to content

Template:Category: Difference between revisions

From Untitled Monster Game
imported>Ziebster
No edit summary
imported>Ziebster
No edit summary
Line 88: Line 88:
     [[Category:Worldbosses]]
     [[Category:Worldbosses]]
   | Battle Type Color = [[:Category:{{{1}}}|{{{2}}}]]
   | Battle Type Color = [[:Category:{{{1}}}|{{{2}}}]]
[[Category:Battle Type Color]]
    [[Category:Battle Type Color]]
   | #default =
   | #default =
     [[Category:Uncategorized pages]] <!-- Optional fallback -->
     [[Category:Uncategorized pages]] <!-- Optional fallback -->
Line 134: Line 134:
<templatedata>
<templatedata>
{
{
    "description": "Adds a full category tree based on the selected type.",
"description": "Adds a full category tree based on the selected type.",
    "params": {
"params": {
        "1": {
"1": {
            "label": "Category Tree",
"label": "Category Tree",
            "description": "Select the genre or type to apply the full category hierarchy.",
"description": "Select the genre or type to apply the full category hierarchy.",
            "type": "string",
"type": "string",
            "required": true,
"required": true,
            "suggestedvalues": [
"suggestedvalues": [
                "vpet",
"vpet",
                "crossover",
"crossover",
                "digivice",
"digivice",
                "aura",
"aura",
                "back",
"back",
                "companion",
"companion",
                "companion l",
"companion l",
                "left hand",
"left hand",
                "middle head",
"middle head",
                "mount",
"mount",
                "mount e",
"mount e",
                "pants",
"pants",
                "right hand",
"right hand",
                "shirt",
"shirt",
                "top head",
"top head",
                "consumable",
"consumable",
                "gacha",
"gacha",
                "material",
"material",
                "quest items",
"quest items",
                "token",
"token",
                "npc",
"npc",
                "resident",
"resident",
                "areas",
"areas",
                "dungeon",
"dungeon",
                "enemies",
"enemies",
                "worldbosses"
"worldbosses"
            ]
]
        },
},
        "2": {
"2": {
            "label": "LINK Label",
"label": "LINK Label",
            "type": "string"
"type": "string",
        }
"description": "String output to display link to category as"
    },
}
    "paramOrder": [
},
        "1",
"paramOrder": [
        "2"
"1",
    ],
"2"
    "format": "inline"
],
"format": "inline"
}
}
</templatedata>
</templatedata>
[[Category:General wiki templates]]
[[Category:General wiki templates]]
</noinclude>
</noinclude>

Revision as of 03:53, 31 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
  • Battle Type Color (case sensitive) | LINKNAME

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 Tree1

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
LINK Label2

String output to display link to category as

Stringoptional