Template:CategoryHandler

From Dune: Awakening Community Wiki
Jump to navigation Jump to search


Usage Examples

Page Namespace Template Call Output
(Main)
{{CategoryHandler|[[Category:Placeholder]]}}
[[Category:Placeholder]]
Translation subpage (e.g. Arrakeen/es)
{{CategoryHandler|[[Category:Placeholder]]}}
(Empty output)
Template
{{CategoryHandler|[[Category:Placeholder]]}}
(Empty output)
Template
{{CategoryHandler|[[Category:Placeholder]]|allow_template=true}}
[[Category:Placeholder]]

TemplateData

This template conditionally outputs the specified content only on non-translated pages. By default, output is also suppressed on Template pages, but can be allowed with allow_template.

Mainly used to prevent translation subpages and templates from being added to categories.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Content1

The content to emit, typically a category and/or other parser logic.

Contentrequired
Allow Template Namespaceallow_template

Whether to emit the category on the Template namespace (10).

Suggested values
true false
Default
false
Booleanoptional