> For the complete documentation index, see [llms.txt](https://docs.toomuchmedia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.toomuchmedia.com/nats-admin/ad-tools/further-reading/ad-tool-templates.md).

# Ad Tool Templates

*Article Topics:* [*Ad Tools*](/getting-started/common-topics/ad-tools.md)*,* [*Customization* ](/getting-started/common-topics/customization.md)

NATS offers the ability to edit each ad tool type to control the template that will be used to display it. This can be done through the [Ad Tools Admin](/nats-admin/ad-tools.md).

You can also override this setting in the *display\_adtools* or *nats\_display\_adtools* [Smarty ](/using-nats/one-off-articles/smarty.md)function call if you wish.

The following explains how to control the ad tool templates:

* Pass in *tpl=xx* to set the base template name.
* Pass in *view=yyy* to set the view.
  * This will append *\_cust\_yyy* to the base template name for custom ad tool types and will append *\_yyy* to the base template name for ad tool types that are already built into NATS.

Passing in no *tpl* will result in NATS using the default template set for the ad tool type, while passing in no *view* will result in NATS using *\_min* for the ad tool type.

## Examples

In the following example, the default template for this ad tool ad tool type is "content":

### Custom Adtool Type

{display\_adtools ... tpl=my\_adtool\_type} Will display the template: my\_adtool\_type\_min

{display\_adtools ... tpl=my\_adtool\_type view=max} Will display the template: my\_adtool\_type\_cust\_max

{display\_adtools ...} Will display the template: function\_display\_adtools\_content\_min

{display\_adtools ... view=max} Will display the template: function\_display\_adtools\_cust\_max

### Built-in Ad Tool Types

{display\_adtools ... tpl=my\_adtool\_type} Will display the template: my\_adtool\_type\_min

{display\_adtools ... tpl=my\_adtool\_type view=max} Will display the template: my\_adtool\_type\_max

{display\_adtools ...} Will display the template: function\_display\_adtools\_content\_min

{display\_adtools ... view=max} Will display the template: function\_display\_adtools\_max

## Related Articles

{% content-ref url="/pages/19KJpY34OjHSgMfImyLn" %}
[Skins & Templates](/nats-admin/skins-and-templates.md)
{% endcontent-ref %}
