Шаблон:AchievementsListTable
Parameters
- width
- width in pixels or a percentage of the screen (i.e. 200,25%,100% are all vaid values)
- archetype
- Name of the Archetype (i.e. Mage, Priest, Fighter or Scout)
- bordercolor
- color of the border
- strongcolor
- Background color of the top line (with the archetype)
- weakcolor
- Background color of the rest of the table
- class1
- Class 1
- c1sc1
- Class 1, Subclass 1
- c1sc2
- Class 1, Subclass 2
- class2
- Class 2
- c2sc1
- Class 2, Subclass 1
- c2sc2
- Class 2, Subclass 2
- class3
- Class 3
- c3sc1
- Class 3, Subclass 1
- c3sc2
- Class 3, Subclass 2
Calling
{{ArchetypeTable| width = | archetype = | bordercolor = | strongcolor = | weakcolor = | class1 = | c1sc1 = | c1sc2 = | class2 = | c2sc1 = | c2sc2 = | class3 = | c3sc1 = | c3sc2 = }}
Example
if your code looks like this (taken from Mage):
{{AchievementsListTable| width = 50%| archetype = Mage| bordercolor = #bfa3b1| strongcolor = #f2e0e0| weakcolor = #fff5f5| class1 = Sorcerer| c1sc1 = Warlock| c1sc2 = Wizard| class2 = Enchanter| c2sc1 = Coercer| c2sc2 = Illusionist| class3 = Summoner| c3sc1 = Conjurer| c3sc2 = Necromancer }}
your output will look like this:
Mage | (Тени) |
Sorcerer | (Тени) |
- Warlock | (Тени) |
- Wizard | (Тени) |
Enchanter | (Тени) |
- Coercer | (Тени) |
- Illusionist | (Тени) |
Summoner | (Тени) |
- Conjurer | (Тени) |
- Necromancer | (Тени) |