@TemplateTags
You can output all available template tags and loops in the current template by inserting @TemplateTags() in the Razor code or <!--@DwTemplateTags--> in the HTML code.
Settings
The system outputs a table/tables to the pageview output with all available tags including links to the relevant tag documentation (in this manual).
This tag can be used in all templates.
Remarks
It is recommended that you only use the tag for design and debugging purposes, and that it is removed prior to going live with your templates.
Examples
TemplateTags in Razor:
@TemplateTags()
It is possible to only show specific tags by adding a search word, e.g. if you only want to show tags that contain the word ”price”.
@TemplateTags(”price”)
Inside loops
@foreach (var item in GetLoop("Loop")) {
@item.TemplateTags()
}
TemplateTags in HTML.
<!--@DwTemplateTags-->