e38048232503012b2332ee02372b9139f59d22f0
[yaffs-website] / vendor / twig / twig / doc / tags / block.rst
1 ``block``
2 =========
3
4 Blocks are used for inheritance and act as placeholders and replacements at
5 the same time. They are documented in detail in the documentation for the
6 :doc:`extends<../tags/extends>` tag.
7
8 Block names should consist of alphanumeric characters, and underscores. Dashes
9 are not permitted.
10
11 .. seealso:: :doc:`block<../functions/block>`, :doc:`parent<../functions/parent>`, :doc:`use<../tags/use>`, :doc:`extends<../tags/extends>`