If you have created CMS Static Block and you want to call it from the template file,
You can call like below way in Magento 2,
<?php echo $block->getLayout()->createBlock('Magento\Cms\Block\Block') ->setBlockId('block_identifier') ->toHtml(); ?>
Where block_identifier is your static block identifier. Clear Cache and Check your result.