Difference between revisions of "Skill/Casting/3"
From A Wiki in the Desert
Line 6: | Line 6: | ||
{{#arraydefine:buildingrequires|{{#ask: [[Category:Buildings]] [[requires::{{FULLPAGENAME}}]] |link=none}}}}{{#loop: i | 0 | {{#arraysize:buildingrequires}} | <nowiki/> | {{#arraydefine:buildingrequires|{{#ask: [[Category:Buildings]] [[requires::{{FULLPAGENAME}}]] |link=none}}}}{{#loop: i | 0 | {{#arraysize:buildingrequires}} | <nowiki/> | ||
* Required to build [[{{#arrayindex:buildingrequires|{{#var:i}}}}]] | * Required to build [[{{#arrayindex:buildingrequires|{{#var:i}}}}]] | ||
− | }} | + | }}{{#arraydefine:itemrequires|{{#ask: [[Category:Items]] [[requires::{{FULLPAGENAME}}]] |link=none}}}}{{#loop: i | 0 | {{#arraysize:itemrequires}} | <nowiki/> |
− | |||
− | {{#arraydefine:itemrequires|{{#ask: [[Category:Items]] [[requires::{{FULLPAGENAME}}]] |link=none}}}}{{#loop: i | 0 | {{#arraysize:itemrequires}} | <nowiki/> | ||
* Required to produce [[{{#arrayindex:itemrequires|{{#var:i}}}}]] | * Required to produce [[{{#arrayindex:itemrequires|{{#var:i}}}}]] | ||
}} | }} | ||
Line 17: | Line 15: | ||
{{#arraydefine:requiredby|{{#ask: [[Category:Skills]] [[requires::{{FULLPAGENAME}}]] |link=none}}}}{{#ifexpr: {{#arraysize:requiredby}} > 0|=== Leads To === | {{#arraydefine:requiredby|{{#ask: [[Category:Skills]] [[requires::{{FULLPAGENAME}}]] |link=none}}}}{{#ifexpr: {{#arraysize:requiredby}} > 0|=== Leads To === | ||
{{#loop:i | 0 | {{#arraysize:requiredby}} |<nowiki/> | {{#loop:i | 0 | {{#arraysize:requiredby}} |<nowiki/> | ||
− | * [[ {{#arrayindex:requiredby|{{#var:i}}}}| {{#replace: {{#replace: {{#arrayindex:requiredby|{{#var:i}}}}|Skill|}}|/| }}]] | + | * [[{{#arrayindex:requiredby|{{#var:i}}}}| {{#replace: {{#replace: {{#arrayindex:requiredby|{{#var:i}}}}|Skill|}}|/| }}]] |
}}}} | }}}} | ||