Functions:do

From Dwoo Docs

Jump to: navigation, search

Executes whatever follows without output. This is basically a cleaner alternative to doing {assign func("foo") var} or to use {capture} to silence some output.

I can't think of any reason to use it in a template, but since it's there for internal reasons, you might as well use it if required.

Example :

{do "foo"}
{do reverse("bar")}

Output:

*nothing*
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.