Regarding on this tutorial, below you can see how you can use the shortcode "cookiesinfo" to display the cookies info table into your module, or in a single content item.
Cookies Info Table
Give the Users the choice to accept or decline the cookies on a Joomla! website
The cookies on this website are disabled. This decision can be reversed anytime by clicking the below button "Allow Cookies".