Template:Template example row/doc

From English Wikipedia @ Freddythechick

This template generates a table of examples for use in template documentation.

Usage

Noname args

<syntaxhighlight lang="wikitext">

{{Template example row|arg1}}

Template loop detected: Template:Template example row

{{Template example row|arg1|arg2|arg3}}

Template loop detected: Template:Template example row

{{Template example row|arg1|arg2|arg3|arg4|arg5}}

Template loop detected: Template:Template example row

</syntaxhighlight>

Named args

<syntaxhighlight lang="wikitext">

{{Template example row|arg1}}

Template loop detected: Template:Template example row

...
{{Template example row|arg1|arg2|arg3}}

Template loop detected: Template:Template example row

...
{{Template example row|arg1|arg2|arg3|arg4|arg5}}

Template loop detected: Template:Template example row

...

</syntaxhighlight>

Subpage

<syntaxhighlight lang="wikitext">

{{Infobox Fluss/Maß|arg1}}

arg1dep1

{{Infobox Fluss/Maß|arg1|arg2|arg3}}

arg1dep1

{{Infobox Fluss/Maß|arg1|arg2|arg3|arg4|arg5}}

arg1dep1

</syntaxhighlight>

{{Infobox Fluss/Maß|arg1}}

arg1dep1

{{Infobox Fluss/Maß|arg1|arg2|arg3}}

arg1dep1

{{Infobox Fluss/Maß|arg1|arg2|arg3|arg4|arg5}}

arg1dep1

It doesn't support named arguments to the example template yet.

See also