Blocks:literal

From Dwoo Docs

Jump to: navigation, search

Outputs the entire block contents without parsing them as template code.

literal()

This block MUST be closed explicitly using {/literal}, doing it like {/} or closing it's parent block will not work




Example:

{$var=3}
{literal}
{$var} {* Comments and the strip plugin are an exception to the literal rule as they still behave as expected even within a literal block *}
{/literal}
{$var}

Output:

{$var} 
3
Personal tools
templates
page language

French

The article you want to access doesn't exist in French.
Deutsch
The article you want to access doesn't exist in Deutsch.
Russian
The article you want to access doesn't exist in Russian.