跳至內容

模板: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.

參見[編輯]