Tip of the day
The tongs button at the bottom of the screen opens the crafting interface.
Template:Services Test: Difference between revisions
From Walkscape Walkthrough
mNo edit summary |
mNo edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#vardefine: | <noinclude><syntaxhighlight lang="wikitext"><!-- | ||
-->{{#vardefine:boxStyle|float:right; height:60px; border-radius:10px; border-style:solid; border-width:2px; border-color:#22333d;}}<!-- | |||
-->{{#vardefine:basicNameEN|{{#invoke:Services_Test|getName|{{{Service Name}}}|EN}}}}<!-- | |||
-->{{#vardefine:basicNameLoc|{{#invoke:Services_Test|getName|{{{Service Name}}}|{{{Language}}}}}}}<!-- | |||
-->{|style="{{#var:boxStyle}}" | |||
| | | style="width:42px; text-align:center;" | [[File:{{#var:basicNameEN}}.svg|32px]] | ||
}}}}<!-- | | style="width:135px;" | {{#var:basicNameLoc}} | ||
--> | |||
{|style=" | |||
| style="width:42px; text-align:center;" | [[File | |||
| style="width:135px;" | | |||
|} | |} | ||
<blockquote>{{#invoke: | <blockquote>{{#invoke:Services_Test|getDesc|{{{Service Name}}}}}</blockquote> | ||
{{#invoke: | {{#invoke:Services_Test|relatedServices|{{{Service Name}}}|EN}}</syntaxhighlight> | ||
[[Category:Templates]] | |||
</noinclude><includeonly><!-- | |||
| style="width: | -->{{#vardefine:boxStyle|float:right; height:60px; border-radius:10px; border-style:solid; border-width:2px; border-color:#22333d;}}<!-- | ||
-->{{#vardefine:basicNameEN|{{#invoke:Services_Test|getName|{{{Service Name}}}|EN}}}}<!-- | |||
-->{{#vardefine:basicNameLoc|{{#invoke:Services_Test|getName|{{{Service Name}}}|{{{Language}}}}}}}<!-- | |||
-->{|style="{{#var:boxStyle}}" | |||
| style="width:42px; text-align:center;" | [[File:{{#var:basicNameEN}}.svg|32px]] | |||
| style="width:135px;" | {{#var:basicNameLoc}} | |||
|} | |} | ||
<blockquote>{{#invoke: | <blockquote>{{#invoke:Services_Test|getDesc|{{{Service Name}}}}}</blockquote> | ||
{{#invoke: | {{#invoke:Services_Test|relatedServices|{{{Service Name}}}|EN}}</includeonly><noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"Service Name": { | |||
"description": "The name of the service (normalized).", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Language": { | |||
"aliases": [ | |||
"Language Code" | |||
], | |||
"label": "Language Code", | |||
"example": "EN", | |||
"default": "EN", | |||
"autovalue": "EN", | |||
"required": true, | |||
"type": "string", | |||
"description": "Language to localize into." | |||
} | |||
}, | |||
"description": "Builds the lists of services for a given name" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 11:04, 27 June 2026
<!--
-->{{#vardefine:boxStyle|float:right; height:60px; border-radius:10px; border-style:solid; border-width:2px; border-color:#22333d;}}<!--
-->{{#vardefine:basicNameEN|{{#invoke:Services_Test|getName|{{{Service Name}}}|EN}}}}<!--
-->{{#vardefine:basicNameLoc|{{#invoke:Services_Test|getName|{{{Service Name}}}|{{{Language}}}}}}}<!--
-->{|style="{{#var:boxStyle}}"
| style="width:42px; text-align:center;" | [[File:{{#var:basicNameEN}}.svg|32px]]
| style="width:135px;" | {{#var:basicNameLoc}}
|}
<blockquote>{{#invoke:Services_Test|getDesc|{{{Service Name}}}}}</blockquote>
{{#invoke:Services_Test|relatedServices|{{{Service Name}}}|EN}}
Builds the lists of services for a given name
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Service Name | Service Name | The name of the service (normalized). | String | required |
| Language Code | Language Language Code | Language to localize into.
| String | required |
