# Common

Always check before using, but these fields are common to most modules

| key                 | Type    | Description |
| ------------------- | ------- | ----------- |
| `name`              |         |             |
| `short_description` | WYSIWYG |             |
| `long_description`  | WYSIWYG |             |
| `external_link`     |         |             |

### Photos

Most items have photo available. This syntax should work if the tab "Photo" exist in the module.

|                      |     |
| -------------------- | --- |
| `{{item.has_photo}}` | 0/1 |

```markup
{{item.first_photo.url_square}} (to get square ratio)
```

```markup
<!-- This code example will take the ratio 
  "Panoramic" and resize the photo to 
  maximum 800px width -->
#$loop|{{item.photos}}|{p}| $#
    <img src="{resizeimg(p.url_panoramic,800)}" alt="{p.alt}" />
#$/loop|{{item.photos}}|{p}| $#
```
