# template

> The template Liquid object, which tells a Shoplazza theme which template is rendering the current page, with the full list of its properties.

Information about the current [template](/docs/theme/architecture/templates/overview).

  
    
      
        Properties
      

      
        Type
      

      
        Description
      
    
  

  
    
      
        `directory`
      

      
        [string](../basics/liquid-types#string)
      

      
        The name of the template's parent directory.  

        Returns `nil` if the template's parent directory is `/templates`.
      
    

    
      
        `name`
      

      
        [string](../basics/liquid-types#string) from a set of values, refer to [name values](./template#name-values)
      

      
        The name of the template's type.
      
    

    
      
        `suffix`
      

      
        [string](../basics/liquid-types#string)
      

      
        The custom name of an alternate template.
      
    

    
      
        `type`
      

      
        [number](../basics/liquid-types#number)
      

      
        The type of template.
      
    
  

### name values

| Possible values  |
| :--------------- |
| `404`            |
| `addresses`      |
| `article`        |
| `blog`           |
| `cart`           |
| `collection`     |
| `login`          |
| `index`          |
| `order`          |
| `order-verify`   |
| `page`           |
| `product`        |
| `register`       |
| `reset_password` |
| `reset_success`  |
| `search`         |

```json title="Object"
{
  "directory": "",
  "name": "order",
  "type": 35,
  "suffix": "default"
}
```
