Difference between revisions of "Template:Classes table"
Jump to navigation
Jump to search
(only headers centered) |
Tag: Undo |
||
| (10 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: <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> | |
| − | + | {{#switch: {{{type|number}}} | |
| − | </noinclude>{{Number table}} width=75% | + | | text = {{Text table}} width=75% |
| − | |- | + | | #default = {{Number table}} width=75% |
| − | !width=12% align=center | + | }} |
| − | !width=13% align=center | + | {{#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=11% align=center{{!}}[[Paladin (Diablo II)|Paladin]] | ||
| + | !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]] | ||
| + | }} | ||