Template:Template example row

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

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

使用

编辑
 <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.

参见

编辑