Welcome to the New Wiki

Please let us know if anything looks out of place.

Template:Activity Intro

From Walkscape Walkthrough
Revision as of 07:33, 19 November 2024 by wswiki>Bonez565
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{|class="ItemInfobox" style="float:right; border-radius:10px; border-style: solid; border-width: 2px border-color:#22333d;" 
|-
| style="text-align:center;" |
{|style="width:100%; height:60px;"
| style="width:42px; text-align:center;" |[[File:{{{1}}}.png|frameless|32px]] 
| style="text-align:center;" |'''{{{1}}}'''
|}
|-
|
{| style="width:100%; text-align:right;"
! Skill(s):
| style="text-align:left;" |{{#vardefine:skillLevels|{{#invoke:Activities|getSkillsAndLevels|{{{1}}}}}}}{{#vardefine:count|{{#count:{{#var:skillLevels}}|,}}}}{{#vardefine:index|0}}{{#while:
|{{#expr: {{#var:index}} < {{#var:count}} }}
|{{#vardefine:skill|{{#explode: {{#var:skillLevels}} | , | {{#var:index}}}}}}
{{#vardefine:level|{{#explode: {{#var:skillLevels}} | , | {{#expr: {{#var:index}} + 1}}}}}}
{{#ifexpr: {{#var:index}} > 1 | {{#ifeq: {{#expr: {{#var:index}} mod 2}} | 0 | <br> }}}}&nbsp;[[File:{{#var:skill}} Icon.png|frameless]] [[{{#var:skill}}]] lvl {{#var:level}}{{#vardefine:index|{{#expr: {{#var:index}} + 2}}}}}}
|-
! Max Efficiency:
| style="text-align:left;" |&nbsp;+{{#expr: ({{#invoke:Activities|getMaxWorkEfficiency|{{{1}}}}} - 1) * 100}}%
|-
{{#ifexpr: {{#len:{{#invoke:Activities|getRequiredKeywords|{{{1}}}}}}} > 0 |! Requires: |}}
{{#ifexpr: {{#len:{{#invoke:Activities|getRequiredKeywords|{{{1}}}}}}} > 0 | {{!}} style="text-align:left;" {{!}} {{#vardefine:keywordList|{{#invoke:Activities|getRequiredKeywords|{{{1}}}}}}}{{#vardefine:count|{{#count:{{#var:keywordList}}|,}}}}{{#vardefine:index|0}}{{#while:
|{{#expr: {{#var:index}} <= {{#var:count}} }}
|{{#vardefine:requirement|{{#explode: {{#var:keywordList}} | , | {{#var:index}}}}}}
&nbsp;[[{{#var:requirement}} Keyword|{{#var:requirement}}]][[Category:{{#var:requirement}} Keyword Activities]]{{#ifexpr: {{#expr: {{#var:index}} + 1}} <= {{#var:count}} | <br> }}
{{#vardefine:index|{{#expr: {{#var:index}} + 1}}}}
}}}}
|-
{{#ifexpr: {{#len:{{#invoke:Activities|getRequirements|{{{1}}}}}}} > 0 |! Have: |}}
{{#ifexpr: {{#len:{{#invoke:Activities|getRequirements|{{{1}}}}}}} > 0 | {{!}} style="text-align:left;" {{!}} {{#vardefine:requirementList|{{#invoke:Activities|getRequirements|{{{1}}}}}}}{{#vardefine:count|{{#count:{{#var:requirementList}}|,}}}}{{#vardefine:index|0}}{{#while:
|{{#expr: {{#var:index}} <= {{#var:count}} }}
|{{#vardefine:requirement|{{#explode: {{#var:requirementList}} | , | {{#var:index}}}}}}
&nbsp;{{#var:requirement}}{{#ifexpr: {{#expr: {{#var:index}} + 1}} <= {{#var:count}} | <br> }}
{{#vardefine:index|{{#expr: {{#var:index}} + 1}}}}
}}}}
|}
|}
<blockquote>{{#invoke:Activities|getDescription|{{{1}}}}}</blockquote>
[[File:{{{1}}}.png|left|frameless|32px]]'''{{{1}}}''' is {{#ifeq: {{#explode: {{#invoke:Activities|getSkillsAndLevels|{{{1}}}}} | , | 0}} | Agility |an|a}} [[{{#explode: {{#invoke:Activities|getSkillsAndLevels|{{{1}}}}} | , | 0}}]] activity.

== Location(s) ==
{{#ifeq: {{{1}}} | Emergency Swim Escape | Note: This activity is only visible if you have less than three pieces of [[Diving Gear]] equipped.}}{{#vardefine:locationRegions|{{#invoke:Activities|getLocationsAndRegions|{{{1}}}}}}}{{#vardefine:count|{{#count:{{#var:locationRegions}}|,}}}}{{#vardefine:index|0}}{{#while:
|{{#expr: {{#var:index}} < {{#var:count}} }}
|{{#vardefine:location|{{#explode: {{#var:locationRegions}} | , | {{#var:index}}}}}}
{{#vardefine:region|{{#explode: {{#var:locationRegions}} | , | {{#expr: {{#var:index}} + 1}}}}}}
&#32;
* [[{{#var:location}}]] in [[File:{{#var:region}} Coat of Arms.svg|frameless|32px]] [[{{#var:region}}]]
{{#vardefine:index|{{#expr: {{#var:index}} + 2}}}}}}

== Experience Info ==
{{#invoke:Activities|buildExperienceTable|{{{1}}}}}