Vorlage:Error:must be substituted/Doku

Aus Wikivoyage

Usage[Bearbeiten]

In a template that must be substituted, add the following code at the top:

{{ {{#ifeq:{{<includeonly>subst:</includeonly>void}}|{{void}}|void|Error:must be substituted}}| template name }}

Example: en:Template:Demo of template that must be substituted (links, bearbeiten).

while {{subst:Demo of template that must be substituted}} gives "Template body".

See also[Bearbeiten]