You are here

bs-4col-bricked.html.twig in Bootstrap Layouts 8.5

Same filename and directory in other branches
  1. 8.4 templates/3.0.0/bs-4col-bricked.html.twig

Bootstrap Layouts: "4 Columns (bricked)" template.

Available layout variables:

  • wrapper: Wrapper element for the layout container.
  • attributes: Wrapper attributes for the layout container.

Available region variables:

  • top
  • top_first
  • top_second
  • top_third
  • top_fourth
  • middle
  • bottom_first
  • bottom_second
  • bottom_third
  • bottom_fourth
  • bottom

Each region variable contains the following properties:

  • wrapper: The HTML element to use to wrap this region.
  • attributes: The HTML attributes to use on the wrapper for this region.
  • content: The content to go inside the wrapper for this region.

File

templates/3.0.0/bs-4col-bricked.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Bootstrap Layouts: "4 Columns (bricked)" template.
  5. *
  6. * Available layout variables:
  7. * - wrapper: Wrapper element for the layout container.
  8. * - attributes: Wrapper attributes for the layout container.
  9. *
  10. * Available region variables:
  11. * - top
  12. * - top_first
  13. * - top_second
  14. * - top_third
  15. * - top_fourth
  16. * - middle
  17. * - bottom_first
  18. * - bottom_second
  19. * - bottom_third
  20. * - bottom_fourth
  21. * - bottom
  22. *
  23. * Each region variable contains the following properties:
  24. * - wrapper: The HTML element to use to wrap this region.
  25. * - attributes: The HTML attributes to use on the wrapper for this region.
  26. * - content: The content to go inside the wrapper for this region.
  27. */
  28. #}
  29. <{{ wrapper }}{{ attributes }}>
  30. {{ title_suffix.contextual_links }}
  31. {% if top.content %}
  32. <{{ top.wrapper }}{{ top.attributes }}>
  33. {{ top.content }}
  34. </{{ top.wrapper }}>
  35. {% endif %}
  36. {% if top_first.content %}
  37. <{{ top_first.wrapper }}{{ top_first.attributes }}>
  38. {{ top_first.content }}
  39. </{{ top_first.wrapper }}>
  40. {% endif %}
  41. {% if top_second.content %}
  42. <{{ top_second.wrapper }}{{ top_second.attributes }}>
  43. {{ top_second.content }}
  44. </{{ top_second.wrapper }}>
  45. {% endif %}
  46. {% if top_third.content %}
  47. <{{ top_third.wrapper }}{{ top_third.attributes }}>
  48. {{ top_third.content }}
  49. </{{ top_third.wrapper }}>
  50. {% endif %}
  51. {% if top_fourth.content %}
  52. <{{ top_fourth.wrapper }}{{ top_fourth.attributes }}>
  53. {{ top_fourth.content }}
  54. </{{ top_fourth.wrapper }}>
  55. {% endif %}
  56. {% if middle.content %}
  57. <{{ middle.wrapper }}{{ middle.attributes }}>
  58. {{ middle.content }}
  59. </{{ middle.wrapper }}>
  60. {% endif %}
  61. {% if bottom_first.content %}
  62. <{{ bottom_first.wrapper }}{{ bottom_first.attributes }}>
  63. {{ bottom_first.content }}
  64. </{{ bottom_first.wrapper }}>
  65. {% endif %}
  66. {% if bottom_second.content %}
  67. <{{ bottom_second.wrapper }}{{ bottom_second.attributes }}>
  68. {{ bottom_second.content }}
  69. </{{ bottom_second.wrapper }}>
  70. {% endif %}
  71. {% if bottom_third.content %}
  72. <{{ bottom_third.wrapper }}{{ bottom_third.attributes }}>
  73. {{ bottom_third.content }}
  74. </{{ bottom_third.wrapper }}>
  75. {% endif %}
  76. {% if bottom_fourth.content %}
  77. <{{ bottom_fourth.wrapper }}{{ bottom_fourth.attributes }}>
  78. {{ bottom_fourth.content }}
  79. </{{ bottom_fourth.wrapper }}>
  80. {% endif %}
  81. {% if bottom.content %}
  82. <{{ bottom.wrapper }}{{ bottom.attributes }}>
  83. {{ bottom.content }}
  84. </{{ bottom.wrapper }}>
  85. {% endif %}
  86. </{{ wrapper }}>