Template:Template example row/doc

From Teampedia
Revision as of 02:18, 8 February 2020 by Zacharycook505-104668625857976836193 (Talk | contribs) (Created page with "{{documentation subpage}} This template generates a table of examples for use in template documentation. == Usage == <pre> <table class="wikitable"> {{template example...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Usage

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

 <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>

 <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>

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

See also