Шаблон:AllEquipCats — различия между версиями
Лайонелла (обсуждение | вклад) |
Fuego (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
+ | |||
### First, we insert the most common ARMOR types (wtype is blank)### | ### First, we insert the most common ARMOR types (wtype is blank)### | ||
### Assumes that if wtype is blank, equipment is either armor, or something usable by ALL ### | ### Assumes that if wtype is blank, equipment is either armor, or something usable by ALL ### | ||
− | 1=- снаряжение | + | 1 = - снаряжение |
− | 2=Link | + | 2 = Link |
− | 3=wtype | + | 3 = wtype |
− | 4=dtype | + | 4 = dtype |
+ | |||
+ | -->{{#if:{{{3|}}}<!-- | ||
+ | -->|<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#switch:"{{uc:{{{4}}}}}"<!-- | ||
+ | -->| "КОЖАНЫЕ ДОСПЕХИ" = {{AllFighterCats|{{{1|}}}|{{{2|}}}}}, {{AllPriestCats|{{{1|}}}|{{{2|}}}}}, {{AllScoutCats|{{{1|}}}|{{{2|}}}}}<!-- | ||
+ | -->| "МАТЕРЧАТЫЕ ДОСПЕХИ" = <!-- {{AllFighterCats|{{{1|}}}|}}{{AllMageCats|{{{1|}}}|}}{{AllPriestCats|{{{1|}}}|}}{{AllScoutCats|{{{1|}}}|}} {{#if: {{{2|}}}|Все [[:Category:{{{1|}}}|Adventurers]]|}} --><!-- | ||
+ | -->| "КОЛЬЧУЖНЫЕ ДОСПЕХИ" = {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}}, {{AllClericCats|{{{1|}}}|{{{2|}}}}}, {{AllShamanCats|{{{1|}}}|{{{2|}}}}}<!-- | ||
+ | -->| "ЛАТНЫЕ ДОСПЕХИ" = {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}}, {{AllClericCats|{{{1|}}}|{{{2|}}}}}<!-- | ||
+ | -->| "БАКЛЕР" = {{AllPriestCats|{{{1|}}}|{{{2|}}}}}, {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}}<!-- | ||
+ | -->| "КРУГЛЫЙ ЩИТ" = {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}}<!-- | ||
+ | -->| "ОСАДНЫЙ ЩИТ" = {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}}<!-- | ||
+ | -->| "ТРЕУГОЛЬНЫЙ ЩИТ" = {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}}<!-- | ||
+ | -->| #default = {{AllFighterCats|{{{1|}}}|}}{{AllMageCats|{{{1|}}}|}}{{AllPriestCats|{{{1|}}}|}}{{AllScoutCats|{{{1|}}}|}}{{#if: {{{2|}}}|[[:Category:{{{1|}}}|все adventurers]]}}<!-- | ||
+ | -->| "СИМВОЛЫ" = {{AllMageCats|{{{1|}}}|{{{2|}}}}}, {{AllPriestCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}}<!-- | ||
+ | -->| "ЯД" = {{AllRogueCats|{{{1|}}}|{{{2|}}}}}, {{AllPredatorCats|{{{1|}}}|{{{2|}}}}}<!-- | ||
+ | -->| "ЗЕЛЬЕ" = <!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
### Here we handle WEAPON types (wtype) ### | ### Here we handle WEAPON types (wtype) ### | ||
− | -->{{#switch: "{{uc:{{{3|}}}}}" | + | |
− | | "ТОПОР" | + | -->{{#switch:"{{uc:{{{3|}}}}}"<!-- |
− | | "ЛУК" = {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}} | + | -->| "ТОПОР"<!-- |
− | | "КИНЖАЛ" = {{AllMageCats|{{{1|}}}|{{{2|}}}}}, {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}} | + | -->| "ЛУК" = {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}}<!-- |
− | | "КУЛАКИ" = {{AllBrawlerCats|{{{1|}}}|{{{2|}}}}} | + | -->| "КИНЖАЛ" = {{AllMageCats|{{{1|}}}|{{{2|}}}}}, {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}<!-- |
− | | "БОЛЬШОЙ МЕЧ" | + | -->| "КУЛАКИ" = {{AllBrawlerCats|{{{1|}}}|{{{2|}}}}}<!-- |
− | | "БОЛЬШОЙ МОЛОТ" = {{AllFighterCats|{{{1|}}}|{{{2|}}}}}, {{AllPriestCats|{{{1|}}}|{{{2|}}}}} | + | -->| "БОЛЬШОЙ МЕЧ"<!-- |
− | | "БОЛЬШОЕ КОПЬЕ" = {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllShamanCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}} | + | -->| "БОЛЬШОЙ МОЛОТ" = {{AllFighterCats|{{{1|}}}|{{{2|}}}}}, {{AllPriestCats|{{{1|}}}|{{{2|}}}}}<!-- |
− | | "MACE" | + | -->| "БОЛЬШОЕ КОПЬЕ" = {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllShamanCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}}<!-- |
− | | "МОЛОТ" = {{AllFighterCats|{{{1|}}}|{{{2|}}}}}, {{AllPriestCats|{{{1|}}}|{{{2|}}}}} | + | -->| "MACE"<!-- |
− | | "БОЛЬШОЙ ТОПОР" = {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}} | + | -->| "МОЛОТ" = {{AllFighterCats|{{{1|}}}|{{{2|}}}}}, {{AllPriestCats|{{{1|}}}|{{{2|}}}}}<!-- |
− | | "РАПИРА" = {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}} | + | -->| "БОЛЬШОЙ ТОПОР" = {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}}<!-- |
− | | "КОПЬЕ" = {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllShamanCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}} | + | -->| "РАПИРА" = {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}<!-- |
− | | "ПОСОХ" = {{AllFighterCats|{{{1|}}}|{{{2|}}}}}, {{AllMageCats|{{{1|}}}|{{{2|}}}}}, {{AllPriestCats|{{{1|}}}|{{{2|}}}}} | + | -->| "КОПЬЕ" = {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllShamanCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}}<!-- |
− | | "МЕЧ" = {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}}, {{AllDruidCats|{{{1|}}}|{{{2|}}}}} | + | -->| "ПОСОХ" = {{AllFighterCats|{{{1|}}}|{{{2|}}}}}, {{AllMageCats|{{{1|}}}|{{{2|}}}}}, {{AllPriestCats|{{{1|}}}|{{{2|}}}}}<!-- |
− | | "ЖЕЗЛ" = {{AllMageCats|{{{1|}}}|{{{2|}}}}}, {{AllPriestCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllBrawlerCats|{{{1|}}}|{{{2|}}}}} | + | -->| "МЕЧ" = {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllCrusaderCats|{{{1|}}}|{{{2|}}}}}, {{AllDruidCats|{{{1|}}}|{{{2|}}}}}<!-- |
− | | "МЕТАТЕЛЬНОЕ ОРУЖИЕ" = {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllBrawlerCats|{{{1|}}}|{{{2|}}} | + | -->| "ЖЕЗЛ" = {{AllMageCats|{{{1|}}}|{{{2|}}}}}, {{AllPriestCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllBrawlerCats|{{{1|}}}|{{{2|}}}}}<!-- |
− | }}<!-- | + | -->| "МЕТАТЕЛЬНОЕ ОРУЖИЕ" = {{AllScoutCats|{{{1|}}}|{{{2|}}}}}, {{AllWarriorCats|{{{1|}}}|{{{2|}}}}}, {{AllBrawlerCats|{{{1|}}}|{{{2|}}}}}<!-- |
− | --></includeonly><noinclude> | + | -->}}</includeonly><noinclude> |
This is a sub-template belonging to [[Template:AllAdvCats]], used to determine Classes when classes is blank, and should not be called directly. | This is a sub-template belonging to [[Template:AllAdvCats]], used to determine Classes when classes is blank, and should not be called directly. | ||
Текущая версия на 19:33, 18 августа 2008
This is a sub-template belonging to Template:AllAdvCats, used to determine Classes when classes is blank, and should not be called directly.
Changes
- 2008-03-03: uberfuzzy - cloth armor no longer shows "All Adventurers" and adds equipment to all cats
- 2008-02-28: uberfuzzy - moved poison up to be checked a more logical time, and added a entry for potions (to do nothing)
- 2007-12-07: uberfuzzy - shields no longer use wtype=shield
- 30 Sept 2007: multiple edits, by uberfuzzy
- removed spc calls, now done at the arch and class level,
- moved scout exception into main type switch, so AllScout can get pushed to top of list.
- extra cases to allow for "cloth/leather/chain/plate" for dtype without "* Armor" also.
- 24 May 2007: added Symbols and Poison
- 15 March 2007: fixed Shield display. Added support for weapon types.
- 10 December 2006: Chain Armor should have had All Scouts, not just Bards and Rogues
Полезные ссылки: | Все шаблоны | Information Templates | Class Templates |
---|