Template:Category: Difference between revisions
Appearance
imported>Ziebster No edit summary |
imported>Ziebster No edit summary |
||
| Line 90: | Line 90: | ||
| Prospective Resident = | | Prospective Resident = | ||
[[Category:NPC]] | [[Category:NPC]] | ||
[[Category:{{{1}}}]] | [[Category:{{{1}}}]] | ||
| Dungeon = | | Dungeon = | ||
[[Category:Areas]] | [[Category:Areas]] | ||
[[Category:{{{1}}}]] | [[Category:{{{1}}}]] | ||
| #default = | | #default = | ||
[[Category: | [[Category:{{{1}}}]] <!-- Optional fallback --> | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
| Line 144: | Line 128: | ||
* Token | Link Label | * Token | Link Label | ||
* Prospective Resident | Link Label | * Prospective Resident | Link Label | ||
* Dungeon | Link Label | * Dungeon | Link Label | ||
Add more cases in the #switch as needed. | Add more cases in the #switch as needed. | ||
Revision as of 13:59, 1 January 2026
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
- 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.
| 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 as a Link to Category | String | optional |