Tip of the Day
Being overencumbered only slows down your activities, but doesn't affect travel.
Template:Community Loadouts New: Difference between revisions
From Walkscape Walkthrough
mNo edit summary |
mNo edit summary |
||
| Line 7: | Line 7: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly>= {{#invoke:YAMLLookup|getStringByPath|WikiTemplateStrings.pageHeaders.loadouts|{{{ | </noinclude><includeonly>= {{#invoke:YAMLLookup|getStringByPath|WikiTemplateStrings.pageHeaders.loadouts|{{{3}}}}} = | ||
{{#vardefine: | {{#vardefine:Name|{{#switch: {{{1}}} | ||
-->{{#ifexist: Gear:{{#var: | | 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: | <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.]]}}</includeonly><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 17: | Line 21: | ||
"paramOrder": [ | "paramOrder": [ | ||
"1", | "1", | ||
"2" | "2", | ||
"3" | |||
], | ], | ||
"format": "inline", | "format": "inline", | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"aliases": [ | |||
"Type" | |||
], | |||
"label": "Entry Type", | |||
"description": "The type of page", | |||
"example": "Item", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"aliases": [ | "aliases": [ | ||
"Item Name Normalized" | "Item Name Normalized" | ||
| Line 28: | Line 43: | ||
"example": "iron_pickaxe", | "example": "iron_pickaxe", | ||
"type": "string", | "type": "string", | ||
"autovalue": "", | |||
"required": true | "required": true | ||
}, | }, | ||
" | "3": { | ||
"aliases": [ | "aliases": [ | ||
"Language Code" | "Language Code" | ||
Revision as of 05:27, 27 November 2025
= {{#invoke:YAMLLookup|getStringByPath|WikiTemplateStrings.pageHeaders.loadouts|{{{2}}}}} =
{{#vardefine:itemName|{{#invoke:Items_New|getName|{{{1}}}|EN}}}}<!--
-->{{#ifexist: Gear:{{#var:itemName}} | {{Subpage_Lists|Gear:{{#replace:{{#var:itemName}}|<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.]]}}
Builds the community gear set section of item pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Entry Type | 1 Type | The type of page
| String | required |
| Item Name | 2 Item Name Normalized | no description
| String | required |
| Language Code | 3 Language Code | no description
| String | required |
