Template for custom content type I created a module which creates a content type called equipment. Which includes multiple fields and a field collection. But now I want to style the template with those fields. As suggested from the HTML comments thanks to the Twig debugging, I created a file called node--equipment.html.twig which is located inside the templates folder of the module. Unfortunately this template won't show up, so it shows the default template. 

Doesn't Drupal 8 recognize the Twig file? What is the reason for not showing the wanted template? How can I fix this?
To recognize a suggestion in a module, you need to explicitly specify it in hook_theme() of your module.

system_theme() for example has this:

// Normally theme suggestion templates are only picked up when they are in
// themes. We explicitly define theme suggestions here so that the block
// templates in core/modules/system/templates are picked up.
'block__system_branding_block' =&gt; array(
  'render element' =&gt; 'elements',
  'base hook' =&gt; 'block',
),


Copy the original definition and then change the key and set the base hook.