Шаблон:RecipeBook — различия между версиями
Лайонелла (обсуждение | вклад) |
Лайонелла (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
<includeonly>[[Category:Книги рецептов|{{#ifeq:{{#explode:{{PAGENAME}}| |0}}|Advanced|{{#sub:{{PAGENAME}}|9}}|{{PAGENAME}}}}]]<!-- | <includeonly>[[Category:Книги рецептов|{{#ifeq:{{#explode:{{PAGENAME}}| |0}}|Advanced|{{#sub:{{PAGENAME}}|9}}|{{PAGENAME}}}}]]<!-- | ||
− | -->{{#if: {{{class|}}}|{{TestCharClass|{{{class}}}}}[[Category:{{{class}}} - книги рецептов]]{{#if: {{{adornment|}}}|[[Category:{{{class}}} | + | -->{{#if: {{{class|}}}|{{TestCharClass|{{{class}}}}}[[Category:{{{class}}} - книги рецептов]]{{#if: {{{adornment|}}}|[[Category:{{{class}}} - книги рецептов украшений]]}}|}}<!-- |
− | -->{{#if: {{{adornment|}}}|[[Category: | + | -->{{#if: {{{adornment|}}}|[[Category:Книги рецептов украшений]]}}<!-- |
-->{{#if: {{{level|}}}{{{skill|}}}||Either '''''level''''' or '''''skill''''' is required![[Category:Требуется информация]]}}</includeonly> | -->{{#if: {{{level|}}}{{{skill|}}}||Either '''''level''''' or '''''skill''''' is required![[Category:Требуется информация]]}}</includeonly> | ||
{{INameORBox|{{PAGENAMEE}}| | {{INameORBox|{{PAGENAMEE}}| |
Версия 20:14, 14 июля 2008
|
Как получить: obtain
Use this template to define a Recipe Book, Page, Scroll, etc. Anything that can be scribed to add a crafting recipe.
Параметры
Argument | Explanation |
---|---|
icon | page, tornpage, blueprint, book, openbook, scroll, etc. See Category:Recipe Book Icons |
icat | Rarity (COMMON, UNCOMMON, HANDCRAFTED, TREASURED, MASTERCRAFTED, LEGENDARY, FABLED or MYTHICAL |
flags | LORE NO-TRADE NO-VALUE, etc |
desc | Description (Optional) |
class | Armorer, Provisioner, Tinkerer, etc. required |
level | Level needed to scribe, IF class is not Transmuting or Tinkering required |
uses | If Uses is limited... |
skill | skill needed to scribe, IF class is Transmuting or Tinkering required |
obtain | How do I get one? i.e. Dropped by random mobs in {{Zone|ZoneName}} or Purchase from {{NPC|NPCName}} in {{Zone|ZoneName}}. See Template:QuestReward and Template:DroppedItem for templates useful in this field. |
itemlink | The link code, from your log file, that anyone can cut and paste in-game to create a link to the item. |
recipes | asterisk-list of the recipes. Use the form [[product|recipe name]]. |
wt | (OPTIONAL) Weight, default is 1.0, suppressed if 0 |
adornment | if this is an Adornment recipe book, put anything here. Adds a link for Category:Adornment Recipe Books. |
Пример
{{RecipeBook| icon =| <!-- page, scroll, blueprint, openbook, book, etc. Default: page --> icat =| flags =| desc =| class =| skill =| <!-- use only for Tinkering or Transmuting --> level =| <!-- blank if Tinkering or Transmuting --> uses =| <!-- use only if Uses is limited --> obtain =| <!-- use {{QuestReward}} or {{DroppedItem}} if applicable --> itemlink=| recipes = *[[name of end product|name of recipe]] *[[name of end product]]| wt =| <!-- optional --> adornment=| <!-- if non-blank, this is an adornments recipe book --> }}
See also:
- Template:RecipeBookx, shortcut to example is: {{subst:RBIx}}
- Template:Preloads/RecipeBook
Полезные ссылки по шаблонам: | Все шаблоны | Информация о шаблонах | |
---|---|---|---|