Template:MHNowMaterial: Difference between revisions

From MHWiki
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
{{#get_web_data:url={{filepath:MHNow-{{{1|Amber Fang}}} Data.json}}
{{#get_web_data:url=https://mhwiki.xyz/wiki/JSONData:MHNow-ItemData?action=raw
|format=JSON
|format=JSON
|data=nameEn,nameJp,descEn,descJp,rare,icon,color}}|-
|data=nameEn,nameJp,descEn,descJp,rare,icon,color
|filters=nameEn={{{1|Amber Fang}}}}}|-
| {{MHNowItemLink|{{#external_value:nameEn}}|{{#external_value:icon}}|{{#external_value:color}}<noinclude>|jp={{#external_value:nameJp}}</noinclude>}} || Rare {{#external_value:rare}} || {{#switch:{{#external_value:rare}}|1=5z|2=10z|3=20z|4=50z|5=100z|6=500z}}
| {{MHNowItemLink|{{#external_value:nameEn}}|{{#external_value:icon}}|{{#external_value:color}}<noinclude>|jp={{#external_value:nameJp}}</noinclude>}} || Rare {{#external_value:rare}} || {{#switch:{{#external_value:rare}}|1=5z|2=10z|3=20z|4=50z|5=100z|6=500z}}
|-
|-
| colspan=3 | {{#external_value:descEn}}<noinclude><hr><span style="font-size:small">{{#external_value:descJp}}</span></noinclude>
| colspan=3 | {{#external_value:descEn}}<noinclude><hr><span style="font-size:small">{{#external_value:descJp}}</span></noinclude>

Revision as of 01:05, 3 June 2024

Error while fetching data from URL https://mhwiki.xyz/wiki/JSONData:MHNow-ItemData?action=raw: $2.
There was a problem during the HTTP request: 404 Not Found
Could not get URL https://mhwiki.xyz/wiki/JSONData:MHNow-ItemData?action=raw after 3 tries.
|- | [[File:MHNow-Error: no local variable "icon" has been set. Icon Error: no local variable "color" has been set..png|24x24px|link=Error: no local variable "nameEn" has been set.#MHNow]] [[Error: no local variable "nameEn" has been set.#MHNow|Error: no local variable "nameEn" has been set.]]
Error: no local variable "nameJp" has been set.
|| Rare Error: no local variable "rare" has been set. || |-

| colspan=3 | Error: no local variable "descEn" has been set.


Error: no local variable "descJp" has been set.