Template:Template example row

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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

Usage[edit]

Noname args[edit]

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

Named args[edit]

<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[edit]

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

Template:Templatename/subpage

{{templatename/subpage|arg1|arg2|arg3}}

Template:Templatename/subpage

{{templatename/subpage|arg1|arg2|arg3|arg4|arg5}}

Template:Templatename/subpage

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

See also[edit]