{"result":{"depiction_url":null,"edges":{"references":{"objects":[{"created":"2020-05-30T05:48:23Z","object_id":{"id":1325,"is_a":["text","documentation","reference","template_tag"],"name":"doc_template_tag_tag_catinclude","title":"catinclude","uri":"https:\/\/zotonic.com\/id\/1325"},"seq":1000000},{"created":"2020-05-30T05:48:23Z","object_id":{"id":1331,"is_a":["text","documentation","reference","module"],"name":"doc_module_mod_admin","title":"mod_admin","uri":"https:\/\/zotonic.com\/id\/1331"},"seq":1000000}],"predicate":{"id":332,"is_a":["meta","predicate"],"name":"references","title":{"_type":"trans","tr":{"en":"References"}},"uri":"https:\/\/zotonic.com\/id\/references"}},"refers":{"objects":[{"created":"2026-09-09T13:48:28Z","object_id":{"id":1325,"is_a":["text","documentation","reference","template_tag"],"name":"doc_template_tag_tag_catinclude","title":"catinclude","uri":"https:\/\/zotonic.com\/id\/1325"},"seq":1000000},{"created":"2026-09-09T13:48:28Z","object_id":{"id":1331,"is_a":["text","documentation","reference","module"],"name":"doc_module_mod_admin","title":"mod_admin","uri":"https:\/\/zotonic.com\/id\/1331"},"seq":1000000},{"created":"2026-09-09T13:48:28Z","object_id":{"id":1355,"is_a":["text","documentation","reference","template_tag"],"name":"doc_template_tag_tag_all_include","title":"all_include","uri":"https:\/\/zotonic.com\/id\/1355"},"seq":1000000}],"predicate":{"id":2409,"is_a":["meta","predicate"],"name":"refers","title":{"_type":"trans","tr":{"en":"Refers"}},"uri":"https:\/\/zotonic.com\/id\/refers"}},"relation":{"objects":[{"created":"2020-05-30T05:48:23Z","object_id":{"id":1325,"is_a":["text","documentation","reference","template_tag"],"name":"doc_template_tag_tag_catinclude","title":"catinclude","uri":"https:\/\/zotonic.com\/id\/1325"},"seq":1000000},{"created":"2020-05-30T05:48:23Z","object_id":{"id":1355,"is_a":["text","documentation","reference","template_tag"],"name":"doc_template_tag_tag_all_include","title":"all_include","uri":"https:\/\/zotonic.com\/id\/1355"},"seq":1000000}],"predicate":{"id":303,"is_a":["meta","predicate"],"name":"relation","title":{"_type":"trans","tr":{"nl":"Relatie","en":"Relation"}},"uri":"http:\/\/purl.org\/dc\/terms\/relation"}},"subject":{"objects":[{"created":"2026-09-09T13:48:28Z","object_id":{"id":2555,"is_a":["categorization","keyword","keyword_information_type"],"name":"zotonic_topic_reference","title":"Reference","uri":"https:\/\/zotonic.com\/id\/2555"},"seq":1},{"created":"2026-09-09T13:48:28Z","object_id":{"id":2563,"is_a":["categorization","keyword","keyword_audience"],"name":"zotonic_topic_frontend_developer","title":"Frontend developer","uri":"https:\/\/zotonic.com\/id\/2563"},"seq":2},{"created":"2026-09-09T13:48:28Z","object_id":{"id":2573,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_categorization","title":"Categorization","uri":"https:\/\/zotonic.com\/id\/2573"},"seq":3},{"created":"2026-09-09T13:48:28Z","object_id":{"id":2620,"is_a":["categorization","keyword","keyword_architecture"],"name":"zotonic_topic_template","title":"Template","uri":"https:\/\/zotonic.com\/id\/2620"},"seq":4},{"created":"2026-09-09T13:48:28Z","object_id":{"id":2635,"is_a":["categorization","keyword","keyword_architecture"],"name":"zotonic_topic_module","title":"Module","uri":"https:\/\/zotonic.com\/id\/2635"},"seq":5},{"created":"2026-09-09T13:48:28Z","object_id":{"id":2641,"is_a":["categorization","keyword","keyword_task"],"name":"zotonic_topic_render","title":"Render","uri":"https:\/\/zotonic.com\/id\/2641"},"seq":6},{"created":"2026-09-09T13:48:28Z","object_id":{"id":2691,"is_a":["categorization","keyword","keyword_quality"],"name":"zotonic_topic_maintainability","title":"Maintainability","uri":"https:\/\/zotonic.com\/id\/2691"},"seq":7}],"predicate":{"id":308,"is_a":["meta","predicate"],"name":"subject","title":{"_type":"trans","tr":{"en":"Keyword"}},"uri":"http:\/\/purl.org\/dc\/elements\/1.1\/subject"}}},"id":1354,"is_a":["text","documentation","reference","template_tag"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/1354"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"doc_template_tag_tag_all_catinclude","page_url":{"en":"https:\/\/zotonic.com\/docs\/1354\/all_catinclude","x-default":"https:\/\/zotonic.com\/docs\/1354\/all_catinclude"},"preview_url":null,"resource":{"version":3986,"pivot_location_lat":null,"title":"all_catinclude","is_authoritative":true,"body":"<aside><p>See also<\/p><p>tags <a href=\"\/id\/doc_template_tag_tag_catinclude\" class=\"doc-reference doc-reference-tag\"><code>tag#catinclude<\/code><\/a> and <a href=\"\/id\/doc_template_tag_tag_all_include\" class=\"doc-reference doc-reference-tag\"><code>tag#all_include<\/code><\/a>.<\/p><\/aside>\n<p>Include a template for all a resource’s categories from all modules.<\/p>\n<p>This is an extension on the <a href=\"\/id\/doc_template_tag_tag_catinclude\" class=\"doc-reference doc-reference-tag\"><code>tag#catinclude<\/code><\/a> tag. It will include all templates with the given name, instead of the first one found. Templates are defined in modules, because of that multiple modules can define a template with the same name.<\/p>\n<p>This catinclude extension will include all available templates in the same order as defined in <a href=\"\/id\/doc_template_tag_tag_catinclude\" class=\"doc-reference doc-reference-tag\"><code>tag#catinclude<\/code><\/a>. Where the templates per category will be rendered in the order of their module’s defined priority. This is the order in which they are listed in the module admin page.<\/p>\n<p>Examples of this mechanism can be found in <a href=\"\/id\/doc_module_mod_admin\" class=\"doc-reference doc-reference-module\"><code>module#mod_admin<\/code><\/a>, for example the main menu and the category specific editing fields on the edit page.<\/p>\n<p>An example usage:<\/p>\n<pre class=\"notranslate\"><code class=\"notranslate language-django\">{% all catinclude &quot;hello.tpl&quot; id arg=&quot;val&quot; %}\n<\/code><\/pre>\n<p>Includes all templates with the base name hello.tpl for the id’s category hierarchy.<\/p>\n<p>For example, in the case of a <em>news<\/em> article:<\/p>\n<ul><li>all templates with the name <code>hello.news.tpl<\/code><\/li><li>all templates with the name <code>hello.article.tpl<\/code><\/li><li>all templates with the name <code>hello.text.tpl<\/code><\/li><li>all templates with the name <code>hello.tpl<\/code><\/li><\/ul>","slug":"all_catinclude","is_protected":false,"visible_for":0,"tz":"UTC","language":["en"],"doc_source_hash":"9c200b35096de33e6ad279547ab466ac6c08927599c608150a4003d76e6f61a8","is_featured":false,"content_group_id":{"id":2551,"is_a":["meta","content_group"],"name":"content_group_imported_docs","title":"Imported documentation","uri":"https:\/\/zotonic.com\/id\/content_group_imported_docs"},"category_id":{"id":324,"is_a":["meta","category"],"name":"template_tag","title":"Tags","uri":"https:\/\/test.zotonic.com\/id\/324"},"doc_source_path":"doc\/template-tags\/all_catinclude.md","publication_start":"2023-06-24T08:18:03Z","github_url":"https:\/\/github.com\/zotonic\/zotonic\/blob\/master\/doc\/template-tags\/all_catinclude.md","pivot_location_lng":null,"doc_source_kind":"template_tag","name":"doc_template_tag_tag_all_catinclude","is_unfindable":false,"is_published":true,"pivot_geocode":null,"created":"2020-05-30T05:47:19Z","uri":null,"doc_status":"current","is_dependent":false,"publication_end":"9999-06-01T00:00:00Z","modifier_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"privacy":0,"doc_source_commit":"fcd7360cf6d307f08dac71bede7378e2b4ac72f0\n","creator_id":{"id":336,"is_a":["person","robot"],"name":"gitbot","title":"Git","uri":"https:\/\/zotonic.com\/id\/336"},"modified":"2026-10-01T12:53:42Z","title_slug":"all_catinclude"},"uri":"https:\/\/zotonic.com\/id\/1354","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/1354"}},"status":"ok"}