Template:Category: Difference between revisions
Appearance
imported>Ziebster No edit summary |
imported>Ziebster No edit summary |
||
| Line 111: | Line 111: | ||
<pre>{{Category|Example|Link Label}}</pre> | <pre>{{Category|Example|Link Label}}</pre> | ||
==='''Supported values:=== | ==='''Supported values:=== | ||
* Vpet | | * Vpet | Link Label | ||
* Digivice | | * Digivice | Link Label | ||
* Console | | * Console | Link Label | ||
* Analyzer | | * Analyzer | Link Label | ||
* Crossover | | * Crossover | Link Label | ||
* Aura | | * Aura | Link Label | ||
* Back | | * Back | Link Label | ||
* Companion | | * Companion | Link Label | ||
* Companion L | | * Companion L | Link Label | ||
* Left Hand | | * Left Hand | Link Label | ||
* Middle Head | | * Middle Head | Link Label | ||
* Mount | | * Mount | Link Label | ||
* Mount E | | * Mount E | Link Label | ||
* Pants | | * Pants | Link Label | ||
* Right Hand | | * Right Hand | Link Label | ||
* Shirt | | * Shirt | Link Label | ||
* Top Head | | * Top Head | Link Label | ||
* Consumable | | * Consumable | Link Label | ||
* Gacha | | * Gacha | Link Label | ||
* Material | | * Material | Link Label | ||
* Quest Items | | * Quest Items | Link Label | ||
* Token | | * Token | Link Label | ||
* NPC | | * NPC | Link Label | ||
* Prospective Resident | | * Prospective Resident | Link Label | ||
* Enemies | | * Enemies | Link Label | ||
* Worldbosses | | * Worldbosses | Link Label | ||
* Areas | | * Areas | Link Label | ||
* Dungeon | | * Dungeon | Link Label | ||
* Battle Type Color | | * Battle Type Color | Link Label | ||
Add more cases in the #switch as needed. | Add more cases in the #switch as needed. | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Adds a full category tree based on the selected type, and if necessary a | "description": "Adds a full category tree based on the selected type, and if necessary a Link.", | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
| Line 187: | Line 187: | ||
}, | }, | ||
"2": { | "2": { | ||
"label": " | "label": "Link Label", | ||
"type": "string", | "type": "string", | ||
"description": "String output to display | "description": "String output to display as a Link to Category" | ||
} | } | ||
}, | }, | ||
Revision as of 05:13, 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
- Enemies | Link Label
- Worldbosses | Link Label
- Areas | Link Label
- Dungeon | 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, 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 |