Template:Special

From ZDoom Wiki
Jump to navigation Jump to search

This template creates the presentation and categories for an action special.

Syntax: {{special|<number>|<params>|<type>|<type key> (optional)|<name (optional)>}}

Alternatively, the parameters can be named, which allows to put them in any order:
{{special|name=<name> (optional)|params=<params>|number=<number>|type=<type>|type2=<type>|key=<type key>|use=<line/script> (optional)}}

The name parameter is optional because the template can simply use the page name instead. It is therefore only needed if for some reason the special name does not correspond to the page name.

The use parameter can be used to precise if it is a line-only special ("use=line") or a script-only special ("use=script"). By default, the special is considered to be usable with both lines and scripts.

If a special can fit into two categories (for example, Generic_Door is both a door special and a generalized special), the type2 parameter can be used to specify the second type.