Шаблон:AllAdvCats — различия между версиями

Материал из Энциклопедия EverQuest II
Перейти к: навигация, поиск
 
(не показаны 4 промежуточные версии 2 участников)
Строка 1: Строка 1:
<includeonly>{{#if:{{{4|}}}|{{AllEquipCats|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}|{{AllFighterCats|{{{1|}}}|}}{{AllMageCats|{{{1|}}}|}}{{AllPriestCats|{{{1|}}}|}}{{AllScoutCats|{{{1|}}}|}} }}</includeonly><noinclude>
+
<includeonly><!--
 +
-->{{#if:{{{4|}}}<!--
 +
-->|<!--
 +
  -->{{AllEquipCats|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}<!--
 +
-->|<!--
 +
  --><!-- {{AllFighterCats|{{{1|}}}|}}{{AllMageCats|{{{1|}}}|}}{{AllPriestCats|{{{1|}}}|}}{{AllScoutCats|{{{1|}}}|}} --><!--
 +
-->}}<!--
 +
-->{{#ifeq:{{lc:{{{3|}}}}}<!--
 +
-->|<!--
 +
  -->метательное оружие<!--
 +
-->|<!--
 +
  -->{{AllEquipCats|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}<!--
 +
-->|<!--
 +
  -->{{#ifeq:{{lc:{{{3|}}}}}<!--
 +
  -->|<!--
 +
    -->лук<!--
 +
  -->|<!--
 +
    -->{{AllEquipCats|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}<!--
 +
  -->|<!--
 +
  -->}}<!--
 +
-->}}</includeonly><noinclude>
 
Use this template to add categories for something for all Adventuring Classes.
 
Use this template to add categories for something for all Adventuring Classes.
  
==Parameters==
+
==Параметры==
 
{|
 
{|
 
! 1
 
! 1
Строка 17: Строка 37:
 
|}
 
|}
  
==Example==
+
==Пример==
 
If you put the following anywhere in your page...
 
If you put the following anywhere in your page...
 
<pre>{{AllAdvCats|Spells}}</pre>
 
<pre>{{AllAdvCats|Spells}}</pre>
Строка 23: Строка 43:
 
<pre>{{AllAdvCats|Equipment|yes|Plate Armor}}</pre>
 
<pre>{{AllAdvCats|Equipment|yes|Plate Armor}}</pre>
 
It will create links and text for all Warriors, Crusaders and Clerics to the Equipment categories because only those three classes can wear Plate Armor. This format is ONLY used internally by [[Template:EquipInformation]]
 
It will create links and text for all Warriors, Crusaders and Clerics to the Equipment categories because only those three classes can wear Plate Armor. This format is ONLY used internally by [[Template:EquipInformation]]
 +
 +
==История изменений==
 +
15.02.2008 - Добрым Фу были внесены изменения, для корректного автоопределения классов для оружия типа - Лук
 +
  
 
{{AllCatsSeeAlso}}
 
{{AllCatsSeeAlso}}

Текущая версия на 19:21, 18 августа 2008

Use this template to add categories for something for all Adventuring Classes.

Параметры

1 The word to follow the class name in the Category links (i.e. Spells, Items, Equipment, Icons)
2 If this parameter is not blank text will also be output for classes
3 If called from Template:EquipInformation, this is wtype. This is what allows us to leave classes blank and still filter for the correct classes by weapon type.
4 If called from Template:EquipInformation, this is dtype. This is what allows us to leave classes blank and still filter for the correct classes by armor type.

Пример

If you put the following anywhere in your page...

{{AllAdvCats|Spells}}

It will create links only to the categories for all adventurer classes' Spells with adding any text.

{{AllAdvCats|Equipment|yes|Plate Armor}}

It will create links and text for all Warriors, Crusaders and Clerics to the Equipment categories because only those three classes can wear Plate Armor. This format is ONLY used internally by Template:EquipInformation

История изменений

15.02.2008 - Добрым Фу были внесены изменения, для корректного автоопределения классов для оружия типа - Лук


Смотрите также

Полезные ссылки по шаблонам: Все шаблоны Информация о шаблонах


Use this template to add categories for something for all Adventuring Classes.

Parameters

1 The word to follow the class name in the Category links (i.e. Spells, Items, Equipment, Icons)
2 If this parameter is not blank text will also be output for classes
3 If called from Template:EquipInformation, this is wtype. This is what allows us to leave classes blank and still filter for the correct classes by weapon type.
4 If called from Template:EquipInformation, this is dtype. This is what allows us to leave classes blank and still filter for the correct classes by armor type.

Example

If you put the following anywhere in your page...

{{AllAdvCats|Spells}}

It will create links only to the categories for all adventurer classes' Spells with adding any text.

{{AllAdvCats|Equipment|yes|Plate Armor}}

It will create links and text for all Warriors, Crusaders and Clerics to the Equipment categories because only those three classes can wear Plate Armor. This format is ONLY used internally by Template:EquipInformation

Смотрите также

Полезные ссылки по шаблонам: Все шаблоны Информация о шаблонах