title: Custom HTML parameters for component
body: <p>When you use standard <code>t:pagelink</code> component you can pass arbitrary number of custom HTML attributes like <code>class</code> or some <code>data</code> attributes:</p>
  
  <pre><code>&lt;t:pagelink page="somepage" data-somedata="test"&gt;link name&lt;/t:pagelink&gt;
  </code></pre>
  
  <p>And they will be included in generated <code>a</code> tag:</p>
  
  <pre><code>&lt;a href="/somepage" data-somedata="test"&gt;link name&lt;/a&gt;
  </code></pre>
  
  <p>This does not work for components created by me. When I have:</p>
  
  <pre><code>&lt;t:misc.custompagelink page="somepage" data-somedata="test"&gt;link name&lt;/t:misc.custompagelink&gt;
  </code></pre>
  
  <p>The generated HTML looks like this:</p>
  
  <pre><code>&lt;a href="/somepage"&gt;link name&lt;/a&gt;
  </code></pre>
  
  <p>How to mimick the behaviour of standard <code>t:pagelink</code> component?</p>