使用方法/datatable2:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第66行: 第66行:
</datatable2>
</datatable2>
}}
}}
This will display
'''Extension:DataTable2''': ''interesting page'' - extension description
'''MW:Manual:Contents|Manual''': ''very interesting page'' - manual page


This time, each record is formatted using template code provided in a <code>&lt;template&gt;</code> tag, the columns have names which can be used in the template code, and the result is not automatically wrapped into a wikitable. You can also combine <code>&lt;head&gt;</code> and <code>&lt;template&gt;</code>, in which case they must be given in this order.
This time, each record is formatted using template code provided in a <code>&lt;template&gt;</code> tag, the columns have names which can be used in the template code, and the result is not automatically wrapped into a wikitable. You can also combine <code>&lt;head&gt;</code> and <code>&lt;template&gt;</code>, in which case they must be given in this order.