Template Frontend
This template is used to categorize pages as Deliveries or Spell Deliveries based on the provided parameters and the page context.
Parameters
1
: str- The content to be displayed on the page where the template is transcluded.
magic
: bool (optional, defaults to no value)- A flag that determines if the page should also be categorized as a Spell Delivery.
- Note
- If
magic
is provided and not empty, the page will be categorized as both Deliveries and Spell Deliveries.
- A flag that determines if the page should also be categorized as a Spell Delivery.
Additional Information
- Pages will only be categorized if they are viewed directly (not transcluded elsewhere), as the categorization depends on whether the page's full name matches its base name.
Template Backend
The template uses:
{{#ifeq:Template:Delivery|Delivery|...
to ensure categorization only applies to the current page and not transcluded instances.{{#if:|...
to conditionally categorize pages as Spell Deliveries based on themagic
parameter.