# CASE: use infotext and warningtext tags

**URL:** <https://community.silverfin.com/t/case-use-infotext-and-warningtext-tags/545>\
**Category:** Cases\
**Tags:** case, infotext, input\_comment, warningtext\
**Created:** [December 15, 2017, 3:53pm UTC](https://community.silverfin.com/t/case-use-infotext-and-warningtext-tags/545 "2017-12-15T15:53:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<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:** [December 15, 2017, 3:53pm UTC](https://community.silverfin.com/t/case-use-infotext-and-warningtext-tags/545/1 "2017-12-15T15:53:06Z")

</div>

There’s new functionality you can use in templates now :

```auto
{::infotext} test info {:/infotext}

{::warningtext} test warning {:/warningtext}

```

This will give a nice looking text like this :

![57](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/1X/cfdc1fe35dd32dbae4ba6fa6a0c1eb6b307b627d.png)

In export however, it will not look like that (only the text and color will be exported), but this is only meant for input-mode (so be sure to use `{% ic %} ... {% endic %}`

If you wish to create an info text that displays through the whole width of the page, like this:

 ![12](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/1X/1640ed9e09a9d26562d2b455f43fd834f221eb1e.png)

you can easily do by this code (just by adding the text as new lines):

> ```
> {% comment %}
> below code is random text in an infotag; 
> it can also give an overview of related templates that need to be linked to (linkto-tag)
> - to use a linkto-tag, you will need the handle-name of a recon-template (click on a template to discover that name)
> - replace the last part of "period.reconciliations.vaste_activa" in the handle-name you need f.i.: "period.reconciliations.belastingberekening"  
> - each recon-template should have an unique handle which can be used!
> - a check is added as well in case the template does not exist in the working papers, to give a proper warning
> - want a second linkto? just copy the code between {% if ... %} and {% endif %}, and add it below just before the {:/infotext}
> {% endcomment %}
> 
> {% ic %}
> {::infotext}
> This is some random text describing whatever you want, to guide users into internal workflows
> It can also be used to overview links to certain templates needed for this recon template as well: 
> {% if period.reconciliations.vaste_activa != blank %}{% linkto period.reconciliations.vaste_activa %}{% t "Fixed Assets" %}{% endlinkto %}{% else %} **{% t "The template Fixed Assets is not present in the working papers - please add them to the working papers" %}** {% endif %}
> {:/infotext}
> {% endic %}
> 
> ```

We’ve added in a linkto-tag case as well, to link to certain templates if you wish 💡

Same goes for the warning-tag as well; it can be used the same way.

---

_[View the full topic](https://community.silverfin.com/t/case-use-infotext-and-warningtext-tags/545)._
