title: Typoscript filelink - Hide label
body: <p>I create a link to a file using <code>filelink</code>. I getting the name of the file using another Templavoila FCE <code>field_title</code> (<a href="https://stackoverflow.com/questions/51176829/typoscript-link-a-file-only-if-it-exists-using-url">see precedent post</a>).</p>
  
  <p>What I want is pretty simple, <strong>I want to display only the icon, not the label</strong>.
  I managed to display no text, but I still get the <code>&lt;a&gt;&lt;/a&gt;</code>. </p>
  
  <p>I tried using <code>labelStdWrap</code> or <code>labelStdWrap.override</code>, but so far nothing worked. I found in the <a href="https://docs.typo3.org/typo3cms/TyposcriptReference/7.6/Functions/Filelink/" rel="nofollow noreferrer">TsRef</a> that you can hide the icon, but nothing is said about hiding the label.</p>
  
  <p>Here is the Typoscript :</p>
  
  <pre><code>lib.field_datasheet = TEXT
  lib.field_datasheet {
    value {
      field = field_title
      wrap = |.pdf
      }
    filelink {
      path = /fileadmin/datasheet/
      icon_link = 1
      }
   }
  </code></pre>
  
  <p>The HTML code I get is that :</p>
  
  <pre><code>&lt;a href="/fileadmin/datasheet/Title.pdf"&gt;
   &lt;img src="/typo3/sysext/frontend/Resources/Public/Icons/FileIcons/pdf.gif"&gt;
  &lt;/a&gt;
  &lt;a href="/fileadmin/datasheet/Title.pdf"&gt;Title.pdf&lt;/a&gt;
  </code></pre>
  
  <p>And it's the entire last line I don't want to be displayed.</p>