Difference between revisions of "Template:IngredientSubObject"

From ChatWars Wiki
Jump to: navigation, search
Line 1: Line 1:
  <noinclude>
+
<noinclude>
  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>
+
&lt&pre>
  {{IngredientSubObject
+
{{IngredientSubObject
  | qty=
+
| qty=
  | ingredient=
+
| ingredient=
  }}
+
}}
  &lt&/pre>
+
&lt&/pre>
  Edit the page to see the template text.
+
Edit the page to see the template text.
  </noinclude><includeonly>[[Crafting ingredient::{{{ingredient}}}]]: {{{qty}}}
+
</noinclude><includeonly>[[Crafting ingredient::{{{ingredient}}}]]: {{{qty}}}
  {{#subobject:IngredientSubObject with {{{ingredient|}}}
+
{{#subobject:IngredientSubObject with {{{ingredient|}}}
  | qty={{{qty|}}}
+
| qty={{{qty|}}}
  | ingredient={{{ingredient|}}}
+
| ingredient={{{ingredient|}}}
  }}</includeonly>
+
}}</includeonly>

Revision as of 12:58, 14 July 2018

This is the "IngredientSubObject" template.
It should be called in the following format:
&lt&pre>
 
{{{Qty}}}
&lt&/pre>
Edit the page to see the template text.