Шаблон:Image/storeinfo: различия между версиями

Материал из Terraria Wiki
Перейти к: навигация, поиск
Строка 5: Строка 5:
 
so when we get false result from #ifexist, we don't know if it really doesn't exist. Therefore, we can't cache its result into cargo table.
 
so when we get false result from #ifexist, we don't know if it really doesn't exist. Therefore, we can't cache its result into cargo table.
   
-->{{#ifexist:Media:{{pn2en|{{{1|}}}}}|<!--
+
-->{{#ifexist:Media:{{{1|}}}|<!--
 
-->{{#dplvar:set<!--
 
-->{{#dplvar:set<!--
-->|_image_name|{{pn2en|{{{1|}}}}}<!--
+
-->|_image_name|{{{1|}}}<!--
 
-->|_image_exist|1<!--
 
-->|_image_exist|1<!--
-->|_image_width|{{#imgw:{{pn2en|{{{1|}}}}}}}<!--
+
-->|_image_width|{{#imgw:{{{1|}}}}}<!--
-->|_image_height|{{#imgh:{{pn2en|{{{1|}}}}}}}<!--
+
-->|_image_height|{{#imgh:{{{1|}}}}}<!--
 
-->|_image_cached|{{#time:U}}<!--
 
-->|_image_cached|{{#time:U}}<!--
 
-->}}<!--
 
-->}}<!--
Строка 23: Строка 23:
 
-->|<!-- not exist or over limit
 
-->|<!-- not exist or over limit
 
-->{{#dplvar:set<!--
 
-->{{#dplvar:set<!--
-->|_image_name|{{pn2en|{{{1|}}}}}<!--
+
-->|_image_name|{{{1|}}}<!--
 
-->|_image_exist|<!--
 
-->|_image_exist|<!--
 
-->|_image_width|0<!--
 
-->|_image_width|0<!--

Версия 07:18, 27 апреля 2020

Internal sub-template. See {{image}} for documentation.