# nats\_display\_adtool\_form

Alias: display\_adtool\_types

## Parameters

(*Required parameters in bold)*

| Parameter                                                                                                                                 | Description                                  | Possible Values                | Default Value                                    | Example                |
| ----------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ------------------------------ | ------------------------------------------------ | ---------------------- |
| tpl                                                                                                                                       | Template used to display output              | Any valid template             | The template, *function\_display\_adtool\_types* | tpl="mytemplate"       |
| [assign\_prefix](https://docs.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-function-parameters/assign_prefix) | Prefixes output variables with this word     | Any valid Smarty variable name | *Empty.*                                         | assign\_prefix="myvar" |
| [data\_only](https://docs.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-function-parameters/data_only)         | Set variables but don't display the template | 1                              | *None.* The template is displayed.               | data\_only=1           |

### Output

A list of adtool types. Also outputs two variables listed below; variables are prefixed with the argument to the *assign\_prefix* parameter described above.

* .available\_adtool\_types
* .adtool\_types

### Notes

None.

### See Also

* [nats\_display\_adtools](https://docs.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-functions/nats_display_adtools) -- Displays ad tools after you select the type ID number.
