Difference between revisions of "Template:Classes table"
Jump to navigation
Jump to search
m |
|||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
| − | *Used to apply consistent format to class tables. | + | * Used to apply consistent format to class tables. |
| − | *Usage: <nowiki>{{Class table|type=number}}</nowiki> or <nowiki>{{Class table|type=text}}</nowiki> | + | * Usage: <code><nowiki>{{Class table|type=number}}</nowiki></code> or <code><nowiki>{{Class table|type=text}}</nowiki></code>. |
| + | * To add a column "Item only", use <code><nowiki>{{Class table|itemonly=1}}</nowiki></code> | ||
[[Category:Templates (Diablo II)]] | [[Category:Templates (Diablo II)]] | ||
[[Category:Templates (Table)]] | [[Category:Templates (Table)]] | ||
| Line 9: | Line 10: | ||
| #default = {{Number table}} width=75% | | #default = {{Number table}} width=75% | ||
}} | }} | ||
| − | {{# | + | {{#ifexpr:{{{itemonly|0}}}| |
{{!}}- | {{!}}- | ||
!width=11% align=center{{!}}[[Amazon]] | !width=11% align=center{{!}}[[Amazon]] | ||