# Standard template =\> 3 fields

**URL:** <https://community.silverfin.com/t/standard-template-3-fields/576>\
**Category:** Templates\
**Tags:** tables, tables\_markdown\
**Created:** [January 9, 2018, 12:32pm UTC](https://community.silverfin.com/t/standard-template-3-fields/576 "2018-01-09T12:32:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![koen](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@koen](https://community.silverfin.com/u/koen)\
**Post date:** [January 9, 2018, 12:32pm UTC](https://community.silverfin.com/t/standard-template-3-fields/576/1 "2018-01-09T12:32:29Z")

</div>

The following code is when you want to add an extra column to the SF standard template for an account:

> {% t= “titel” fr:“titre” en:“Item” %}  
> {% t= “waarde” fr:“valeur” en:“Value” %}  
> {% t= “referte” fr:“reference” en:“Reference” %}  
> {% t= “extra info” fr:“extra info” en:“Description” %}  
> {% stripnewlines %}  
> {% fori detail in current\_account.details %}  
> {% if forloop.first %}  
> |--------------20%-----------------|--------------15%-----------------|--------------------35%-----------|------10%------|-------20%--------:+{% newline %}  
> {% endif %}  
> |{% input detail.custom.title placeholder:‘titel’ %}  
> |{% input detail.custom.referte placeholder:‘referte’ %}  
> | {% ic %}{% input detail.custom.text as:text size:mini placeholder:‘extra info’ %}{% endic %}  
> {% nic %}{{ detail.custom.text | multiline\_table}}{% endnic %}  
> |{% input detail.custom.doc as:file %}  
> |{% if current\_account.liability\_or\_income %}  
> {% $0+input detail.custom.value as:n\_currency placeholder:‘waarde’ %}  
> {% else %}  
> {% $0+input detail.custom.value as:currency placeholder:‘waarde’ %}  
> {% endif %}  
> {% newline %}  
> {% ic %}  
> {% if forloop.last %}  
> | | | |  
> |**{% if current\_account.liability\_or\_income %}  
> {{ -1\*$0 | currency }}  
> {% else %}  
> {{ $0 | currency }}  
> {% endif %}**  
> {% endif %}  
> {% endic %}  
> {% endfori %}  
> {% endstripnewlines %}

Thanks for the help Sam.
