Vorlage:ShopData: Unterschied zwischen den Versionen

Aus MGM Münzlexikon
 
(23 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
{{#get_web_data:
 
{{#get_web_data:
  url=https://shop.muenzgalerie.de/api/products/wikisearch/peso
+
  url=https://shop.muenzgalerie.de/api/products/wikisearch_nominal/{{{1}}}
 
  |format=JSON
 
  |format=JSON
 
  |use jsonpath
 
  |use jsonpath
  |data=serverCoinID=$.._id,imageVS=$..image[0],imageRS=$..image[1],brand=$..brand
+
  |data=serverCoinID=$.._id,imageVS=$..image[0],imageRS=$..image[1],brand=$..brand,name=$..name
 
  |suppress error
 
  |suppress error
 
}}   
 
}}   
  
<html>
+
{{#if:{{#external_value:serverCoinID}}|{{GetShopData|{{{1}}}}}|}}
<div class="shopBannerHack">
 
</html>
 
{| class="wikitable"
 
{{#for_external_table:<nowiki/>
 
{{!}}<html>
 
<a target="_blank" href="https://shop.muenzgalerie.de/product/</html>{{{serverCoinID}}}<html>">
 
<div class="mgmShopOuter">
 
    <div class="mgmShopMiddle">
 
        <div class="mgmShopImageWrapper">
 
          <img class="mgmShopImage" src="https://shop.muenzgalerie.de</html>{{{imageRS}}}<html>"/>
 
        </div>
 
        <div>
 
<div>
 
<div class="mgmShop-font"></html>{{{brand}}}<html></div>
 
<div></html>{{{brand}}}<html></div>
 
            </div>
 
      </div>
 
    </div>
 
</div>
 
</a>
 
</html>
 
 
 
 
 
}}
 
|}
 
 
 
<html>
 
</div>
 
</html>
 

Aktuelle Version vom 23. Juni 2021, 12:26 Uhr