Template:Crafting carpentry/zh-hant/doc

From PZwiki

使用方法

有關如何正確顯示表的指南,請參閱。{{Crafting header}}.

See below for a step-by-step guide on how to add a recipe to an article:

  1. Insert the following snippet into your article:
  2. {{Crafting header/zh-hant|ing=Y}}
    {{Crafting general/zh-hant|X|ing=Y}}
    |}
  3. Replace the X with the index of the specific recipe you want to display. See Index reference for a list of available recipes.
  4. Add all the recipes you want to add. This can even be different types of recipes. I.e. {{Crafting general}} and {{Crafting cooking}}.
  5. {{Crafting header/zh-hant|ing=Y}}
    {{Crafting general/zh-hant|001|ing=Y}}
    {{Crafting cooking|001|ing=Y}}
    |}
  6. Now replace the Y with the most number of ingredients required (add ing=Y for each entry first). This will shorten the table and make it look neater, by removing the unnecessary columns.
  7. In our above example, 1 is the largest number of ingredients for any recipe in our table. So: This:
    {{Crafting header/zh-hant|ing=1}}
    {{Crafting general/zh-hant|001|ing=1}}
    {{Crafting cooking|001|ing=1}}
    |}

    Produces:

    產品 獲得經驗 技能 技能書 材料 1
    GunpowderJar.png
    火藥
    0 XP none
    (consumed)
    Empty Bottle (Bourbon)
    Water Bottle (Bourbon)
    0 XP none WhiskeyFull.png
    Bourbon
    (consumed)

    Note that the ing argument needs to be defined for the table contents too.