Tip of the Day
Pay attention to the specifics of an achievement - some only count toward the unlock if a drop comes from an activity directly.

Template:Community Loadouts New: Difference between revisions

From Walkscape Walkthrough
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<noinclude><syntaxhighlight lang="wikitext">= {{#invoke:YAMLLookup|getStringByPath|WikiTemplateStrings.pageHeaders.loadouts|{{{2}}}}} =
<noinclude><syntaxhighlight lang="wikitext">= {{#invoke:YAMLLookup|getStringByPath|WikiTemplateStrings.pageHeaders.loadouts|{{{3}}}}} =
{{#vardefine:itemName|{{#invoke:Items_New|getName|{{{1}}}|EN}}}}<!--
{{#vardefine:Name|{{#switch: {{{1}}}
-->{{#ifexist: Gear:{{#var:itemName}} | {{Subpage_Lists|Gear:{{#replace:{{#var:itemName}}|<nowiki> </nowiki>|_}}}}
| Item = {{#invoke:Items_New|getName|{{{2}}}|EN}}
| Activity = {{#invoke:Activities_New|getName|{{{2}}}|EN}}
| #default = Unknown Type
}}}}<!--
-->{{#ifexist: Gear:{{#var:Name}} | {{Subpage_Lists|Gear:{{#replace:{{#var:Name}}|<nowiki> </nowiki>|_}}}}


<span style="float: right; border: 2px solid #22333d; border-radius: 8px; padding: 0px 6px 0px 6px;">[[Gear:{{#var:itemName}}|Edit Gear Sets]]</span> | No gear sets exists yet. [[Gear:{{#var:itemName}} | You can help make one.]]}}</syntaxhighlight>
<span style="float: right; border: 2px solid #22333d; border-radius: 8px; padding: 0px 6px 0px 6px;">[[Gear:{{#var:Name}}|Edit Gear Sets]]</span> | No gear sets exists yet. [[Gear:{{#var:Name}} | You can help make one.]]}}</syntaxhighlight>


[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 05:31, 27 November 2025

= {{#invoke:YAMLLookup|getStringByPath|WikiTemplateStrings.pageHeaders.loadouts|{{{3}}}}} =
{{#vardefine:Name|{{#switch: {{{1}}}
 | Item = {{#invoke:Items_New|getName|{{{2}}}|EN}}
 | Activity = {{#invoke:Activities_New|getName|{{{2}}}|EN}}
 | #default = Unknown Type
}}}}<!--
-->{{#ifexist: Gear:{{#var:Name}} | {{Subpage_Lists|Gear:{{#replace:{{#var:Name}}|<nowiki> </nowiki>|_}}}}

<span style="float: right; border: 2px solid #22333d; border-radius: 8px; padding: 0px 6px 0px 6px;">[[Gear:{{#var:Name}}|Edit Gear Sets]]</span> | No gear sets exists yet. [[Gear:{{#var:Name}} | You can help make one.]]}}


Builds the community gear set section of item pages.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Entry Type1 Type

The type of page

Example
Item
Stringrequired
Item Name2 Item Name Normalized

no description

Example
iron_pickaxe
Auto value
Stringrequired
Language Code3 Language Code

no description

Default
EN
Example
EN
Auto value
EN
Stringrequired