Template:Section Crafting Ingredients/doc

From Z1 Battle Royale Wiki
Jump to: navigation, search
Template-info.png Documentation

Usage[edit source]

This template uses the following parameters:

  • qty1: Type in the amount needed for ingredient 1.
  • ingred1: Type in the name of ingredient 1.
  • qty2: Type in the amount needed for ingredient 2.
  • ingred2: Type in the name of ingredient 2.
  • qty3: Type in the amount needed for ingredient 3.
  • ingred3: Type in the name of ingredient 3.
  • qty4: Type in the amount needed for ingredient 4.
  • ingred4: Type in the name of ingredient 4.
  • qty5: Type in the amount needed for ingredient 5.
  • ingred5: Type in the name of ingredient 5.
  • prep: type in the required tools needed to prepare the ingredients.
{{Section Crafting Ingredients
|qty1=
|ingred1=
|qty2=1
|ingred2=
|qty3=
|ingred3=
|qty4=
|ingred4=
|qty5=
|ingred5=
|prep=
}}

Output[edit source]

Prints out a section with a level 2 title Crafting Ingredients within the article where the template is used.

The article section contains a list with on each line, for each given quantity and ingredient, the quantity needed (qty) and the name of the ingredient (ingred).

This template will create a Property:Has ingredients for the article where it is used in.

[[Has ingredients:: {{{qty1|?}}};{{{ingred1|?}}};{{{qty2|?}}};{{{ingred2|?}}};{{{qty3|?}}};{{{ingred3|?}}};{{{qty4|?}}};{{{ingred4|?}}};{{{qty5|?}}};{{{ingred5|?}}}| ]]

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.