Template:Category: Difference between revisions
Appearance
imported>Ziebster No edit summary |
imported>Ziebster No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{2|}}} | | <includeonly>{{#if: {{{2|}}} | | ||
{{#ifeq: {{{1|}}} | Mount E | | {{#ifeq: {{{1|}}} | Mount E | <!-- check for Mount E --> | ||
[[:Category:Mount|{{{2}}}]] | [[:Category:Mount|{{{2}}}]] | ||
| {{#ifeq: {{{1|}}} | Companion L | | | {{#ifeq: {{{1|}}} | Companion L | <!-- check for Companion L --> | ||
[[:Category:Companion|{{{2}}}]] | [[:Category:Companion|{{{2}}}]] | ||
| [[:Category:{{{1|}}}|{{{2}}}]] | | [[:Category:{{{1|}}}|{{{2}}}]] | ||
| Line 120: | Line 120: | ||
* Back | LINK Label | * Back | LINK Label | ||
* Companion | LINK Label | * Companion | LINK Label | ||
* Companion L | * Companion L | LINK Label | ||
* Left Hand | LINK Label | * Left Hand | LINK Label | ||
* Middle Head | LINK Label | * Middle Head | LINK Label | ||
* Mount | LINK Label | * Mount | LINK Label | ||
* Mount E | * Mount E | LINK Label | ||
* Pants | LINK Label | * Pants | LINK Label | ||
* Right Hand | LINK Label | * Right Hand | LINK Label | ||
Revision as of 05:09, 31 December 2025
Usage
This template adds a full category tree based on the type specified.
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
- 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
- NPC | LINK Label
- Prospective Resident | LINK Label
- Areas | LINK Label
- Dungeon | LINK Label
- Enemies | LINK Label
- Worldbosses | LINK Label
- Battle Type Color | LINK Label
Add more cases in the #switch as needed.
Adds a full category tree based on the selected type.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Category Tree | 1 | Select the genre or type to apply the full category hierarchy.
| String | required |
| LINK Label | 2 | String output to display link to category as | String | optional |