# How to get a new value out a standard template?

**URL:** <https://community.silverfin.com/t/how-to-get-a-new-value-out-a-standard-template/1848>\
**Category:** Templates\
**Created:** [July 15, 2020, 3:39pm UTC](https://community.silverfin.com/t/how-to-get-a-new-value-out-a-standard-template/1848 "2020-07-15T15:39:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RutgerC](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/rutgerc/32/1467_2.png) [@RutgerC](https://community.silverfin.com/u/RutgerC)\
**Post date:** [July 15, 2020, 3:39pm UTC](https://community.silverfin.com/t/how-to-get-a-new-value-out-a-standard-template/1848/1 "2020-07-15T15:39:47Z")

</div>

I would like to get a value ($1) from a standard template (Justification remuneration directors) how can I do this?

which template  
**BE standard working papers \>** [Overeenstemming bezoldiging (bedrijfsleiders)](https://live.getsilverfin.com/f/13822/reconciliation_texts/16701986/edit)  
or  
Justification remuneration directors  
HANDLE: REMUNERATION\_DIRECTORS

Code from the template ( I would like to get $1)

> | **{% t “Boekhouding” %}** {% assign key\_boekh = rubriek | append:‘\_boekh’ %}{% input custom[key\_boekh].numbers as:account\_collection range:range\_wages default:default\_wages accounts\_var:accounts %}{%  
> for account in accounts %}  
> | {% linkto account %}{{ account.number }} {{ account.name }}{% endlinkto %} | | {%=$1+ account.value %}{% endfor %}  
> | | | **{{ $1| currency }}** {% ifi $0-$1 != 0 %}

Information I found:

> **[Drops](https://developer.silverfin.com/docs/drop)**
>
> Access collections that contain all data within Silverfin

What I have tried (But it’s not between them):

> period.reconciliations.REMUNERATION\_DIRECTORS.results

---

<div class="post-metadata">

**Author:** ![sven](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sven/32/1495_2.png) [@sven](https://community.silverfin.com/u/sven)\
**Post date:** [July 15, 2020, 3:53pm UTC](https://community.silverfin.com/t/how-to-get-a-new-value-out-a-standard-template/1848/2 "2020-07-15T15:53:15Z")

</div>

Hey @RutgerC,

I don’t think that value is taken into a specific result tag anyway, as the value you are referring to, is a value that’s allocated to every director or employee (depending on the template you refer to).

May I ask which specific value you really need from both the reconciliations? As I’d like to understand it more, so perhaps I can investigate if it wouldn’t be better for us to create the needed result tag (if it’s a generic case of course 😉)

---

<div class="post-metadata">

**Author:** ![RutgerC](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/rutgerc/32/1467_2.png) [@RutgerC](https://community.silverfin.com/u/RutgerC)\
**Post date:** [July 15, 2020, 7:08pm UTC](https://community.silverfin.com/t/how-to-get-a-new-value-out-a-standard-template/1848/3 "2020-07-15T19:08:25Z")

</div>

Hi @sven,

I’d like to compare 2 values:

From the template above (total accounting: 6239.94)

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/2X/b/b9563287120134532e9a97a6798eb3081c434917.png)

With its own written file, to check if both values are the same.

---

<div class="post-metadata">

**Author:** ![sven](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sven/32/1495_2.png) [@sven](https://community.silverfin.com/u/sven)\
**Post date:** [July 16, 2020, 7:00am UTC](https://community.silverfin.com/t/how-to-get-a-new-value-out-a-standard-template/1848/4 "2020-07-16T07:00:57Z")

</div>

Sorry for going back and forth @RutgerC, but this relates to which template (the directors one OR the employees one, or both)?  
And just to be clear, it is the total amount of selected accounts that are used to reconcile the wages?

---

<div class="post-metadata">

**Author:** ![RutgerC](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/rutgerc/32/1467_2.png) [@RutgerC](https://community.silverfin.com/u/RutgerC)\
**Post date:** [July 16, 2020, 3:24pm UTC](https://community.silverfin.com/t/how-to-get-a-new-value-out-a-standard-template/1848/5 "2020-07-16T15:24:33Z")

</div>

@sven,  
My apologies for the late response.

Only the directors’ template and yes, it is the total amount of the selected accounts.

---

<div class="post-metadata">

**Author:** ![sven](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sven/32/1495_2.png) [@sven](https://community.silverfin.com/u/sven)\
**Post date:** [July 17, 2020, 6:12am UTC](https://community.silverfin.com/t/how-to-get-a-new-value-out-a-standard-template/1848/6 "2020-07-17T06:12:43Z")

</div>

No apologies needed @RutgerC 😌

Sounds like a legit case, so we added a new result tag to this template:

```auto
{% comment %}
======================
      RESULT TAGS
======================
{% endcomment %}
{% result 'total_wages_directors' accounts.value %}

```

So in any other template, you can do this and refer to that value:

```auto
{% assign total_wages_directors = period.reconciliations.remuneration_directors.results.total_wages_directors %}

{{ total_wages_directors }} 

```

More info on result tags here:

> [@CASE reference values across templates by using result tags](https://community.silverfin.com/t/case-reference-values-across-templates-by-using-result-tags/1157):
>
> If you want to reference a certain value or variable from recon template A in another template, there’s a way to do it with the so-called result tags in STL. They work like this (bulb just type in result and press TAB to get this preformatted code bulb): {% result 'name' content %} where the name is a shortname you can choose, and the content is the value or variable you want to reference to. Let’s say we have this variable done\_prepayments in our recon template Prepayments (which is al…

Keep in mind not all of our templates from the Silverfin marketplace have the result tags, but if there are missing, just ask for it here, and if it’s a legit case, we’ll gladly add it.
