Difference between revisions of "Template:Classes table"
Jump to navigation
Jump to search
Tag: Undo |
|||
| (9 intermediate revisions by the same user not shown) | |||
| 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| | + | * 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)]] | ||
</noinclude> | </noinclude> | ||
| − | {{#switch: {{{ | + | {{#switch: {{{type|number}}} |
| text = {{Text table}} width=75% | | text = {{Text table}} width=75% | ||
| #default = {{Number table}} width=75% | | #default = {{Number table}} width=75% | ||
}} | }} | ||
| − | |- | + | {{#ifexpr:{{{itemonly|0}}}| |
| − | !width=12% align=center | + | {{!}}- |
| − | !width=13% align=center | + | !width=11% align=center{{!}}[[Amazon]] |
| − | !width=12% align=center | + | !width=11% align=center{{!}}[[Assassin]] |
| − | !width=13% align=center | + | !width=11% align=center{{!}}[[Barbarian (Diablo II)|Barbarian]] |
| − | !width=12% align=center | + | !width=11% align=center{{!}}[[Druid (Diablo II)|Druid]] |
| − | !width=13% align=center | + | !width=11% align=center{{!}}[[Necromancer]] |
| − | !width=12% align=center | + | !width=11% align=center{{!}}[[Paladin (Diablo II)|Paladin]] |
| − | !width=13% align=center | + | !width=11% align=center{{!}}[[Sorceress]] |
| + | !width=11% align=center{{!}}[[Warlock (Diablo II)|Warlock]] | ||
| + | !width=11% align=center{{!}}Item only | ||
| + | | | ||
| + | {{!}}- | ||
| + | !width=12% align=center{{!}}[[Amazon]] | ||
| + | !width=13% align=center{{!}}[[Assassin]] | ||
| + | !width=12% align=center{{!}}[[Barbarian (Diablo II)|Barbarian]] | ||
| + | !width=13% align=center{{!}}[[Druid (Diablo II)|Druid]] | ||
| + | !width=12% align=center{{!}}[[Necromancer]] | ||
| + | !width=13% align=center{{!}}[[Paladin (Diablo II)|Paladin]] | ||
| + | !width=12% align=center{{!}}[[Sorceress]] | ||
| + | !width=13% align=center{{!}}[[Warlock (Diablo II)|Warlock]] | ||
| + | }} | ||