Difference between revisions of "Template:ItemDropRatesRow"

From ChatWars Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{{#vardefine: source | {{{source| {{PageLink_to_Name| page= {{RemoveHTMLContainers| string= {{ReplaceNumericCharEncoding| string= {{{1|}}} }} }} }} }}} }}
 
<includeonly>{{#vardefine: source | {{{source| {{PageLink_to_Name| page= {{RemoveHTMLContainers| string= {{ReplaceNumericCharEncoding| string= {{{1|}}} }} }} }} }}} }}
 
  | {{{1|}}}, {{#var: source}} len: {{#len: {{#var: source}} }}
 
  | {{{1|}}}, {{#var: source}} len: {{#len: {{#var: source}} }}
  | <!--{{DroprateTable | source=--> {{#ask:
+
  | <!--{{DroprateTable | source=--> {{RemoveHTMLContainers| string = {{ReplaceNumericCharEncoding| string = {{#ask:
 
                               [[-Has subobject::{{#var: source}}]] [[Crafting ingredient.ItemType::Piece of Equipment]]
 
                               [[-Has subobject::{{#var: source}}]] [[Crafting ingredient.ItemType::Piece of Equipment]]
 
                               | mainlabel=-
 
                               | mainlabel=-
Line 7: Line 7:
 
                               | format=list
 
                               | format=list
 
                               |?Crafting ingredient#
 
                               |?Crafting ingredient#
                             }}
+
                             }} }} }}
 
   <!--}}-->
 
   <!--}}-->
  | {{DroprateTable | source= {{#ask:
+
  | {{DroprateTable | source= {{RemoveHTMLContainers| string = {{ReplaceNumericCharEncoding| string = {{#ask:
 
                               [[-Has subobject::{{#var: source}}]] [[Crafting ingredient.ItemType::Recipe (Item)]]
 
                               [[-Has subobject::{{#var: source}}]] [[Crafting ingredient.ItemType::Recipe (Item)]]
 
                               | mainlabel=-
 
                               | mainlabel=-
Line 15: Line 15:
 
                               |format=list
 
                               |format=list
 
                               |?Crafting ingredient#
 
                               |?Crafting ingredient#
                             }}
+
                             }} }} }}
 
   }}
 
   }}
                             {{#ask:
+
                             {{RemoveHTMLContainers| string = {{ReplaceNumericCharEncoding| string = {{#ask:
 
                               [[-Has subobject::{{#var: source}}]] [[Crafting ingredient.ItemType::Recipe (Item)]]
 
                               [[-Has subobject::{{#var: source}}]] [[Crafting ingredient.ItemType::Recipe (Item)]]
 
                               | mainlabel=-
 
                               | mainlabel=-
Line 23: Line 23:
 
                               |format=list
 
                               |format=list
 
                               |?Crafting ingredient#
 
                               |?Crafting ingredient#
                             }}
+
                             }} }} }}
 
  |-
 
  |-
 
</includeonly>
 
</includeonly>

Revision as of 22:42, 19 March 2019


This is a template for formatting one row (item) of the item part/recipe drop table