Difference between revisions of "Template:ResourceBreakdown"

From ChatWars Wiki
Jump to: navigation, search
Line 1: Line 1:
* test1
 
** test2
 
*** test3
 
** test22
 
** test23
 
* test11
 
 
{{#vardefine: depth | {{#sub: {{{#userparam}}} | 0 | {{#pos: {{{#userparam}}} | ; | 0 }} }} }}<!--
 
{{#vardefine: depth | {{#sub: {{{#userparam}}} | 0 | {{#pos: {{{#userparam}}} | ; | 0 }} }} }}<!--
 
-->{{#vardefine: i | {{#var: depth}} }}<!--working variable for depth to not overwrite the total depth--><!--
 
-->{{#vardefine: i | {{#var: depth}} }}<!--working variable for depth to not overwrite the total depth--><!--

Revision as of 12:32, 5 September 2018

Checks if given material is most basic resource, else breaks it down into another layer of more basic ones Unfinished