Template:Template example row/doc

< Template:Template example row
Revision as of 17:06, 7 July 2020 by Wikipedia>Plastikspork (→‎Subpage: Fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Usage

Noname args

<table class="wikitable">
{{template example row|arg1}}
{{template example row|arg1|arg2|arg3}}
{{template example row|arg1|arg2|arg3|arg4|arg5}}
</table>

Named args

<table class="wikitable">
{{template example row|arg1|notes=...}}
{{template example row|arg1|arg2|arg3|notes=...}}
{{template example row|arg1|arg2|arg3|arg4|arg5|notes=...}}
</table>

Subpage

<table class="wikitable">
{{template example row|template=Infobox Fluss/Maß|arg1}}
{{template example row|template=Infobox Fluss/Maß|arg1|arg2|arg3}}
{{template example row|template=Infobox Fluss/Maß|arg1|arg2|arg3|arg4|arg5}}
</table>
{{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