Difference between revisions of "Template:IngredientSubObject"

From ChatWars Wiki
Jump to: navigation, search
(Created page with " <noinclude> This is the "IngredientSubObject" template. It should be called in the following format: &lt&pre> {{IngredientSubObject | qty= | ingredient= }} &...")
 
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
  <noinclude>
+
<noinclude>[[Category:Template]]
  This is the "IngredientSubObject" template.
+
This is the "IngredientSubObject" template.
  It should be called in the following format:
+
It should be called in the following format:
  &lt&pre>
+
<nowiki>
  {{IngredientSubObject
+
{{IngredientSubObject
  | qty=
+
| Qty=
  | ingredient=
+
| ingredient=
  }}
+
}}
  &lt&/pre>
+
</nowiki>
  Edit the page to see the template text.
+
Edit the page to see the template text.
  </noinclude><includeonly>{{{qty}}}: [[RecipeIngredient::{{{ingredient}}}]]
+
</noinclude>
  {{#subobject:IngredientSubObject with {{{ingredient|}}}
+
<includeonly>[[Crafting ingredient::{{{ingredient}}}]]: {{{Qty}}}
  | qty={{{qty|}}}
+
{{#subobject:IngredientSubObject with {{{ingredient|}}}
  | ingredient={{{ingredient|}}}
+
|?Qty={{{Qty|}}}
  }}</includeonly>
+
|?ingredient={{{ingredient|}}}
 +
}}</includeonly>

Latest revision as of 22:19, 24 July 2018

This is the "IngredientSubObject" template.
It should be called in the following format:

 {{IngredientSubObject
 | Qty=
 | ingredient=
 }}
 
Edit the page to see the template text.